Sharepoint Site button to create new file in document library

Occasional Contributor

I have a document library with a custom word template for creating new documents.




I want to create a button in the sharepoint home page so that users don't have to go into the document library to create new documents using the template. The button webpart just takes the URL of the link so I'm wondering if there's a way for me to extract the URL link that generates the new document with the custom template.


Help is greatly appreciated!



2 Replies
@MorePowerBI I will be interested in hearing if a developer has a solution for this. I'm not aware of a way to add/remove options in the +New menu on the homepage. I would offer up an additional solution to you though that would not require your users to navigate to the document library to add this new document from your custom template. You could add a Document Library web part on your homepage. You can customize how much displays of what is in the library if you don't want a long list of documents taking up space. When you edit the web part properties in the panel that displays on the right, be sure that the toggle switch for "Show Command Bar" is turned on and your viewers will see the +New button in that document library web part and be able to select the template from there.

The + New option you are referencing is intended to add parts to the architecture of your site while the template is related to the architecture of your document library. You could have users who don't have edit options for the webpages on your site who would never see that +New button. However, if they have edit permissions on the document library, they would see the +New in the document library web part allowing them to add a new file from the homepage.
Thanks for the insight. I tried using the document library web part but it still shows the library contents, and allows users to inadvertently edit records. Do you know a way to "strip" this web part down so that only the + New button remains?