Did yous intend nosotros were beingness lazy over at Puzzlepart? Think again. This fourth dimension nosotros laissez passer on yous a condition bar move past times extensions.
Get the code at https://github.com/Puzzlepart/spfx-solutions/tree/master/Pzl.Ext.StatusBar
The higher upward picture shows 2 notifications, ane which checks if the Office 365 Group back upward external fellow member or if the site allows sharing amongst external users. The other highlights a classification setting if it’s a specific value, inwards this illustration sites amongst classification Confidential or higher upward volition present a condition message.
Technically it consists of 3 extensions, ane base of operations extension doing the rendering, together with and thence yous tin add together whatever compass out of other extensions which homecoming a message based on the logic yous decide. If at that spot are null to render, together with thence the condition bar volition non render.
I’m non maxim the communication betwixt the parts is the well-nigh graceful one, only it’s a blueprint nosotros are trying out – together with it works, together with yous tin role the base of operations renderer amongst your ain logic. Take a expect at the 2 samples provided together with yous should figure out how to practise your own. The clue is the messageId parameter which has to live on the same for all extensions, to brand them aware of each other.
Get the code at https://github.com/Puzzlepart/spfx-solutions/tree/master/Pzl.Ext.StatusBar
Thanks for reading : Free Condition Bar Extensions For Modern Sharepoint Sites