Forum Discussion
Configure default Office 365 Label for library
- Mar 19, 2018
I added a user voice for this: https://sharepoint.uservoice.com/forums/329220-sharepoint-dev-platform/suggestions/33679303-support-compliancetag-on-the-csom-list-object
Paul Hunt - Cimares feel free to upvote :)
We're currently implementing a DMS too and this was also a requirement for us. I've checked the possibilities last week. Unfortonately, CSOM currently doesn't provide a way to set this property at the library-level (only at Item-level like you said). I've noticed (after configuring though the browser) the property is ultimately stored in the List's Schema XML but CSOM doesn't provide a way to modify this Schema directly.
I bet for now your only option to modify this setting in an automated way, would be through the HTTP Remote Operation pattern described in VesaJuvonen's blog below:
https://blogs.msdn.microsoft.com/vesku/2013/11/04/ftc-to-cam-advance-http-remote-operations-for-sp2013/
And also:
https://www.youtube.com/watch?v=eoLIDCZgMH4
Hopefully a fully supported option will be added to csom and other methods soon.
Paul.