Forum Discussion
Modern Team Site - Record Declaration Settings
I'm guessing it is not visible for a reason. Considering that in a modern library there is no declare as record button, and even if you do manage to declare an item as a record it has no padlock icon, in my mind Microsoft are giving us a steer to use labels for the classification of records.
We still should be able to update the site collection record declaration settings since modern sites support classic lists and libraries where record declaration is working as expected. I think it is a bug
- Donia StrandApr 13, 2018Iron Contributor
We also would like to be able to use our existing records centers with the modern UI.
- Hunter WillisMay 09, 2018Iron Contributor
There is a support article that says that you can do this, this absolutely is a bug and definitely needs to be addressed.http://[5/9/2018 11:37 AM] https://support.office.com/en-us/article/configuring-in-place-records-management-7707a878-780c-4be6-9cb0-9718ecde050a LOL Support article is like "Yeah its fine" . This has been causing my team a great deal of work over the past week- so the typical default is that the "Block Edit and Delete" is ON, but in some cases this is not true but you cannot change it.
- Hunter WillisMay 11, 2018Iron ContributorOur team has solved the issue:Turns out, the custom script is disabled in Office 365 Group Team Sites and OD4B by default for security reasons.There are some methods to enable the custom script to allow you change the record settings:
- Use the CSOM API (require code to do this)
- Use the https://go.microsoft.com/fwlink/?linkid=869066 to change it: Set-SPOSite <SiteURL> - DenyAddAndCustomizePages 1
- Use the https://docs.microsoft.com/en-us/powershell/module/sharepoint-pnp/set-pnptenantsite?view=sharepoint-ps to change it: Set-PnpTenantSite -Url <SiteUrl> -NoScriptSite $false
For more information about the custom script please refer to https://support.office.com/en-us/article/allow-or-prevent-custom-script-1f2c515f-5d7e-448a-9fd7-835da935584f?ui=en-US&rs=en-US&ad=US