Popups on loading a page in modern experience

Copper Contributor

Hi, 

 

Is it possible to do a pop up page after a page is loaded on SharePoint modern experience.

 

Thank you.

9 Replies
Can you elaborate more your user case?
If you are talking about alerts etc. You can look into SPFX Application customizers which are pretty easy to deploy.

One I use most is toastr: https://github.com/SharePoint/sp-dev-fx-extensions/tree/master/samples/jquery-application-toastr

Also can do a banner across the top like this: https://github.com/SharePoint/sp-starter-kit/blob/master/documentation/components/ext-alert.md

I'm sure there are other methods to bringing pop ups to the screen as well via SPFX, but there is no OOTB method for doing so.

Hi @ChrisWebbTech 

 

They might actually do the job but how do I implement them. Is there a newbie tutorial how to deploy them also do I need to use PowerShell. Also any use PowerShell will impact on other site collections on SharePoint or it will only affects a single site collection. I'm on SharePoint Online if it matters. Please advise me. 

 

Thank you

@MTG2030 You will need to talk to your SharePoint Online administrator to deploy this.  They will have an idea on how to deploy the package to your tenant. 

 

Hi @Maruthi Gadde 

 

I'm actually a SharePoint online administrator and there isn't unfortunately a person that I could talk to to help me out. Which if this was the case I've wouldn't come here in to ask for help. Page Popup is possible on Classic SharePoint pages due to the availability of Script editor and Content editor web parts and a bit of help from JavaScript I could get a display popup but then its not possible on modern page. I'm tho a new to the SharePoint.

Those links include install instructions on the pages. At least I know the toastr one does. YouTube playlist here the first one setting up is what I used to get all the tools required https://www.youtube.com/playlist?list=PLR9nK3mnD-OXvSWvS2zglCzz4iplhVrKq

It will take some research but it’s not bad. Once you have your environment setup you can take the GitHub solution. Change the few parameters in the files per instructions then deploy it.
Also, new video was posted showing that the out of box application customizer that has a pop up dialog you could look into messing with too. https://www.youtube.com/watch?v=gp056PEZoRQ

Hi @ChrisWebbTech 

 

Thank you so much for all the help. I have already started installing some dependencies that it is needed to get me going. 

 

Cheers

@MTG2030 We have now released Power Popups for SharePoint. https://sharepointpowerpopups.com

 

Power Popups for SharePoint is the most effective way to communicate your message and ensure it gets the required attention from your users. With Power Popups you can create Popups that display any content. Choose to add the Popup Content from a Page URL, HTML or Rich Text.

 

Use Power Popups for alerts, banners, forms, news items, documents, galleries, redirects on close and any element. Display your Popup content more effectively and with style.

Power Popups is the SPFx Webpart that comes with a wide range of available options, that let’s you create combinations of Popups and achieve eye catching effects for your messages easily and without any special coding knowledge.