Setup a template document in a SharePoint document library

I created a template for a document library in SharePoint Online.  I configure it so when the user needs to open a new document the template opens.   It works if you go to Files\New Document, but if you click on the New Document link
in the document library when you select word the default template opens.  How can I get the new document link in the document library to open the template document that I created?
Thanks
Judy

Its simple.. Go to the document library template which you have created. Then go to its library settings. Then go to advanced settings and select allow management of content type to yes. Then try to click ok and scroll down to find the option add from
existing site content types and then add your template which you have created and click ok. Once you have done that you will be able to see the option of that template when you click new. If you still don't get it then you can open a service ticket from the
sharepoint portal and post your ticket number here and I will try to reach you as soon as I can to take care of the issue from there. If you find this information useful, then propose this as an answer and vote. Thanks.

Similar Messages

  • Count documents in a SharePoint online library using PowerShell

    Hi,
    I would like to use PowerShell to iterate through a site (and its sites) and count how many documents are in each document library.
    Does anyone know if this is possible for SharePoint online please?
    Thanks

    yes. You can set an ID on counter. I don't have any idea about how to do that from the PowerShell but from SharePoint online it is possible by going in to document library settings and then select default view (All documents). Then go and then select
    ID as column and there is an option over there Total. If you select the ID column drop down you will get an option called count select that and click ok. Then go back to your document library and see the count of the documents you have in your doc library.
    If you find this information helpful then please propose this as answer and vote. Thanks.

  • Why do I have to logon each time when opening a office Document from a SharePoint 2010 Library

    Hello guys,
    I'm facing some design issue with sharepoint 2010 and Microsoft office, hope you can help me to fix this.
    Why do I have to logon each time when opening a office Document from a SharePoint Library when I'm already authenticated via the browser?
    Please help me to skip this authentication when i try to open office documents from sharepoint library.
    Thanks
    Jeyaraman S

    Hi Jeyaraman, in addition to Alex's solution, check the following browser settings:
    Make sure “Enable protected mode” in security tab & “Require server verification” in “sites” area are unchecked. In “Custom level,” choose “Automatic logon” way at the bottom.
    cameron rautmann

  • Using REST API to promote Document Properties into SharePoint document library

    Hi,
    Is it possible to extract Document properties of a file and update library column using REST API?
    Thanks,
    techie

    Hi,
    We can use the following REST endpoint to get document property:
    http://site/_api/web/getfilebyserverrelativeurl('/Shared Documents/filename.docx')/<property name>
    https://msdn.microsoft.com/en-us/library/office/dn450841(v=office.15).aspx#bk_File
    If you want to update document library column, the following blog for your reference:
    Updating SharePoint List items with SharePoint’s REST API in JavaScript
    http://community.rightpoint.com/blogs/viewpoint/archive/2014/10/23/updating-sharepoint-list-items-with-sharepoint-s-rest-api-in-javascript.aspx
    Thanks,
    Dennis Guo
    TechNet Community Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Dennis Guo
    TechNet Community Support

  • How to get the count of items(folders or documents) in a SharePoint document library and for a folder in any SharePoint document library?

    I need to get a count of documents and folders in a selected document library(the item for EventRecievers for event deleting) and the count of documents in a selected folder(the item for EventRecievers for event deleting) to determine whether the item(document
    library or folder) is empty or not, as I need to use this condition for one of my custom EventReceivers.
    Can you please suggest me the code to do the same?

    Hi.
    Try this:
    class Program
    static void Main(string[] args)
    using (SPSite site = new SPSite("http://z2012net"))
    using (SPWeb web = site.OpenWeb())
    SPList l = web.Lists["List001"];
    List<FolderInfo> res = new List<FolderInfo>();
    getListCount(l.RootFolder, ref res);
    private static void getListCount(SPFolder sPFolder, ref List<FolderInfo> res)
    SPQuery query = new SPQuery();
    query.Folder = sPFolder;
    res.Add(new FolderInfo() { ItemCount = sPFolder.ItemCount, Name = sPFolder.Name, Url = sPFolder.Url });
    SPListItemCollection items = sPFolder.ParentWeb.Lists[sPFolder.ParentListId].GetItems(query);
    foreach (SPListItem item in items)
    if (item.FileSystemObjectType == SPFileSystemObjectType.Folder)
    SPFolder f = sPFolder.ParentWeb.GetFolder(item.UniqueId);
    getListCount(f, ref res);
    class FolderInfo
    public string Url { get; set; }
    public string Name { get; set; }
    public int ItemCount { get; set; }
    Regards,
    Bubu
    http://zsvipullo.blogspot.it
    Please mark my answer if it helped you, I would greatly appreciate it.

  • How to find list or folder name from SharePoint document URL

    I'm implementing the SharePoint client object model in my VSTO application in .NET framework 4.0(C#).
    Actually we open MS Word files from SharePoint site, we need to create a folder inside the opened documents list/folder and after it we want to upload/add some files to that created folder.
    My problem is that how to get list name/title and folder name of opened document by using the documents URL or Is there an another option to find the list or folder name of opened document.
    Any help will be appreciable.

    In document Library you can get the name of document library directly in URL. for folder name you can try below:
    using System;
    using Microsoft.SharePoint;
    namespace Test
    class ConsoleApp
    static void Main(string[] args)
    using (SPSite site = new SPSite("http://localhost"))
    using (SPWeb web = site.OpenWeb())
    if (web.DoesUserHavePermissions(SPBasePermissions.BrowseDirectories))
    // Get a folder by server-relative URL.
    string url = web.ServerRelativeUrl + "/shared documents/test folder";
    SPFolder folder = web.GetFolder(url);
    try
    // Get the folder's Guid.
    Guid id = folder.UniqueId;
    Console.WriteLine(id);
    // Get a folder by Guid.
    folder = web.GetFolder(id);
    url = folder.ServerRelativeUrl;
    Console.WriteLine(url);
    catch (System.IO.FileNotFoundException ex)
    Console.WriteLine(ex.Message);
    Console.ReadLine();
    http://msdn.microsoft.com/en-us/library/office/ms461676(v=office.15).aspx
    http://social.msdn.microsoft.com/Forums/sharepoint/en-US/801d1a06-0c9b-429b-a848-dd6e24de8bb9/sharepoint-webservice-to-get-the-guid-of-the-folder?forum=sharepointdevelopmentlegacy
    You can also try below:
    http://blogs.msdn.com/b/crm/archive/2008/03/28/contextual-sharepoint-document-libraries-and-folders-with-microsoft-dynamics-crm.aspx
    http://social.msdn.microsoft.com/Forums/sharepoint/en-US/d2d5d7cf-9bbd-4e0f-a772-ecdce4e6149f/how-to-fetch-document-guid-from-sharepoint-document-library-using-sharepoint-web-service?forum=sharepointdevelopmentlegacy
    http://stackoverflow.com/questions/2107716/how-to-get-guid-of-a-subfolder-in-a-document-library-programmatically

  • Ms Office Document On SharePoint 2010 library does not Open and stays on downloading

    Ms office documents on a sharePoint 2010 library does not open in client and stays on
    downloading... and never opens. This hapeens to Documents more than 2 or 3 Mb. That would be great if u cuold help me, Thanks
     

    Hi,
    This is a quick note to let you know that I am trying to involve someone familiar with this topic to further look at this issue.
    Max Meng
    TechNet Community Support

  • HTML SharePoint Document Library setup

    Hi,
    Following the steps from https://msdn.microsoft.com/en-us/library/office/dn592160.aspx to associate a document library with an entity I've managed to implement everything but stuck on the step in which I add the button and then need to select the createOrUploadDocument method.
    But the method does not exist, only the AddEdit, View and other usual methods associated for any entity.
    Everything else was done correctly (relationship with DB (not intrinsic), and the sharepoint entity is indeed a Document Library.
    Any help appriciated.

    You have to add the document collection to the screen first. See:
    Implementing Documents in a SharePoint 2013 Cloud Business App
    (LightSwitch)
    Unleash the Power - Get the LightSwitch 2013 HTML Client / SharePoint 2013 book
    http://LightSwitchHelpWebsite.com

  • I can't save *new* documents back to SharePoint

    I can’t save *new* documents back to SharePoint. We have a SharePoint 2013 development environment, running on Windows Server 2012 and a Windows 7 Client Computer with Office 2010.
    Every time I click „new document“, SharePoint opens the corresponding template file in the client application (Word, Excel,…) So far, so good. When i select „Save“, the client application brings up a local save path on the client computer, not the SharePoint
    document library.
    I did some research and tried many approaches, but none of them worked.
    I installed the Desktop Experience Feature on the Windows Server 2012, added the server address to trusted sites, gave the user farm-administrator rights (to make sure it is no security problem) and switched the authentication mode for the web application.
    Does anyone know this problem and found a solution?

    Hi,
    For troubleshooting your issue, you can try to add a registry value to your local registry (on a machine with Office Applications installed through which you are accessing SharePoint sites):
    Click Start, type regedit in the Start Search box, and then press ENTER.
    Locate and then click the following registry subkey:
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\WebClient\Parameters
    On the Edit menu, point to New, and then click Multi-String Value.
    Type AuthForwardServerList, and then press ENTER.
    On the Edit menu, click Modify.
    In the Value data box, type the URL of the server that hosts the Web share, and then click OK.
    Note You can also type a list of URLs in the Value data box. For more information, see the "Sample URL list" section in this article.
    Exit Registry Editor.
    Reference:
    http://sharepoint-for-real.blogspot.com/2013/07/sharepoint-2013-new-file-cannot-be.html
    https://isharepoint.wordpress.com/2011/05/26/can-not-save-document-back-into-document-library/
    https://mohamedelkassas.wordpress.com/2014/01/31/can-not-save-document-back-into-document-library-in-sharepoint-2010/
    Best Regards,
    Eric
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • Controlling filename of local copies of PDF document taken from a SharePoint Online library

    I have a library of technical documents in SharePoint Online. People need to be able to attach them to emails to send to potential customers but I want to define the filename that will be applied when the document is copied out of SharePoint into the email,
    and it won't be identical to the filename under which the file was originally uploaded but rather a concatenation of the original file name and some other fields from the library including the document type and version number.
    I only have out-of-the-box SharePoint Online available and I'm a SharePoint novice, but I'm willing to have a go at some customisation if it's not too difficult.

    Thanks for the reply Alex!
    Certainly, as an example:
    Under my top level site Collection:
    /subsiteA has been created using the records centre template, and I have a document library: "test docs A" in this subsite.
    In subsiteA I have a content type called "Test Content Type"
    "Test Content Type" has a column "test column A" which is a basic text column.
    When I upload a word document to this library, then open it again, I can see the "test column A" in the document metadata (which appears in Quick Parts).  However, "Document ID Value" does not appear.  If I run the same scenario
    on /subsiteB (created using the team site template), Document ID Value does appear.
    With regards to {_UIVersion}:
    When I turn on an Information Management Policy and enable the Label feature, I can add {Version} to the field successfully.  However, when I upload and open a document from the document library in /subsiteA, the "Label" metadata is inserted
    in the word document, however the value is {_UIVersion}, rather than the numeric value of the sharepoint item version (ie, 3.2).  When I do the same against /subsiteB, the "Label" metadata does contain the sharepoint item version correctly.
    I installed the "SharePoint Manager 2013 Online" app to the library.  As you say, it looks like the enableparser property is not anywhere to be found.  The only difference I can see is: RootWeb->Webs->subsiteA.WebTemplate = OFFILE
    whereas RootWeb->Webs->subsiteB.WebTemplate = STS.
    I hope that makes some sense and thanks for the help!

  • How to upload email from outlook to a sharepoint document library programatically.

    Hi ,
    I have a requirement where I need to create a outlook plugin which will upload selected emails to sharepoint document library. I am able to hold email using by creating the object of outlook.item.  but could n't find a way to upload created com object
    in to sharepoint library.
    I need to use webservice to upload email to the document library.
    can some one please help me with this?
    Thanks.

    Hi,
    Base on the description, you want to upload email from outlook to a sharepoint document library programatically.
    We need to do it using Web Services, there's a purpose built web service here http://cecildt.blogspot.com/2010/10/upload-documents-to-sharepoint-2010.html‎
    for uploading documents.
    The other alternative is using email enabled document libraries
    https://www.nothingbutsharepoint.com/sites/itpro/pages/how-to-setup-mail-enabled-document-libraries-in-sharepoint-2010-part-4.aspx
    Best Regards,
    Linda
    Li

  • Word Crashing When Discarding Checkout for Document Stored in SharePoint

    We have recently noticed an issue when we have a Word file checked out from SharePoint, if we then discard the checkout from Word, Word crashes. The error details point to an issue in wwlib.dll.
    Having done some further investigation into this it appears this only happens if the document has an attached template which contains a custom ribbon.  We use SharePoint 2013 and Word 2010, although I have tested using Word 2013 with the same results.
    This was noticed on our company templates which contain a custom ribbon tab and a number of custom buttons. I have since tested it by creating a template with a single button on a custom tab with the same results.
    Has anyone else come across this issue and and is there any way to resolve it?
    Thanks,
    Richard

    Hi Daniel,
    Thanks for the response.
    The issue only happens when discarding checkout. Editing and saving a document back to SharePoint does not cause an issue. I am using a dotm template. I am not storing the template
    as a content type. When I say I created a custom tab, this was created by adding the XML to create the ribbon tab and button. I used the 'Custom UI Editor for Microsoft Office' to add this. The file created for this is called customUI14.xml and the
    XML is as follows (in the basic test template that I created):
    <customUI xmlns="http://schemas.microsoft.com/office/2009/07/customui">
    <ribbon startFromScratch="false">
    <tabs>
    <tab id="customTab" label="Custom Tab">
    <group id="customGroup" label="Custom Group">
    <button id="customButton" label="Test Ribbon Button" imageMso="HappyFace" size="large" onAction="TestRibbonCrash" />
    </group>
    </tab>
    </tabs>
    </ribbon>
    </customUI>
    The code this points to is as follows:
    Sub TestRibbonCrash(ByRef Ctrl As IRibbonControl)
        MsgBox "Ribbon button working"
    End Sub
    Following your reply I have tested it by adding a custom tab and button through the GUI and the problem doesn't occur when using that method of creating the tab and button.
    I will see if I can find anything useful in the ULS logs although no correlation ID is displayed when the error happens and in my experience even with a correlation ID, 99% of the time the ULS logs don't provide any useful information.
    I've also observed that Word doesn't crash if I discard checkout when I have another document open at the same time which is based on the same template.
    I have already posted on a MS Word forum. Is there more chance of getting some help on one of the other Word forums you have suggested?
    http://answers.microsoft.com/en-us/office/forum/office_2010-word/word-crashing-when-discarding-checkout-for/95565f9e-411b-4f11-b14d-d3771e2e2ba4
    Thanks,
    Richard

  • How to backup SharePoint Document Library

    I have SharePoint 2010 And I have used it as document management system, I wandered if make backup to SharePoint database is enough to backup our documents in another word Documents is stored in SharePoint database, please advise. 

    You're asking a good question, but the problem is that its one that can take a
    great deal of time to answer in depth. I'll try to cover the broad strokes here...
    Yes, backing up your SharePoint content databases will technically create a backup of the documents that you are uploading into the SharePoint sites stored in those content databases.
    BUT , there's a lot more to consider than just that. The bullet points below cover some of the big ones off the top of my head:
    SharePoint stores documents in its content databases using the Binary Large Object (BLOB) data type. It is not possible to directly extract a document from a SharePoint database without going through SharePoint, at least not in a manner supported by MS.
    This means that you must re-attach the restored content database to a live SharePoint farm in order to get to those documents again once you've restored the database from backup.
    And that means that you'll have to rebuild an entire farm and reattach that database to it, not something that can usually be done quickly.
    In order to reattach that database backup to a SharePoint farm, your new farm must be patched to at least the same version as the farm where the content database originated. So you have to be careful to track the version of SharePoint you used in the farm
    and rebuild to that level.
    If the site collections in that content database used any custom code, site templates, web parts, etc, you must install those into your new farm, or there's a good chance your site's won't work and you won't be able to access your content.
    You'll have to re-do all of the configuration settings you customized in your new farm as well, if you want it to be able to replace the functionality of your current farm. SharePoint 2010 does introduce configuration database backups, but they're not a
    complete solution (they don't include ALL of the configuration data for your farm).
    Changes to the configuration of your sites in IIS, files in the SharePoint root directories, Active Directory, etc, are not captured in SQL Server or SharePoint backups. You'll need to back them up yourself.
    I will qualify my comments by saying that I'm talking about this stuff from an overall Disaster Recovery perspective, not from a targeted approach to protect some specific highly important documents you're putting into SharePoint. But this is all stuff you
    have to consider if you're going to use SQL Server to protect those documents.
    I would recommend also taking a look at SharePoint's ability to save a document library or list as a template with content included, this can allow end users to save content on their own through the SharePoint site's UI and protect it. Or, you can use the
    Export-SPWeb PowerShell CMDLET (http://technet.microsoft.com/en-us/library/ee428301.aspx ) to script out the protection of that document library as well.
    Does that all make sense?
    John
    MCTS: WSS v3, MOSS 2007, and SCOM 2007
    MCITP: Enterprise Project Management with Project Server 2007
    Now Available on Amazon - The SharePoint 2010 Disaster Recovery Guide. Also available -
    The SharePoint 2007 Disaster Recovery Guide.
    My blog: My Central Admin.

  • Having templates appear when users click the "New Document" button in a document library with custom content types

    Hi all,
    I'm using SharePoint Online, but I'm seeing the same behavior in an on-prem 2013 instance as well. My situation is this:
    - I've created a document library
    - I've created a custom content type and attached a custom document template to it
    - I've assigned the custom content type to the document library, and disabled the default "document" option
    What I'm expecting to see is that when I browse to the document library and click "new document", that either a) a picklist appears allowing me to specify the document template I want (using the custom template I specified) or b) open the custom
    template itself. That doesn't happen - instead, when I click new document I'm prompted to upload a file, which seems to contradict the whole point of using a custom content type/custom document template combo.
    Am I missing something? The custom template isn't in the Forms library, which seems to be a problem if I wanted to use the custom document template instead of the default.
    Ideally I'd like a menu like the one shown here:
    http://social.msdn.microsoft.com/Forums/en-US/59ce3bd8-bf7f-4872-ae76-60d8c81dfc32/display-content-types-on-new-document-button-in-document-libraries?forum=sharepointgeneral, except with me being able to control the list of items that is shown.
    Any ideas? Thanks!

    Hi Brain,
    What you have done is by design behavior.
    If you want to show the Office document templates list (e.g. below image from your above referenced link) to select when click "+new document" link, this will need to install Office Web App 2013 which provides this feature,
    you can new document and see it is using WopiFrame.aspx page, please see more from below article about how to configure OWA 2013 for SharePoint 2013 on-premise.
    http://technet.microsoft.com/en-us/library/ff431687(v=office.15).aspx
    Thanks,
    Daniel Yang
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact [email protected] 
    Daniel Yang
    TechNet Community Support

  • How to restrict document download in SharePoint 2010

    Is it possible to restrict file downlaods from SharePoint document library.
    Manish

    Hi Manish,
    Information Rights Management is the only way to protect the documents and don't allow user save document in his/her system. You need to setup IRM on your network and the enable it in Central Administration.
    Check this MSDN article for more information:
    http://office.microsoft.com/en-us/sharepoint-server-help/apply-information-rights-management-to-a-list-or-library-HA101790603.aspx
    Hope it could help
    Cheers, Hemendra-MCTS "Yesterday is just a memory,Tomorrow we may never see"

Maybe you are looking for