Les slides de ma session « Power Pages : no/low code .. really ? »

J’ai eu l’occasion de présenter la session « Power Pages : low code .. really ? » le 21 Juin 2022 à Aix En Provence lors de l’aMS Aix / Marseille. Cet évènement, composé d’une bonne base de MVPs tous aussi sympa les uns que les autres (c’est aussi un critère de sélection non ? 🙄) était sous le signe de la convivialité et de partage. Alors dans cette tradition, voici mes slides (c’est une première version … tout comme Power Pages …) :

https://1drv.ms/p/s!ApqY-zke0ZFbgo9luwgiOxAwBSZYOQ?e=JBaweV

PnPJS 3.2.0 est sortie et liste des projets PnP recommandés

Ce n’est pas tout frais, mais ça valait le coup de s’arrêter quelques minutes dessus. Comme tout développeur SharePoint, la librairie PnPJS est l’une des pierres angiulaires de nos projets => pnp/pnpjs: Fluent JavaScript API for SharePoint and Microsoft Graph REST APIs (github.com)

C’est avec plaisir que la version 3.2.0 est sortie corrigeant quelques petites coquilles que j’avais pu voir lors de mes derniers projets, et apporte aussi quelques nouveautés qui nous faciliteront la vie pour la suite, je vous laisse consulter le CHANGELOG pour voir de quoi il en retourne spécifiquement.

Je vous partage aussi quelques uns des projets de PnP que je suis activement :

SharePoint maintenance mode to track webpart issue

As a SharePoint consultant, I often bump into issues with pages in SharePoint OnPrems and Online. To resolve these cases, we – SP consultants – need to deploy our super magic powers (what our clients think we have) 🙂

Most of the page, an error in a page is due to a bug in a webpart raising an exception, sometimes it’s a delegate control but this is another story for another blog post. Here is one magic trick to debug the pages and identify which webpart is running wrong.

SharePoint OnPrems / Classic

Starting from SP 2010, and for next version of OnPrems installation, just add ?contents=1 at the end of the page URL. This will open the page in maintenance mode and display all webparts in this page.

Modern SharePoint

Like a lots of developers I tried the old way and failed … thanks to this Microsoft support article, it gives you the right URL suffix to add to your URLs to enter the web part maintenance mode

In the address line of your browser, append ?maintenancemode=true to the end of the URL for the page. Checkout the Environment property in the mainten

You can find more documentation on these links ➡️ Maintenance mode for client-side web parts | Microsoft Docs and ➡️ Open and use the web part maintenance page (microsoft.com)

Bonus : how to disable SPFx web parts ans extensions

Ayt the end of this nice Microsoft article there is a golden tips ➡️ « If you need to troubleshoot a SharePoint page to see if there is a SharePoint Framework extension or web part causing issues you can append ?disable3PCode=1 to the URL to disable loading of SPFx components » that helped me a lot recently, so I share it to you.

Master piece : all useful SharePoint URLs

You can find every useful SharePoint URLs to save your life every day with SharePoint developement :Useful SharePoint URLs – SharePoint Stuff