Pergunta

Eu quero adicionar retenção de dados personalizada ao meu coletor de site desta forma:

  • Os documentos devem ser excluídos após 3 anos (opção padrão)
  • Após 3 anos, exclua todas as versões, exceto as últimas e duas versões anteriores

    Eu estou supondo que esta política não está disponível por padrão e deve ser codificada em PowerShell (?).Alguém pode me guiar para a direção certa.Não estou familiarizado com o SharePoint ou PowerShell (tenho algum conhecimento básico de programação).

Foi útil?

Solução

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.

Outras dicas

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

Licenciado em: CC-BY-SA com atribuição
Não afiliado a sharepoint.stackexchange
scroll top