fr-FR

DisabledWebPartIds

Paramètre de SPOTenant

S’applique à : SharePoint Online

Description

La documentation Microsoft de ces stratégies n’existe qu’en anglais : les descriptions ci-dessous ne sont pas traduites.

Allows administrators to prevent certain web parts from being added to pages or rendering on pages on which they were previously added. Currently, only the following web parts can be disabled in such a manner:

  • Amazon Kindle: 46698648-fcd5-41fc-9526-c7f7b2ace919
  • YouTube: 544dd15b-cf3c-441b-96da-004d5a8cea1d
  • Twitter: f6fdf4f8-4a24-437b-a127-32e66a5dd9b4
  • Embed: 490d7c76-1824-45b2-9de3-676421c997fa
  • Microsoft Bookings: d24a7165-c455-4d43-8bc8-fedb04d6c1b5
  • Stream: 275c0095-a77e-4f6d-a2a0-6a7626911518

To disable a specific web part, you need to enter its GUID as the parameter. You can enter multiple GUIDs by using a comma to separate them, for example Set-SPOTenant -DisabledWebPartIds 46698648-fcd5-41fc-9526-c7f7b2ace919,544dd15b-cf3c-441b-96da-004d5a8cea1d. To view a list of disabled web parts, use Get-SPOTenant to get DisabledWebPartIds.

To re-enable some disabled web parts, use the Set-SPOTenant with the -DisabledWebPartIds parameter and corresponding GUIDs that you still want to keep disabling. To re-enable all disabled web parts, use Set-SPOTenant -DisabledWebPartIds @().

Documentation Microsoft Learn

Caractéristiques

Type
System.Guid[]
Jeux de paramètres
(All)

Appliquer

Ce type de valeur (System.Guid[]) se construit à la main : voir les exemples de la page du type et la documentation Microsoft.