{"id":22616,"date":"2024-08-20T06:05:36","date_gmt":"2024-08-20T13:05:36","guid":{"rendered":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/?p=22616"},"modified":"2024-08-20T06:05:36","modified_gmt":"2024-08-20T13:05:36","slug":"public-preview-of-sharepoint-framework-1-20-first-release-of-upcoming-features","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/public-preview-of-sharepoint-framework-1-20-first-release-of-upcoming-features\/","title":{"rendered":"Public preview of SharePoint Framework 1.20 \u2013 First release of upcoming features"},"content":{"rendered":"<p>We are excited to announce the availability of the first <strong>public preview of the SharePoint Framework (SPFx) 1.20 \u2013 with primarily updates for Microsoft Viva, Microsoft Teams and SharePoint Online<\/strong> experiences. This is the baseline release for the upcoming 1.20 release focused primarily on the new features within the Microsoft Viva side.<\/p>\n<p>We are looking into providing the general availability (GA) version in autumn 2024 (September). As with previous preview releases, our objective is to provide more insights into the upcoming features and to provide our worldwide ecosystem an option to directly influence on the released capabilities. Your feedback is welcome. \ud83d\udc4b<\/p>\n<p>You can find the full list of release details from the following documentation:<\/p>\n<ul>\n<li class=\"\"><a href=\"https:\/\/docs.microsoft.com\/en-us\/sharepoint\/dev\/spfx\/release-1.20\" target=\"_blank\" rel=\"noopener\">SharePoint Framework 1.20 preview release notes<\/a><\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<h2 id=\"whats-updated-on-this-latest-beta-version\">Key features in the 1.20 preview release \ud83d\udcdd<i class=\"fabric-icon fabric-icon--Link\" aria-hidden=\"true\"><\/i><\/h2>\n<p>Key changes and updates in this preview release are as follows:<\/p>\n<ul>\n<li>Introduction of new data visualization layout options for Viva Connections card view &#8211; bar, pie and donut chart types are now available on top of the previously released chart style\n<ul>\n<li>See below video and sample code for more details on the option<\/li>\n<\/ul>\n<\/li>\n<li>Support for the HTML powered Quick Views for the Viva Connections cards &#8211; enabling more complex layout options for desktop, table and mobile devices\n<ul>\n<li>Previously Viva Connections Card View has only support adaptive card option &#8211; with this new feature, you can use html with combination of any JavaScript frameworks for your quick view experience<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p style=\"padding-left: 40px;\"><a href=\"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-content\/uploads\/sites\/73\/2024\/08\/chart-cards-options.png\"><img decoding=\"async\" class=\"alignnone size-full wp-image-22617\" src=\"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-content\/uploads\/sites\/73\/2024\/08\/chart-cards-options.png\" alt=\"Image chart cards options\" width=\"998\" height=\"296\" srcset=\"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-content\/uploads\/sites\/73\/2024\/08\/chart-cards-options.png 998w, https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-content\/uploads\/sites\/73\/2024\/08\/chart-cards-options-300x89.png 300w, https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-content\/uploads\/sites\/73\/2024\/08\/chart-cards-options-768x228.png 768w\" sizes=\"(max-width: 998px) 100vw, 998px\" \/><\/a><\/p>\n<p style=\"padding-left: 40px;\"><a href=\"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-content\/uploads\/sites\/73\/2024\/08\/html-quick-views.png\"><img decoding=\"async\" class=\"alignnone size-full wp-image-22618\" src=\"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-content\/uploads\/sites\/73\/2024\/08\/html-quick-views.png\" alt=\"Image html quick views\" width=\"1000\" height=\"710\" srcset=\"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-content\/uploads\/sites\/73\/2024\/08\/html-quick-views.png 1000w, https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-content\/uploads\/sites\/73\/2024\/08\/html-quick-views-300x213.png 300w, https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-content\/uploads\/sites\/73\/2024\/08\/html-quick-views-768x545.png 768w\" sizes=\"(max-width: 1000px) 100vw, 1000px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>and more \ud83d\ude80<\/p>\n<p>As part of the preview release, we also provide the following new code samples showcasing the new card experiences:<\/p>\n<ul>\n<li><a href=\"https:\/\/github.com\/pnp\/sp-dev-fx-aces\/tree\/main\/samples\/ChartCard-DataVisualizationOptions\">Data visualization card layout options for the Viva Connections<\/a><\/li>\n<li><a href=\"https:\/\/github.com\/pnp\/sp-dev-fx-aces\/tree\/main\/samples\/BasicCard-HTML-QuickView\">Using HTML powered quick views in Viva Connections cards<\/a><\/li>\n<\/ul>\n<p>Usage and creation of card layout options and the HTML powered quick views are demonstrated in the below videos.<\/p>\n<p><iframe title=\"Introduction to new data visualization components for Viva Connections\" width=\"500\" height=\"281\" src=\"https:\/\/www.youtube.com\/embed\/zBLEEF6cC7I?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe><\/p>\n<p><iframe title=\"Introduction to HTML Quick Views with SPFx in Viva Connections cards\" width=\"500\" height=\"281\" src=\"https:\/\/www.youtube.com\/embed\/kL6Nsx-K8Oo?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe><\/p>\n<h2 id=\"installing-sharepoint-framework-1-13-preview\">Installing SharePoint Framework 1.20 preview \ud83d\udc69\u200d\ud83d\udcbb<i class=\"fabric-icon fabric-icon--Link\" aria-hidden=\"true\"><\/i><\/h2>\n<p>You can install\u00a0<strong>preview of the SharePoint Framework 1.20 <\/strong>by using the following command which will install the specific new preview version.<\/p>\n<pre tabindex=\"0\"><span class=\"pl-c1\">npm install @microsoft\/generator-sharepoint@1.20.0-beta.0 --global\r\n\r\n<\/span><\/pre>\n<h2 id=\"whats-sharepoint-framework\">What\u2019s SharePoint Framework? \ud83d\ude80<i class=\"fabric-icon fabric-icon--Link\" aria-hidden=\"true\"><\/i><\/h2>\n<p>SharePoint Framework is the most widely used extensibility option in <span class=\"brand\">Microsoft 365<\/span>\u00a0with\u00a0<strong>tens of millions of end users each month for the custom components built by developers for Microsoft Teams, Microsoft Viva and SharePoint<\/strong>. It\u2019s the easiest way to build developer extensibility for <span class=\"brand\">Microsoft 365<\/span>\u00a0and it\u2019s taken advantage by thousands of partners and customers on building custom experiences for end users.<\/p>\n<p>You can build SharePoint Framework powered solutions by using\u00a0<a href=\"https:\/\/learn.microsoft.com\/en-us\/sharepoint\/dev\/spfx\/set-up-your-development-environment\">SharePoint Framework Yeoman Generator<\/a>, <a href=\"https:\/\/learn.microsoft.com\/en-us\/microsoftteams\/platform\/toolkit\/teams-toolkit-fundamentals?pivots=visual-studio-code\">Microsoft Teams Toolkit<\/a>,\u00a0or with the <a href=\"https:\/\/github.com\/pnp\/vscode-viva\">SharePoint Framework Toolkit<\/a>. Key advantage is the flexibility of automatic hosting with the option to use the exact same component across the different hosts without any code level changes. This is designed to maximize the value of your development investments regardless of which primary host you are targeting.<\/p>\n<p class=\"\">Key capabilities of the SharePoint Framework for\u00a0<span class=\"brand\">Microsoft 365<\/span> are the following:<\/p>\n<ul>\n<li><b>Content Driven Applications <\/b>\u2013 SharePoint Framework can be used to build content driven applications on surfacing information easily from Microsoft 365 with Microsoft Graph or to integrate with externally hosted content.<\/li>\n<li><strong>Automatic Single Sign On<\/strong>\u00a0\u2013 SharePoint Framework components have automatic and seamless SSO included for all platforms they are hosted. No specific consents needed from Microsoft 365 end users.<\/li>\n<li><strong>Automatic hosting<\/strong>\u00a0\u2013 SharePoint Framework components are automatically hosted in SharePoint without additional maintenance or operational costs.<\/li>\n<li><strong>Industry standard tooling<\/strong> \u2013 SharePoint Framework is using standard web stack tooling with node, npm, TypeScript and any JavaScript framework of your preference. Just standard web skill to succeed without any proprietary tooling.<\/li>\n<\/ul>\n<p>SharePoint Framework has also made the permission and token management for accessing the data in\u00a0<span class=\"brand\">Microsoft 365<\/span>\u00a0easy. You will be using the awesome\u00a0<strong>Microsoft Graph APIs<\/strong>\u00a0for accessing business data and you can further simplify the development of SharePoint Framework components by taking advantage of the\u00a0<strong>Microsoft Graph Toolkit<\/strong>, which provides reusable controls with data connectivity to Microsoft Graph.<\/p>\n<pre tabindex=\"0\"><span class=\"pl-c1\"><a href=\"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-content\/uploads\/sites\/73\/2023\/02\/spfx-across-m365-hosts-features-spfx.png\"><img decoding=\"async\" class=\"aligncenter wp-image-12835 size-full\" src=\"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-content\/uploads\/sites\/73\/2023\/02\/spfx-across-m365-hosts-features-spfx.png\" alt=\"Image showing SharePoint Framework across Microsoft 365 host features\" width=\"1199\" height=\"675\" srcset=\"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-content\/uploads\/sites\/73\/2023\/02\/spfx-across-m365-hosts-features-spfx.png 1199w, https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-content\/uploads\/sites\/73\/2023\/02\/spfx-across-m365-hosts-features-spfx-300x169.png 300w, https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-content\/uploads\/sites\/73\/2023\/02\/spfx-across-m365-hosts-features-spfx-1024x576.png 1024w, https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-content\/uploads\/sites\/73\/2023\/02\/spfx-across-m365-hosts-features-spfx-768x432.png 768w\" sizes=\"(max-width: 1199px) 100vw, 1199px\" \/><\/a>\r\n\r\n<\/span><\/pre>\n<h2 id=\"additional-resources-and-support\">Additional resources and support \ud83e\udd1d<i class=\"fabric-icon fabric-icon--Link\" aria-hidden=\"true\"><\/i><\/h2>\n<ul>\n<li style=\"list-style-type: none;\">\n<ul>\n<li>Please report any issues or feedback using following issue list \u2013 <a href=\"https:\/\/aka.ms\/spfx-issues\">https:\/\/aka.ms\/spfx\/issues<\/a>\n<ul>\n<li>We have engineering people monitoring any incoming issues and helping you to get unblocked or getting your questions answered<\/li>\n<\/ul>\n<\/li>\n<li><a href=\"https:\/\/docs.microsoft.com\/en-us\/sharepoint\/dev\/spfx\/sharepoint-framework-overview?WT.mc_id=m365-47395-cxa\">Overview documentation<\/a><\/li>\n<li><a href=\"https:\/\/docs.microsoft.com\/en-us\/sharepoint\/dev\/spfx\/web-parts\/get-started\/build-a-hello-world-web-part?WT.mc_id=m365-47395-cxa\">Getting started documentation<\/a><\/li>\n<li><a href=\"https:\/\/docs.microsoft.com\/en-us\/sharepoint\/dev\/spfx\/build-for-teams-overview?WT.mc_id=m365-47395-cxa\">Build for Microsoft Teams using SharePoint Framework<\/a><\/li>\n<li><a href=\"https:\/\/learn.microsoft.com\/en-us\/sharepoint\/dev\/spfx\/office\/overview\">Extend Outlook and Office with the SharePoint Framework<\/a><\/li>\n<li><a href=\"https:\/\/docs.microsoft.com\/en-us\/sharepoint\/dev\/spfx\/viva\/overview-viva-connections?WT.mc_id=m365-47395-cxa\">Overview of Viva Connections Extensibility<\/a><\/li>\n<li><a href=\"https:\/\/aka.ms\/m365\/dev\/learn\/connections\">Microsoft Learn &#8211; Extend Microsoft Viva Connections<\/a><\/li>\n<li><a href=\"https:\/\/docs.microsoft.com\/en-us\/learn\/paths\/m365-sharepoint-associate\/?WT.mc_id=m365-47395-cxa\">Microsoft Learn &#8211; Extend Microsoft SharePoint &#8211; Associate<\/a><\/li>\n<li><a href=\"https:\/\/marketplace.visualstudio.com\/items?itemName=m365pnp.viva-connections-toolkit\">Microsoft Viva Connections Toolkit &#8211; Simplify your development experience for Viva Connections<\/a><\/li>\n<li><a href=\"https:\/\/pnp.github.io\/cli-microsoft365\/cmd\/spfx\/project\/project-upgrade\/\" target=\"_blank\" rel=\"noopener\">CLI for Microsoft 365<\/a>\u00a0\u2013 SharePoint Framework Upgrade tooling from previous versions to latest<\/li>\n<li><a href=\"https:\/\/aka.ms\/spfx-webparts\" target=\"_blank\" rel=\"noopener\">SharePoint Framework web part samples<\/a><\/li>\n<li><a href=\"https:\/\/aka.ms\/viva\/samples\">Viva Connections samples<\/a><\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p>If you are looking to build experiences for <span class=\"brand\">Microsoft 365<\/span>, we strongly recommend joining our community calls and other <a href=\"https:\/\/aka.ms\/community\/home\"><span class=\"brand\">Microsoft 365<\/span> &amp; Power Platform Community<\/a> activities covering Microsoft Graph, Microsoft Teams, Power Platform, Microsoft Viva, OneDrive, SharePoint and more&#8230; More details here <a href=\"https:\/\/aka.ms\/community\/home\">https:\/\/aka.ms\/community\/home<\/a> \ud83d\ude80<\/p>\n<p>And, follow us on <a href=\"https:\/\/twitter.com\/Microsoft365Dev\">Twitter<\/a> or in LinkedIn to stay up to date on Microsoft 365 Platform announcements.<\/p>\n<p class=\"\">Happy coding! Sharing is caring!\u00a0<a class=\"lightbox-link\" href=\"https:\/\/s.w.org\/images\/core\/emoji\/13.1.0\/svg\/1f9e1.svg\" target=\"_blank\" rel=\"noopener\" aria-label=\"Lightbox image, click or press enter to enlarge\" data-featherlight=\"image\"><img decoding=\"async\" class=\"emoji\" role=\"img\" draggable=\"false\" src=\"https:\/\/s.w.org\/images\/core\/emoji\/13.1.0\/svg\/1f9e1.svg\" alt=\"\ud83e\udde1\" \/><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>We are excited to announce the first preview of the upcoming SharePoint Framework 1.20. This time focus is primarily on the Microsoft Viva platform capabilities.<\/p>\n","protected":false},"author":69217,"featured_media":22623,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[1,128,142,166,9],"tags":[307,306,225,223,116,162,19,221,123],"class_list":["post-22616","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-microsoft-365-developer","category-microsoft-teams","category-microsoft-viva","category-sharepoint","category-sharepoint-framework","tag-corporate-communications","tag-employee-experiences","tag-microsoft-365","tag-microsoft-teams","tag-microsoft-viva","tag-sharepoint","tag-sharepoint-framework","tag-spfx","tag-viva-connections"],"acf":[],"blog_post_summary":"<p>We are excited to announce the first preview of the upcoming SharePoint Framework 1.20. This time focus is primarily on the Microsoft Viva platform capabilities.<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/posts\/22616","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/users\/69217"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/comments?post=22616"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/posts\/22616\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/media\/22623"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/media?parent=22616"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/categories?post=22616"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/tags?post=22616"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}