我想以这种方式向我的网站集中添加自定义数据保留:

    3岁后必须删除
  • 文档(默认选项) 3年后,删除除最新和两个以前版本之外的所有版本

    我猜测此策略默认情况下不可用,必须以PowerShell(?)编码。有人可以引导我到正确的方向。我不熟悉SharePoint或PowerShell(我确实有一些基本的编程知识)。

有帮助吗?

解决方案

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.

其他提示

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

许可以下: CC-BY-SA归因
scroll top