سؤال

أريد إضافة احتفاظ بيانات مخصص إلى مجموعة مواقعي بهذه الطريقة:

    يجب حذف المستندات
  • بعد 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 مع الإسناد
لا تنتمي إلى sharepoint.stackexchange
scroll top