Create Dynamic Document Library Templates

I have the following scenario within our IT Org
1. PMO office maintains a "Standards" library, to which they publish all standard templates that need to be used for Project Management.
2. Each Project Manager would like to create a document library within their "project site" based on all the documents within "Standards" library.
My question is, would it be possible to create a document library template whose contents are dynamically pulled from another library?
Thanks.

Hi ,
Based on your description, my understanding is that each Project Manager
creates document library with the same template, but what they need is that their document libraries have different content type with others.
There isn’t an out of the box method to create document library templates dynamically.
For your issue, I suggest each Project Manager create one document content type with the document template which they need, and add the content type into their document libraries. 
Here is a similar case, you can use as a reference:
http://social.technet.microsoft.com/Forums/en-US/7d238bb5-8af7-4027-97cf-b41f84bcdb5d/dynamically-create-document-templates-for-new-menu?forum=sharepointdevelopmentlegacy
Best Regards, 
Lisa Chen

Similar Messages

  • Corrupt document gets created in document library with document template using createlistitem workflowaction in visual studio workflow for office 365 solution

    Hi,
    My requirement is to create a document library associated to a custom content type with a document template associated. Also I need to create a document based on the template in this document library when a new item is created in another list by taking the
    reference ID of that new Item , I need to create the document with the name appended by ID. I need to do all this deployment using WSP.
    I have created document library with document template associated to content type by following instructions in below stated blog :http://blogs.msdn.com/b/chaks/archive/2011/05/19/deploying-a-document-template-file-in-content-type-in-a-office365-sandboxed-solution.aspx
    This works perfect for me.
    However, there are few observations, when going to Document Library > Library Settings > Advanced Settings > Document Template section - doesnt shows the Edit template link. When tried to look at the value for the document template using view source
    , it is giving me /Lists/MyDocsListInstance/Forms/template.dotx instead of the actual template file uploaded.
    Ignoring the above observation, when I am trying to create a sandbox based workflow in visual studio to create document in document library when new item is created in another list, I provide the ContentTypeID as the ID associated with the document library
    with template. 
    It creates the corrupt document at end of workflow. 
    I have tried using .docx instead of .dotx files for workflow as per solution provided in some of the post but it isnt resolving my issue.
    Any help is much appreciated.
    Regards,
    Krutika

    OK, I am going to throw out a lot of ideas here so hopefully they get you closer to a diagnosis. Hang on :)
    Does it happen to work for some users but not others? If so, try logging in on the "good" computer with the "bad" username. This will tell you if the problem is related to the end-user's system. Also, once the user downloads a document
    successfully can they open and work on it in Word? Also, does the document library have any custom content types associated with it or does it just use 'Document'?
    I notice that there are other folks on the web that have run into this same problem and the similarity seems to be that they are either on SharePoint 2007 or have upgraded from 2007. Did this doc library start out as a 2007 library?
    What you might want to do is this: Make a site collection from scratch in 2013 (or find one that you know was created in 2013). Choose team site (or whatever you want) for the root web and set up the security the same way you have it on the malfunctioning
    library. Now, use windows explorer to copy and paste some of the documents to the new location. Be sure you recreate any needed content types. Now test it from the troubled user's computer.
    I'm thinking there may be something that is different about the library since it was migrated through various versions and updates since 2007. I've sometimes found that there can be problems (especially with user profiles but that's a different story) with
    things that go through this evolution.

  • Document Library Template with Permissions

    I need to create like more than 50 document libraries that contain the same folder structure and the same permissions its posible to create some kind of template that include permissions or some kind of automation?

    Hi,
    According to your post, my understanding is that you wanted to create more than 50 document libraries that contain the same folder structure and the same permissions.
    First, you need to create a document library that contain the folder structure and the special permissions.
    Then you need to make sure that you want to the libraries have same name or not.
    If the libraries have different names, we need to store the names in a database first.
    The solution is:
    storing the names in a text file database(or other location such as sql server)
    Receive the names from the database, and then create the libraries.
    Here is a similar thread for you to take a look at:
    http://social.msdn.microsoft.com/Forums/silverlight/en-US/2ed1c9ab-ace2-47a8-8556-553119a63583/bulk-create-records-or-document-libraries-via-powershell
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support

  • How to create a document library in Sharepoint Online using Powerpoint?

    I've been trying to create a document library in Sharepoint Online via pwoershell and I've been trying to see if anyone else has the code but the only scripts i could find are for Sharepoint 2010 on-premise and it's not compatible with Sharepoint 2013.
     Can anyone help me?
    Thanks!
    Dearbhla Bradley

    It's SharePoint Client-side Object Model.  Here are few references:
    http://msdn.microsoft.com/en-us/library/office/jj193041(v=office.15).aspx
    http://msdn.microsoft.com/en-us/library/office/dn268594(v=office.15).aspx
    These postings are provided "AS IS" with no warranties, and confers no rights.

  • Powershell Script to create "custom" Document Library

    I have a powershell script which creates a Document Library for every user in AD.
    This works, but rather than using the default Document Library I want it use a custom Document Library.  However this isnt working.
    My script to create the default Document Library is this...
    [System.Reflection.Assembly]::Load("Microsoft.SharePoint, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c")
    $site = new-object Microsoft.SharePoint.SPSite("http://servername/sitename");
    $siteweb = $site.OpenWeb();
    $webs = $siteweb.Webs;
    $strFilter = "(&(objectCategory=User)(name=accountname))"
    $objDomain = New-Object System.DirectoryServices.DirectoryEntry
    $objSearcher = New-Object System.DirectoryServices.DirectorySearcher
    $objSearcher.SearchRoot = $objDomain
    $objSearcher.PageSize = 1000
    $objSearcher.Filter = $strFilter
    $objSearcher.SearchScope = "Subtree"
    $colProplist = "samaccountname"
    foreach ($i in $colPropList){$objSearcher.PropertiesToLoad.Add($i)}
    $colResults = $objSearcher.FindAll()
    foreach ($objResult in $colResults)
    $objItem = $objResult.Properties; $objItem.samaccountname
    $listTemplate = [Microsoft.SharePoint.SPListTemplateType]::DocumentLibrary
    $listId = $siteweb.Lists.Add($objItem.samaccountname, "", $listtemplate);
    $list = $siteweb.Lists.GetList($listId, $true);
    $roleDef = $siteweb.RoleDefinitions.GetByType("Contributor");
    $user = "domain\" + $objItem.samaccountname;
    $rolAssign = new-object Microsoft.SharePoint.SPRoleAssignment($user, "email", "name", "notes");
    $rolAssign.RoleDefinitionBindings.Add($roleDef);
    if(!$list.HasUniqueRoleAssignments)
    {$list.BreakRoleInheritance($true);}
    for ($i = $list.roleAssignments.Count - 1; $i -gt -1; $i--)
    { $list.RoleAssignments.Remove($i) }
    $list.RoleAssignments.Add($rolAssign);
    $list.Update();
    Now I have a custom Document Library named "TESTLIB" so if I substitute the line:
    $listTemplate = [Microsoft.SharePoint.SPListTemplateType]::DocumentLibrary
    with
    $listTemplate = [Microsoft.SharePoint.SPListTemplateType]::TESTLIB
    Then it errors with this...
    How can I script powershell to create a "custom" Document Library?
    Thanks

    The below link should help you in creating custom document library using powershell
    http://blogs.technet.com/b/heyscriptingguy/archive/2010/09/23/use-powershell-cmdlets-to-manage-sharepoint-document-libraries.aspx
    Vinod H
    Thanks for the link but I cant see anything to assist creating a custom library?  Was there something in paticular you saw?

  • Need to create interactive document library

    Hello Everyone
    I need to create interactive document library in sharepoint 2013. When user uploads document, he should be able to write comment below that document and other users should be able to reply or post other document as well.
    Is it possible to achieve this kind of feature in sharepoint?
    Thanks

    Hi,
    Have you Configure social computing features in SharePoint Server 2013.
    Enable the "SharePoint Server Standard Site Collection features" 
    https://<< Site URL >>/_layouts/15/ManageFeatures.aspx?Scope=Site
    So that missing Social collaboration features are added into webpart catalog.
    thx
    iffi

  • Creating a document library with a custom template

    What I want is basically a good solution for people to be able to fill out a form on the web and then save it in the online library.
    You need to be able to automatically create a document from a template in just one or two clicks from the page and then automatically save it to the online-library.
    When this is done, the admin of the site will get a notification (this i think i know how to fix thought) so he can examine the new document instantly.
    How can this be done?

    That's more or less out of the box behaviour. Create a content type on a list or library depending on what your template is (word doc, InfoPath form, list item with styling etc.), then create an alert for your admin on the list.
    Your users can then create new items and save them in the list/library. The process is simpler with list items or InfoPath forms as they don't give you the wide choice of actions that you get in word docs etc..

  • SharePoint 2013 Document Library template displays html code when creating a new document from a sharepoint list multiline rich text

    I have a 2010 work flow that is associated with a sharepoint 2013 list that creates a new list document using a custom Microsoft Word 2013 template with a rich text multiline field quick part.  The workflow creates the document and populates
    the the quickpart, however, the text in the document is showing html codes
    <div class="ExternalClass2116495984EB429D95B02CC15F85FD4C"><h1>ABC123</h1><h2>Test&#58; 1234</h2></div>
    and not as 
    ABC123
    Test: 1234
    Is there a no code solution for this?

    Hi,
    I have done a test and I can reproduced your issue.
    I referred to the blog about Automatically create Word documents which include list fields:
    http://blogs.technet.com/b/brenclarke/archive/2009/04/15/automatically-create-word-documents-which-include-list-fields.aspx
    When I create a multiple line of text column in a list, I just choose Plain text, Then I solved the issue:
    Besides, here is a similar post, you can take a look at:
    https://social.technet.microsoft.com/Forums/sharepoint/en-US/a7ab3a61-6643-4a47-a464-fe46b5db1558/rich-text-field-showing-html-code
    Best Regards,
    Lisa Chen
    Lisa Chen
    TechNet Community Support

  • Document Library Template with Metadata Navigation and Key Filters

    When saving a document library as a template, any configured metadata navigation and key filters columns are lost. Has anyone else experienced this issue or know a viable workaround? Can anyone shed some light on why these settings are not saved with
    the template?
    Thanks!
    Wade Hunter MCP/MCTS - WSS 3.0, MOSS 2007, SharePoint 2010

    Wade,
    Did you figure out a workaround or why this happens?  I am having the same problem.
    Thanks

  • How to create a document library with the attachments of a task list?

    Hi!
    Basically, I need to create an event handler, that in the time when a file is attached to a task, make a copy of the file in the document library. Unfortunately this requires knowledge in programming and is not even possible for me to install the software
    i need in the company computers to try. Any ideas?      

    Unless you have third party workflow options, custom development IS required.
    There are several options when it comes to the development, some of which do not require admin involvement... but they still require programming.
    Scott Brickey
    MCTS, MCPD, MCITP
    www.sbrickey.com
    Strategic Data Systems - for all your SharePoint needs

  • Delivery Error when creating Sharepoint Document Library subscription

    Recently we have been having issue with a subscription from a report we have.
    We have a report that has been generated and have a subscription from that report to create a PDF document within sharepoint.
    Recently the subscription stopped working and we have these errors showing:
    A delivery error has occurred. ---> Microsoft.ReportingServices.Diagnostics.Utilities.DeliveryErrorException: A delivery error has occurred. ---> Microsoft.ReportingServices.Diagnostics.Utilities.InvalidExtensionParameter: One of the extension parameters
    is not valid for the following reason: Failed to validate the delivery setting PATH.The specified user USERNAME could not be found.
          Failed to validate the delivery setting PATH.The specified user USERNAME could not be found
    Looking into this, I found a few things but they did not help.
    One thing was to install update 5 for SQL server 2012 R2, but that didn't help.
    Another thing was saying something about there being 2 user accounts, a claims account and a windows user account, but I couldn't figure out how to make it use the correct account.
    I also tried to save it to a Windows File Share, and try to save it to the Sharepoint server side, however that failed stating it couldn't find that path.
    Being that sharepoint is tricky with its file store (is there really a location on the server that files are stored, I cant find it) I could not figure it out.
    I know I can windows explorer to the file location, \\site\shared documents\Folder but if I go to the web servers that host sharepoint I can't find where this path really is.
    Thanks

    Hi,
    According to your post, my understanding is that you want to get error in accessing sharepoint document library files.
    The cause is that the account being used to validate accounts on the production domain had been set to expire the password according to the general domain policy.
    Once the account is set to never expire, the issues will disappear.
    For more information, you can refer to:
    http://kb4sp.wordpress.com/2012/12/05/user-cannot-be-found-shenanigans-one-way-active-directory-trusts-and-sharepoint-2013/
    http://blogs.msdn.com/b/cliffgreen/archive/2013/02/19/sharepoint-2013-the-directory-is-not-a-subdirectory-of-the-root-directory.aspx
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support

  • Unable to delete column created under document library.

    I've created custom column in SharePoint online (2013). I want to delete one column from my document library. In library settings all columns are showing but its not clickable to select and delete the particular column.
    Please advice.

    Hi,
    Thanks for posting your issue, you won't be able to delete the required column like Tittle, Name from the Document library. you can hide this column.
    f the column is on a content type in the library, then first remove it from the content type and then from the library.
    Kindly find the below URL to know about hiding and deletion of columns in Document library
    http://support.microsoft.com/kb/2657619
    http://www.codeproject.com/Articles/28005/To-remove-the-title-column-from-a-Sharepoint-list
    http://mscerts.programming4.us/sharepoint/sharepoint%202010%20%20%20change%20or%20remove%20a%20column%20in%20a%20list%20or%20document%20library.aspx
    I hope this is helpful to you, mark it as Helpful.
    If this works, Please mark it as Answered.
    Regards,
    Dharmendra Singh (MCPD-EA | MCTS)
    Blog : http://sharepoint-community.net/profile/DharmendraSingh

  • Create Dynamic documents without screen.

    Is this possible ?
    Create a dynamic document (CL_DD_DOCUMENT) without creating any screen.
    Thank you.

    Is this possible ?
    Create a dynamic document (CL_DD_DOCUMENT) without creating any screen.
    Thank you.

  • Can't create Sharepoint Document Library Subscription

    I can’t create Document Library Subscription in sharepoint as I get below error message:
    A delivery error has occurred. ---> Microsoft.ReportingServices.Diagnostics.Utilities.DeliveryErrorException: A delivery error has occurred. ---> Microsoft.ReportingServices.Diagnostics.Utilities.InvalidExtensionParameter:
    One of the extension parameters is not valid for the following reason: The delivery path is either not a SharePoint Document Library Folder or does not exist in the Share Point farm.
    Can you please help?
    Many Thanks.

    This looks like a common problem for this issue:
    http://blog.fpweb.net/resolving-ssrs-subscription-issues-in-sharepoint/
    See if that is true for you.
    Trevor Seward
    Follow or contact me at...
    This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.

  • Can I create a document library in my Bc site?

    Hi, I need a place to store client documents (PDF format - on the server, not on a forward facing web page) so that I can grant login/ access for a select few people (owners & employees of the website) to be able to login and view these documents from the Bc dashboard. Is this possible? If so, how do I do this?

    It is true that the .NET platform is doing away with DLLs and actually, it's doing away with tradition ActiveX also. It will be based on objects called Assemblies.
    If you have an actual ActiveX component, you can call this from both LabVIEW 6.1 and VB6. However, if the object that you have built was built in the .NET environment, then it is an Assembly object. And, since this technology was released after both VB6 and LabVIEW 6.1, neither platforms support .NET controls yet. VB6 will most likely never support Assemblies, although I assume LabVIEW will as future versions are released.
    J.R. Allen

Maybe you are looking for