Forum Discussion
Juan M Baena
Dec 26, 2018Iron Contributor
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.- Juan M BaenaIron Contributor
Thank you!