Sharepoint Site button to create new file in document library

%3CLINGO-SUB%20id%3D%22lingo-sub-2679742%22%20slang%3D%22en-US%22%3ESharepoint%20Site%20button%20to%20create%20new%20file%20in%20document%20library%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2679742%22%20slang%3D%22en-US%22%3E%3CP%3EI%20have%20a%20document%20library%20with%20a%20custom%20word%20template%20for%20creating%20new%20documents.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22MorePowerBI_0-1629819204567.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F305384i94CB874E967912A5%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22MorePowerBI_0-1629819204567.png%22%20alt%3D%22MorePowerBI_0-1629819204567.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20want%20to%20create%20a%20button%20in%20the%20sharepoint%20home%20page%20so%20that%20users%20don't%20have%20to%20go%20into%20the%20document%20library%20to%20create%20new%20documents%20using%20the%20template.%20The%20button%20webpart%20just%20takes%20the%20URL%20of%20the%20link%20so%20I'm%20wondering%20if%20there's%20a%20way%20for%20me%20to%20extract%20the%20URL%20link%20that%20generates%20the%20new%20document%20with%20the%20custom%20template.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHelp%20is%20greatly%20appreciated!%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2679742%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EDocument%20Library%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2679990%22%20slang%3D%22en-US%22%3ERe%3A%20Sharepoint%20Site%20button%20to%20create%20new%20file%20in%20document%20library%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2679990%22%20slang%3D%22en-US%22%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F1024052%22%20target%3D%22_blank%22%3E%40MorePowerBI%3C%2FA%3E%20I%20will%20be%20interested%20in%20hearing%20if%20a%20developer%20has%20a%20solution%20for%20this.%20I'm%20not%20aware%20of%20a%20way%20to%20add%2Fremove%20options%20in%20the%20%2BNew%20menu%20on%20the%20homepage.%20I%20would%20offer%20up%20an%20additional%20solution%20to%20you%20though%20that%20would%20not%20require%20your%20users%20to%20navigate%20to%20the%20document%20library%20to%20add%20this%20new%20document%20from%20your%20custom%20template.%20You%20could%20add%20a%20Document%20Library%20web%20part%20on%20your%20homepage.%20You%20can%20customize%20how%20much%20displays%20of%20what%20is%20in%20the%20library%20if%20you%20don't%20want%20a%20long%20list%20of%20documents%20taking%20up%20space.%20When%20you%20edit%20the%20web%20part%20properties%20in%20the%20panel%20that%20displays%20on%20the%20right%2C%20be%20sure%20that%20the%20toggle%20switch%20for%20%22Show%20Command%20Bar%22%20is%20turned%20on%20and%20your%20viewers%20will%20see%20the%20%2BNew%20button%20in%20that%20document%20library%20web%20part%20and%20be%20able%20to%20select%20the%20template%20from%20there.%3CBR%20%2F%3E%3CBR%20%2F%3EThe%20%2B%20New%20option%20you%20are%20referencing%20is%20intended%20to%20add%20parts%20to%20the%20architecture%20of%20your%20site%20while%20the%20template%20is%20related%20to%20the%20architecture%20of%20your%20document%20library.%20You%20could%20have%20users%20who%20don't%20have%20edit%20options%20for%20the%20webpages%20on%20your%20site%20who%20would%20never%20see%20that%20%2BNew%20button.%20However%2C%20if%20they%20have%20edit%20permissions%20on%20the%20document%20library%2C%20they%20would%20see%20the%20%2BNew%20in%20the%20document%20library%20web%20part%20allowing%20them%20to%20add%20a%20new%20file%20from%20the%20homepage.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2681657%22%20slang%3D%22en-US%22%3ERe%3A%20Sharepoint%20Site%20button%20to%20create%20new%20file%20in%20document%20library%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2681657%22%20slang%3D%22en-US%22%3EThanks%20for%20the%20insight.%20I%20tried%20using%20the%20document%20library%20web%20part%20but%20it%20still%20shows%20the%20library%20contents%2C%20and%20allows%20users%20to%20inadvertently%20edit%20records.%20Do%20you%20know%20a%20way%20to%20%22strip%22%20this%20web%20part%20down%20so%20that%20only%20the%20%2B%20New%20button%20remains%3F%3C%2FLINGO-BODY%3E
Occasional Contributor

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

 

MorePowerBI_0-1629819204567.png

 

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?