Forum Discussion
Juan M Baena
Jan 15, 2019Iron Contributor
Hide Web Parts
Good Day:
Last year we noticed in our admin center site, a message posted in the message center about a new capability that will allow in using PowerShell for hiding web parts that do not consume Microsoft services, for example the Twitter web part of the Kindle web part or the YouTube web part. As anyone been able to test this out successfully and or been able to determine the full list of web parts that may be eligible for being hidden via PowerShell? Thank you!
- Yes...a quick search on the Internet will lead yo to this page about Set-SPOSite: https://docs.microsoft.com/en-us/powershell/module/sharepoint-online/set-sposite?view=sharepoint-ps
You will find there the following:
-DisabledWebpartIds
This parameter is used for enabling disabled web parts that use third-party service (Amazon Kindle, YouTube, Twitter). The GUIDs that can be used are 46698648-fcd5-41fc-9526-c7f7b2ace919 (Amazon Kindle), 544dd15b-cf3c-441b-96da-004d5a8cea1d (YouTube), f6fdf4f8-4a24-437b-a127-32e66a5dd9b4 (Twitter).
The Set-SPOTenant cmdlet is used for disabling these web parts with third-party services.
4 Replies
- Yes...a quick search on the Internet will lead yo to this page about Set-SPOSite: https://docs.microsoft.com/en-us/powershell/module/sharepoint-online/set-sposite?view=sharepoint-ps
You will find there the following:
-DisabledWebpartIds
This parameter is used for enabling disabled web parts that use third-party service (Amazon Kindle, YouTube, Twitter). The GUIDs that can be used are 46698648-fcd5-41fc-9526-c7f7b2ace919 (Amazon Kindle), 544dd15b-cf3c-441b-96da-004d5a8cea1d (YouTube), f6fdf4f8-4a24-437b-a127-32e66a5dd9b4 (Twitter).
The Set-SPOTenant cmdlet is used for disabling these web parts with third-party services.- John_Sanders
Microsoft
- Juan M BaenaIron Contributor
Thank you!
- Rajiv Chokshi
Microsoft
This was on Set-SPOTenant - https://docs.microsoft.com/en-us/powershell/module/sharepoint-online/set-spotenant?view=sharepoint-ps