Forum Discussion
SharePoint Document Library Properties not Loading
Hi Eva,
Yes, I have gone into the actual library.
I am attempting to edit the properties of individual documents. In there, when I click "details" on the document it opens the properties panel and shows the brown box instead of the properties (image 2).
I just tested and this only happens in modern view. Switching back to classic view allows me to change the properties using the old experience.
Hi bhopkinsfl ,
OK. User defined scripts, migrated from classic sites, are allways an issue in modern Sites /Lists/Libraries.
I think, the author of that site / library experimented with the classic "script editor webpart" and the result is that blocking square brown thing on your docs property pane.
Microsoft has not yet provided - so far -for a "modern script editor webpart". some companies are doing those individual scriptings with SPFx (the SharePoint Framework/x UI, that is available for developpers mostly with the right developper permission level in a tenant.
The UI SPFx (GitHub.com Portal) can be used to eliminate that brown block, because i guess it is a css object, coded for restricting viewing documents?
So there will be some errors while migrating classic Sites and I strongly recommend deactivating all of the user defined scripts (XML, CSS, HTML, whatever). They don´t fit into the new javascript coding structure seemlessly... They error out every time someone uses a scripted library like yours. Mostly the script developers don´t have no clue what permissions level exist in a site and therefore they work with conditional forms like that brown block object which are visible when a person has got no permisson to view certain informations about the doc, roughly speaking.
Hope that helps, see screenshots attached and deactivate that modern script features in your Site. User Defined Scripts can only be deactivated if you are a SP Admin!
MS 365 Admin Center ==>SharePoint Admin Center ==> Settings ==> Hyperlink "Classic Options" (settings? dont know..) In this very old page you have to search on the topic "User defined Scripts", like I did in my screenshot. So I think your doc library will show the properties then and the scripts won´t be active furthermore. BUT! This concerns THE WHOLE SharePoint Environment, be carefull. All old scripts will be disfunctional then. No guarantee on my behalf! Please ask your SP Admin what to do with the classic scriptings.
If you succeeded, pls. give a thumbs up.
- bhopkinsflSep 03, 2020Copper Contributor