Can the SharePoint object model setup data retention on an item? -


OOTB settings allow notification policy on document library or content type, but for every term A form solution is required.

Any help is appreciated.

To further expand, requests data retention for items in a document library (1 month, 3 Month, 6 months) was to allow. Different document libraries could be used, but when it comes to reports, it would be more unnecessary coding to compensate for different libraries. If a document is set for 1 month, it should be moved to the recycle bin, but other items should be based on their retention. Therefore, at the library level, the same information policy will not work.

Rather than attempting to retain the data, the information policies were established on the content types, on the item itself, for a content type of 1 month, for a 3 months and 6 months. By using the object model, the item ContentTypeId can be assigned to the respected content type.


Comments

Popular posts from this blog

apache - 504 Gateway Time-out The server didn't respond in time. How to fix it? -

c# - .net WebSocket: CloseOutputAsync vs CloseAsync -

c++ - How to properly scale qgroupbox title with stylesheet for high resolution display? -