Quantcast
Channel: SharePoint 2013 - Development and Programming forum
Viewing all articles
Browse latest Browse all 7589

Create and apply site retention policy on site collection using sharepoint object model

$
0
0

Hi

I want to create and apply site retention policy on site collection using code (server side or client side). I am able to create new policy and it is appearing in site policies link. but i am unable to set closure date and deletion date on it. Which attribute or method i need to set.

I didnt find ant method in SPContentType, Policy, Project Policy or PolicyItem classes.

If anybody has implemented the same, please help.

Regards

Manish Dhingra



Viewing all articles
Browse latest Browse all 7589

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>