SharePoint online add a notification message in top banner of the site

%3CLINGO-SUB%20id%3D%22lingo-sub-1570340%22%20slang%3D%22en-US%22%3ESharePoint%20online%20add%20a%20notification%20message%20in%20top%20banner%20of%20the%20site%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1570340%22%20slang%3D%22en-US%22%3E%3CP%3E%3CSPAN%3EI%20want%20to%20display%20a%20alert%20message%20to%20users%20at%20the%20top%20of%20the%20site%20before%20site%20migration%20in%20SP%20online.%20In%20SP%202016%20i%20have%20implemented%20using%20powershell%20usercustom%20actions%20that%20is%20working%20fine%20and%20i%20did%20the%20same%20in%20online%2C%20but%20here%20it%20is%20not%20working.%20Below%20attached%20the%20working%20version%20of%20SP%202016%20image.%20Please%20suggest%20any%20solutions%20or%20approach.%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22custom%20action%20to%20add%20top%20banner%20message%20in%20sharepoint%20using%20powershell.png%22%20style%3D%22width%3A%20986px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F210612i039EA2150D2D38B6%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%22custom%20action%20to%20add%20top%20banner%20message%20in%20sharepoint%20using%20powershell.png%22%20alt%3D%22custom%20action%20to%20add%20top%20banner%20message%20in%20sharepoint%20using%20powershell.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1570340%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EPnP%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ESharePoint%20Online%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1570353%22%20slang%3D%22en-US%22%3ERe%3A%20SharePoint%20online%20add%20a%20notification%20message%20in%20top%20banner%20of%20the%20site%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1570353%22%20slang%3D%22en-US%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F751274%22%20target%3D%22_blank%22%3E%40hemanthrhk%3C%2FA%3E%26nbsp%3B%2C%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThere%20are%20many%20community%20samples%20that%20do%20this%20%3A)%3C%2Fimg%3E%3CBR%20%2F%3E%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2Fpnp%2Fsp-dev-fx-extensions%2Ftree%2Fmaster%2Fsamples%2Freact-application-announcements%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fgithub.com%2Fpnp%2Fsp-dev-fx-extensions%2Ftree%2Fmaster%2Fsamples%2Freact-application-announcements%3C%2FA%3E%3C%2FP%3E%0A%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2Fpnp%2Fsp-dev-fx-extensions%2Ftree%2Fmaster%2Fsamples%2Freact-application-alerts%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fgithub.com%2Fpnp%2Fsp-dev-fx-extensions%2Ftree%2Fmaster%2Fsamples%2Freact-application-alerts%3C%2FA%3E%3C%2FP%3E%0A%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2Fpnp%2Fsp-dev-fx-extensions%2Ftree%2Fmaster%2Fsamples%2Freact-app-announcements%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fgithub.com%2Fpnp%2Fsp-dev-fx-extensions%2Ftree%2Fmaster%2Fsamples%2Freact-app-announcements%3C%2FA%3E%3C%2FP%3E%0A%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2Fpnp%2Fsp-dev-fx-extensions%2Ftree%2Fmaster%2Fsamples%2Fjs-application-alert-message%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fgithub.com%2Fpnp%2Fsp-dev-fx-extensions%2Ftree%2Fmaster%2Fsamples%2Fjs-application-alert-message%3C%2FA%3E%3C%2FP%3E%0A%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2Fpnp%2Fsp-dev-fx-extensions%2Ftree%2Fmaster%2Fsamples%2Fjquery-application-toastr%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fgithub.com%2Fpnp%2Fsp-dev-fx-extensions%2Ftree%2Fmaster%2Fsamples%2Fjquery-application-toastr%3C%2FA%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EAlso%2C%20if%20you%20have%20a%20question%20specific%20to%20one%20of%20the%20samples%20above%2C%20it's%20probably%20better%20to%20ask%20it%20within%20the%20GitHub%20repository%20Issues%20list.%20That%20way%20you%20may%20get%20a%20quicker%20and%20more%20relevant%20answer%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EHope%20this%20helps%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E
Highlighted
Occasional Visitor

I want to display a alert message to users at the top of the site before site migration in SP online. In SP 2016 i have implemented using powershell usercustom actions that is working fine and i did the same in online, but here it is not working. Below attached the working version of SP 2016 image. Please suggest any solutions or approach.

 

custom action to add top banner message in sharepoint using powershell.png

1 Reply