Question

Je veux ajouter de la rétention de données personnalisée à la collection de mon site de la manière suivante:

  • Les documents doivent être supprimés après 3 ans (option par défaut)
  • Après 3 ans, supprimez toutes les versions, à l'exception des deux dernières versions précédentes

    Je suppose que cette stratégie n'est pas disponible par défaut et doit être codée dans PowerShell (?).Quelqu'un peut-il me guider dans la bonne direction.Je ne connais pas SharePoint ou PowerShell (j'ai des connaissances de base de la programmation).

Était-ce utile?

La solution

You need to create and register custom expiration action, i.e. implement the IExpirationAction interface. You will also have to implement the version deletion yourself. See this or this tutorial on registering custom action. The action will become available in the expiration policy settings after you register it.

Autres conseils

Got to /_layouts/mngctype.aspx. Click on the Content Type you want to set the retention properties. Click on information management policy settings

Go to site content type information

You will see Retention option

enter image description here

Licencié sous: CC-BY-SA avec attribution
Non affilié à sharepoint.stackexchange
scroll top