احتباس مخصص في SharePoint 2013
-
10-12-2019 - |
سؤال
أريد إضافة احتفاظ بيانات مخصص إلى مجموعة مواقعي بهذه الطريقة:
-
يجب حذف المستندات
- بعد 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
You will see Retention option