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

Similar Messages

  • 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 recover a deleted document library webpart with files in it?

    Hi, 
    I accidentally deleted a document library webpart with folders and files in it. Can someone help how to recover it? What do you think happens to the files? I checked the recycle bin, there is no any deleted file related to the missing files. When I checked
    the Site Content and Structure, I can find the folders yet cant see the files in it. It gives a message that says "Object reference not set to an instance of an object". 
    Please guide. 
    thanks alot,

    Albert, 
    Follow these steps:
    1) open page: https://your_pormal/Lists/YOUR_LIST_NAME/AllItems.aspx
    2) open page in edit mode -> add webpart -> find your list in available webparts -> add
    3) click on the ribbon Stop Editing (Page tab)
    4) Now you try open library from Site Content. 
    But your webpart will looks not like a when a library was created:
    Now follow these steps:
    1) Open library settings
    2) click Create View
    3) Select Standard View (don't select All Items from view templates)
    4) Name it (for example MyAllItems)
    4) Check: Make this the default view
    5) Check: Title (linked to item with edit menu)
    6) Click Save button
    7) Now you have new View (with new address)
    8) Open page https://your_pormal/Lists/YOUR_LIST_NAME/AllItems.aspx
    9) Open it in edit mode
    10) Open list webpart in edit mode
    11) Set Selected View to MyAllItems
    12) Toolbar Type to Full Toolbar
    13) Click OK (after this step it may still showed in "wrong" style)
    14) Click on the Page tap - Stop Editing
    15) Check result ;)
    [custom.development]

  • 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

  • Sharepoint 2013 / Office 365 Document library item level permissions problem

    Hello,
    I'm looking for a solution to enable users to upload documents to a document library, the ability to view other documents uploaded to the same document library, but able to edit or delete those other documents.
    With a list you can use Item-Level security in Advanced Settings but this is not available for Document libraries. I could use workflows to assign individual permissions to document, but the the library already contains over 2,000 documents and will continue
    to expand so I don't like the idea of having that many individual permissions set.
    Are there any 3rd party plug-ins or solutions to this issue?
    Thanks,

    Try below:
    http://www.hersheytech.com/Blog/SharePoint/tabid/197/entryid/28/Default.aspx
    As it turns out the, setting Item-Level Permissions in a library is fully supported with PowerShell!
    The PowerShell commands for changing this are very simple:
    $web = Get-SPWeb http://YourSite/
    $list = $web.Lists[“Your Document Library Name”]
    $list.ReadSecurity = 2
    $list.Update()
    $web.Dispose()
    Note the 3rd line which is where you determine the value for this setting using the following values:
    1 = “Read all items”
    2 = “Read items that were created by the user”
    If you wish to modify the values for Create and Edit access instead, replace .ReadSecurity with .WriteSecurity with
    the following values:
    1 = “Create and edit All items”
    2 = “Create items and edit items that were created by the user”
    4 = “None”
    For example:
    $web = Get-SPWeb http://YourSite/
    $list = $web.Lists[“Your Document Library Name”]
    $list.WriteSecurity = 2
    $list.Update()
    $web.Dispose()
    Also check 
    http://sppermissions.codeplex.com/
    If this helped you resolve your issue, please mark it Answered. You can reach me through http://freeit-support.com/

  • In SharePoint 2010 Document Library "Open with Explorer" Your client does not support opening this list with Windows Explorer

    Hi.
    I am getting below error "Your client does not support opening this list with Windows Explorer" while click "Open with Explorer" option in document library.
    My system is client machine which is 32 Bit system and
    Web Client service is also running and Window 7 PC.
    Other SharePoint sites "Open with Explorer" option in document library is working fine but specific site is giving error.
    Even it was working fine but not is giving this error.
    Please help me on it. Its making frustrations.
    Thanks & Regards
    Poomani Sankaran

    Hi,
    According to your post, my understanding is that you got “Your client does not support opening this list with Windows Explorer” error.
    Did you enable the both authentication (Windows and FBA) on default zone.
    As far as I remember when FBA is enabled on the same zone when Windows is used, it breaks whole client integration.
    So it will be better if you will recheck your architecture and will use different zones for Windows and FBA.
    There is also another thing to try: use claims based authentication with authentication provider which will work both with Windows and FBA.
    What’s more, you can also check with below steps.
    Use compatibility mode to check whether it works.
    Open IE->Tools->Compatibility View Settings
    Add the site into Trusted sites to check whether it works..
    Open the IE->Internet Options->Security->Sites->add the site into the Websites, then check whether it works.
    In addition, you can also try to enable Basic authentication on the client computer, by setting the BasicAuthLevel registry entry of the following key:
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\WebClient\Parameters
    For detailed steps, visit the following KB page.
    http://support.microsoft.com/kb/841215/en-us
    There are some similar threads for your reference.
    http://social.msdn.microsoft.com/Forums/en-US/e9a07773-db23-46e9-8d1d-7015cd5aa13b/your-client-does-not-support-opening-this-list-with-windows-explorer?forum=sharepointgeneralprevious
    http://blogs.technet.com/b/asiasupp/archive/2011/06/13/error-message-quot-your-client-does-not-support-opening-this-list-with-windows-explorer-quot-when-you-try-to-quot-open-with-explorer-quot-on-a-sharepoint-document-library-in-office-365-site.aspx
    Thanks & Regards,
    Jason
    Jason Guo
    TechNet Community Support

  • Provision a document library definition with managed metadata column using Visual Studio 2010 designer

    hi all,
    how can i create a document library with a managed metadata column and lookup column .
     what  should be the  type for managed metadata column ? is it "Taxonomy", if yes how can i enter the term set values which should be populated by default.
    also would like to know how to refer the parent list / column[field] in the loopkup field
    help is appreciated!
    thnx

    Hi,
    To add a Managed Metadata field into the list definition, you can take a look at the link below with steps in details about the same requirement.
    http://gheckoplus.blogspot.com/2011/10/how-to-sharepoint-2010-list-definition.html
    For the Lookup field:
    http://abdulazizfarooqi.wordpress.com/2012/08/17/provisioning-lookup-field-in-sharepoint-2010-lookup-field-in-the-list-in-sharepoint-2010/
    http://ronsp.wordpress.com/2011/04/27/declaratively-adding-a-lookup-field-to-a-list-schema-using-customschema-attribute-in-listinstance/
    What’s more, if you have several questions to ask, I suggest you post them into every single thread to make them easier to be discussed in the forum.
    Best regards
    Patrick Liang
    TechNet Community Support

  • 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

  • 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.

  • Document library not automatically inherit permissions from parent

    Hi all,
             Whenever I create a new document library the inherit permissions not automatically set for this library, So I have to click Inherit permissions for each time i create a new document library.   please
    help to apply inherit permissions automatically whenever new library create.
    Manikandan

    Hi Alex,
    when you create a library and then go to the permissions settings for it it's set to not inherit permissions?
    Ans : It Does not have any inherited permissions from the parent site.
    Does it have a copy of the standard permissions set? If not what does it have and what is it missing from the site default?
    Ans : No. Empty permissions.
    But whenever i stop and start apply inherited permissions on the parent site works fine (I mean apply to all document library). but i could not do it all time whenever the new library create. I hope whenever the permissions changes on the parent site may
    affect the document lib permissions. pls help how to proceed ?
    Manikandan

  • Unable to create a new folder in document library of SharePoint 2010

    Hi There,
    Need some help regarding an issue which is occurring after migration from SP 2007 to 2010.
    We have recently migrated a site to SP 2010, after migration whenever i tried to create a new folder in a document library it gives me an error message below
    SPException: Can not find the form to create default data for the list
        Microsoft.SharePoint.Utilities.SPUtility.ThrowSPExceptionWithTraceTag (UInt32 TagId, ULSCat traceCategory, resourceId String, Object [] resourceArgs) 28098007 
        Microsoft.SharePoint.ApplicationPages.ListFormRedirect.InitializeQueryStringMembers () 1764 
        Microsoft.SharePoint.ApplicationPages.ListFormRedirect.OnLoad (EventArgs e) +25 
        System.Web.UI.Control.LoadRecursive () 66 
        System.Web.UI.Page.ProcessRequestMain (Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) 2428
    All the document libraries which are created with the custom list template has this problem. 
    Moreover, I have verified and found Upload.aspx page is available in Forms folder of a document library. 
    Can someone help me in resolving this issue.
    Thank you in advance.
    Vikram
    vikram padigala

    Hi,
    All the document libraries which are created with the custom list template has this problem. 
    Did you mean you had a custom library template?
    Did the issue occur in the library which created use the out of the box template, such as use the Document Library template?
    You can check with the OOB template library to test whether they had the same issue.
    If the OOB template library works well, the issue may be related to the custom library template.
    You can try to recreate a new custom template to check whether it works.
    To quickly and accurately find the issue , you can also check the event log and ULS log to see if anything unexpected occurred.
    For SharePoint 2010, by default, ULS log is at
    C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\LOGS
    Thanks & Regards,
    Jason
    Jason Guo
    TechNet Community Support

  • The document could not be saved error when Saving to a SharePoint Document Library

    I am having an error when opening and commenting on Adobe PDF's that are stored in SharePoint 2010. When I attempt to save a PDF I have commented on I get the following error:
    The Document could not be saved. The server said:
    "The operation failed because an unexpected error occurred. (Result code: 0x80020005)"
    This seems to happen in a Document Library that is based on a custom template with Managed Metadata columns, when we remove the columns it seems to work and when we create a library with a standard document library template and manually add the manage metadata columns it also works fine.
    We would make this change to all document libraries where this issue occurs however this template is applied to 100's of libraries with thousands of documents stored in them. Is there anything we can look at to attempt to resolve this issue?
    Word, Excel, PowerPoint, etc. documents seem to work fine in these libraries.

    Hi quodd,,
    We are sorry for the issue being faced by you. I need some information from you so that I take further steps:
    1. Which Adobe product are you using Acrobat or Adobe reader- what is the complete version?
    2. How are you opening and saving the PDF, the exact workflow?
         Are you doing it from within Adobe Reader/Acrobat application or opening it from browser, doing changes and saving it using browser itself.
    3. Can you try to save a PDF to library with Custom template and managed metadata columns using browser directly.
    4. Please verify that columns name do not contain spaces or some other special characters.
       Can you try to save PDF to library with Custom template and just a single managed metadata column  with a simple name
    Thanks,
    Nikhil Gupta

  • Valid users can see a site, but not the document libraries they have permissions for

    Hello everybody,
    at a customer's site, there is SharePoint Foundation 2013 SP1 running, bound to both http and https. Seeminlgy out of nothing, a strange behavior occurred: Visting
    http://intranet/subsite showed the page headers (logo, global navigation etc.), but no content. The welcome text was missing as well as the links to the document libraries which should appear in the left navigation.
    After explicitely adding http://intranet as an alternate name (https://intranet was active only, don't know why), we can again reach content via http. Still strange appears, that
    http://intranet global navigation links get redirected to https (fine, but unexpected). If we change a deep link to a document library from https to http in the browser's address bar, we can reach the content fine.
    However, one problem still exists: This site gets published via TMG 2010 via https, and that also worked just fine for many months. But now, I can try what I want in TMG, valid authenticated users see only the top navigation, but no content at all.
    Can anyone give me a hint about what to check? Of course, I will provide any info you may need.
    Best Regards, Stefan Falk

    Hello Daniel,
    Thank you for your response. As to your questions:
    I just added http://intranet to the alternate access mappings of the intranet zone and did not extend a website.
    Besides SharePoint Central Administration, there is no other SharePoint web site collection on this server, and no other non-SharePoint-IIS-Site. This is a VM for nothing else than hosting this single intranet site collection.
    We do see the same issue under two sub-websites underneath
    http://intranet, namely http://intranet/Datenaustausch and
    http://intranet/Protokolle. In both sub-sites, there is some welcome text on the home page and there are several document libraries, each with permissions not interited, but explicitely granted to specific users.
    The first (solved) issue was, that we could not see the document libraries when using http, but could see them using https. This was solved by adding the alternate access mapping for
    http://intranet explicitely.
    We can successfully browse the sites (using http and https now) from the internal network. The one issue left is that the same does not work through TMG, that is, coming from the external network, we can see and call up the sites in a browser, but not any
    content in them. We do see the site title and logo, and the global navigation at the top of the page, but we do not see the welcome text, nor the document libraries. This did work last week, and we do not know nor could find, why it stopped working. The issue
    persists regardless of whether we use bridging to https or to http between TMG and SharePoint.
    We have already restarted the SharePoint box, with no success.
    If I can provide any further information needed, I will be glad to do so.
    Best Regards, Stefan Falk

  • Deactivate the standard document library feature

    Hey,
    I have created a custom document library definition. It works fine.
    Is it possible to deactivate the standard document library when I activate the feature with the custom document library definition?
    Thanks for your help
    Stefan 

    Hi,
    According to your description, my understanding is that you want to deactivate the document library definition when activate the custom document library feature.
    In the
    SPListTemplate class , there is no remove or delete method, so it could not be achieved in FeatureDeactivating event.
    As a workaround, if you want to force user to use the custom document library template, you can hide the OOTB document library template in the add app layout page using Jquery. It is located at the path below:
    C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\15\TEMPLATE\LAYOUTS\AddAnApp.aspx
    You can add the Jquery code under the PlaceHolderMain tag to achieve it. The document library template is a first li element under ul element.
    Here is a code snippet for your reference:
    <script src="https://code.jquery.com/jquery-1.10.2.js"></script>
    <script>
    $( document ).ready(function() {
    $( "#scrollDiv ul li" ).first().hide();
    </script>
    Here are some detailed code demo for your reference:
    Jquery find the first li
    Jquery hide funtion
    Thanks
    Best Regards
    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]

  • Copy document step doesn't copy a column of a document library

    I have created a site workflow to run when a document is uploaded to a specific document library(A).
    In the workflow it copies the document which is uploaded to another document library. Destination document library is decided by a column in the "A" document library named as 'Category'.
    Depending on the category the document is copied to one of the other document libraries.There are 8 other document libraries.
    "A" document library has 7 columns created by me. Other document libraries have the exact set of columns(In  there exact same names) and one more extra column.
    Workflow works perfectly fine and it copies the document. But only one column doesn't get copied to the destination libraries.
    This particular column is a "multiple line" type and the number of lines are 4.
    These settings including the column name,type,number of lines all are similar to the source document library.
    Now the strangest thing is this only happens for 6 out of those 8 destination doc libraries. For two of the document libraries all the columns gets copied.(Those two are highlighted in the image)
    I cross referenced almost all the document library settings with the working and not working destination document libraries and couldn't find any difference.
    What could have gone wrong? 
    How does the SharePoint match the columns between document libraries when copying a document ? Is it only the column name or is there any other id its using?
    Is there any other way to do debug kind of a thing in a workflow to find out the problem?

    Hi Diren,
    I tested the issue in my environment with SharePoint workflow 2013. I created two libraries, then created a multi-line text column with the same name for both of them respectively. The simple workflow is designed as below:
    And it worked for multi-line text column. It turns out the multi-line text column during the copying to another library. All we have to ensure is the column name is the same. However, when creating column, I didn’t change the default settings unless the
    Number of lines for editing was set to 4 for your situation.
    As the issue occurs to part of libraries, I’d suggest re-adding an multi-line column with same name in the source library and other 7 libraries, and leave them with default settings. Then test the issue again, this helps us to eliminate the possible cause
    with different settings.
    Regards,
    Rebecca Tu
    TechNet Community Support

Maybe you are looking for