Forum Discussion
SharePoint Online hide "site contents" and "site usage" page (modern sites)
PaulMS Hello
Unfortunately if your speaking of SharePoint Designer I assume your trying this on classic pages? I used my code in conjunction with Spfx extensions in mind. These only work with modern pages.
The idea would be the same though. With js you check for permissions and then deal with the gear icon accordingly.
In my setup I left the gear visible to anyone with edit rights. Hope this helps.
phil333 Thanks, no I just assumed that's what you were using, we are using modern sites so this is perfect. We will try this.
Best,
Paul.
- PaulMSDec 02, 2020Copper Contributor
phil333 Hi again, your info helped a lot, we managed to develop the extension and deploy it on our site. We're wondering if you know how to remove the pesky extension pop-up window that always shows up now when you access certain pages on the site? Any info on this would be greatly appreciated!
Thanks again,
Paul.
- phil333Dec 02, 2020Brass ContributorHey thank you.
Could you show me what you mean? Like a screen shot maybe? Im sure something can be done.