Skip to content

Release Notes Extensions Dev Preview Drop 1

Pat Miller edited this page Jun 6, 2017 · 1 revision

SPFx Extensions Dev Preview!

Welcome to the latest developer preview of SPFx. This time round we are tackling extending the modern SharePoint applications like the modern list/libraries and the modern teamsite pages.

What are extensions?

If SPFx web parts could be thought of as a modern iteration of the Script Editor Web Part / Content Editor Web Part, then SPFx extensions are a modern iteration of jslink / scriptlink / custom actions. We're starting with three different extension types. One that allows for custom field rendering in a modern doclib / list, one that allows for new commands to show up in the command bar and context menu of modern doclib / lists, and one that allows you to extend modern doclibs and pages apps, including adding custom headers.

How do I get the new bits?

You can get the updated NPM packages now, but the solutions you build will only work on Developer Tenants - not site collections, but developer tenants. This is the same process as the original developer preview drop of SPFx web parts. We expect to make some breaking changes before we hit GA, and want to ensure that solutions aren't rolled out to production tenants just yet. Over the next while we will extend the preview to first release tenants (not users, but tenants) and then to all tenants. If you already have the yeoman generator installed, uninstall it (npm uninstall -g @microsoft/generator-sharepoint). Install the latest version (1.1.0) (npm install -g @microsoft/generator-sharepoint@latest)

What are the new packages in this release?

  • @microsoft/sp-dialog - An API to make it easy to create dialog boxes in your extensions (and web parts!).
  • @microsoft/sp-listview-extensibility - List specific extensions around fields and command sets.
  • @microsoft/sp-extension-base - The system base classes for all extensions.
  • @microsoft/sp-application-base - The base classes required for the application customizer extension type.

What's coming up?

  • Bug fixes and perf optimizations
  • Changes based on your feedback

Where can I find out more?

The official documentation and labs are located at https://dev.office.com/sharepoint/docs/spfx/extensions/overview-extensions

Clone this wiki locally