Forum Discussion

Juan M Baena's avatar
Juan M Baena
Iron Contributor
Dec 26, 2018

Document Library in Modern UI

Good Day

 

We have a requirement of adding to site pages (modern pages) the documents web part.  The purpose is for users to consume the documentation not to make changes or upload files.  As such we were looking for a way in which we could hide the Tool Bar so that the options to upload, sync, export to Excel, etc do not show up.  When looking at the Document Library web part in the modern UI there does not seem to have an option to do so.  We did have such option when working in classic pages where the tool bar could be hidden, minimized, etc.  Any insight is appreciated.

 

Thanks

2 Replies

  • Not possible currently. The best you can do is trim permissions on the files (read only), and turn off settings such as Library Settings > Advanced > offline client to remove the sync button etc. until they add more customization to it.

    You can always looks around for custom or create custom spfx web part to render the files listing as you want as well.