Archive for January 2018

 

This is a quick article to show you how you can open the edit page experience from your SharePoint Framework solution. Such a trigger could be useful so that you can trigger the page its edit mode from within your web part, footer, … Nothing more to say about it, so here is the code:

 

UPDATE: Beginning of April 2018, Microsoft announced a new feature which allows custom metadata integration with modern pages and news (Office 365 Roadmap ID: 27251). Custom metadata integration with modern SharePoint Online pages and news One of the key things in the content creation process is metadata.

 

I published another extension for your SharePoint Framework solution to check your scripts and correctly reference the external JavaScript libraries in your solutions. The extension is powered by the same APIs of the SharePoint Framework Script Check that was built by Waldek Mastykarz from Rencore. Check out the VSCode extension: SPFx Script Check

 

Depending on the solution you are creating, you might want to know on which type of site your SharePoint Framework solution is currently running. This could be useful to enable or disable certain functionalities the solution you are creating depending on the type of site. For example: enable some extra collaboration features in your solution when used on a team site, and disable the features when used on a communication site.

 

Today I published a new Visual Studio Code extension that gives you some handy SharePoint Framework code snippets. The first version of the extension only contains a handful snippets but will grow over time. VSCode extension: SPFx snippets SPFx snippets demo Try it out and let me know if you like it.