Sample SharePoint Framework application customizer showing how to create a tenant global NavBar and Footer NavBar for modern sites, reading menu items from the Term Store.
SPFx web parts deployed at tenant scope will appear everywhere in the picker, but for SPFx extensions there is still something you need to do locally, and thatâ€™s â€œassociateâ€ your extension with the site/web/list/field. For Application Customizers, itâ€™s this step which allows you to control exactly which sites use your extension.
To extend the functionality of my SharePoint-hosted add-in to modern pages using the SharePoint Framework, I created a new SharePoint client-side solution containing an application customizer extension to handle the rendering of the header and footer on all modern pages, reading the same configuration values from the site property bag that are set by the add-in part from my original SharePoint-hosted add-in.
Spfx Web Part properties can now have metadata, which can be indexed by search engines, and can auto-update if it is a URL and the refrecned asset is moved.
SharePoint Framework and the missing script and/or content editor web part. Here are three sources to learn about how you could roll your own:
Next to client-side web parts, extensions are new types of customizations, SharePoint developers can build to extend SharePoint. In the developer preview you can build
- field customizers, which control the rendering of fields in list view, similar to JSLink
- list view command sets, which you can use to add options to list menu, similar to Ribbon and ECB extensions using custom actions
- application customizers, with which you can embed custom scripts to run on all pages, similar to script injection using custom actions
Additionally, the preview includes placeholders which you could compare to server-side delegate controls and an API to build dialog windows.
The Visual Studio Extension for SharePoint Framework wraps the command-line UI of the Microsoft Yeoman Generator (yo @microsoft/sharepoint) into a familiar Windows Forms experience, executes the generator project scaffolding behind the scenes and creates a Visual Studio project that includes all the necessary files for a complete web part project
Recently Microsoft released the SharePoint Framework. Here is how you can try it without installing it, or any of its prerequisites, on your machine.