Forum Discussion
Popups on loading a page in modern experience
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.
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
- Maruthi GaddeJul 10, 2019Iron Contributor
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.
- MTG2030Jul 10, 2019Copper Contributor
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.
- Jul 10, 2019Those 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.