Organise Document Libraries by projects or departments or both?

We have various departments that may have various managers that can initiate projects from clients. (Not always the same department everytime.) We have subsites for every department and (very likely) subsites for every project.
I'd like to see a document library per department. Every document metadata shall have an associated project number. On the project page, I'd like to see a single view of documents from various libraries that have the corresponding project number.
Is this doable?

Yes, it is.
The easiest way is to build a template site, with the document library including the relevant metadata, and then save it as a template ('Project Site Template'). You can then create new sites using that template which will create a new copy of that document
library.
The second bit is about the default metadata for the column. This article is for 2010 but should be valid for SharePoint online.
https://msdn.microsoft.com/en-us/library/office/ee557925(v=office.14).aspx
To amalgamate the content you can use the Content By Search Web Part which will look at all items the user has permission to see (not real time but it does update regularly)
https://support.office.microsoft.com/en-gb/article/Configure-a-Content-Search-Web-Part-in-SharePoint-0dc16de1-dbe4-462b-babb-bf8338c36c9a?CorrelationId=df19aeb8-9693-4d16-85ce-f161e969b2f4&ui=en-US&rs=en-GB&ad=GB

Similar Messages

  • How do I combine a number of document libraries into one heading?

    Please can anyone help me. I have a number of SharePoint Document Libraries which I want to move to one area (each document library is a project and when the project closes I want to be able to show this under one view 'Closed Projects').  HOw can I
    do this?
    Currently, on the Navigation pane on the left hand side of the screen we have a heading 'Closed Projects' and all the document libraries sit under that heading but this takes up a lot of room and as we could end up with hundreds of closed projects, I'd like
    to just keep the heading 'Closed Projects' and then when you click on that heading it takes you into a page which shows all the closed projects (preferably sorted in some way by name or date closed) document libraries.  Is this possible & how?
    We are using SharePoint 2007.
    Thanks

    Hi KeoKira,
    What you might be able to do is set up and maintain a separate list of projects, with a choice column indicating whether the project is open or closed, and a hyperlink column linking to the relevant document library.
    Then for your closed projects page, you can just link to a list view of the projects list that is filtered to only show links to closed projects.

  • Iterating through all Document Libraries, Folder and Item -Sharepoint 2010

    Hi
    I want to read all RootFolder,Subfolder along with all "items" from Document Librarie.
    Can anyone please advise on this
    Thanks

    Use caml query with recursiveall which
    will fetch all root folder and subfolder data from a document library.
    for
    your reference.
    http://sharepoint.stackexchange.com/questions/29405/get-items-under-folder-caml
    https://social.msdn.microsoft.com/Forums/office/en-US/6beba66a-adcc-4764-ba0d-ba7870d71457/recursive-caml-query?forum=sharepointdevelopmentprevious
    camlQuery.ViewXml = "<View Scope=\"RecursiveAll\"> " +
    "<Query>" +
    "<Where>" +
    "<Eq>" +
    "<FieldRef Name=\"FileDirRef\" />" +
    "<Value Type=\"Text\">/ecm/Business/Business/Projects/IDECO_P01030000</Value>" +
    "</Eq>" +
    "</Where>" +
    "</Query>" +
    "</View>";
    Regards,
    Rajendra Singh
    If a post answers your question, please click Mark As Answer on that post and Vote as Helpful http://sharepointundefind.wordpress.com/
    Regards, Rajendra Singh If a post answers your question, please click Mark As Answer on that ost and Vote as Helpful http://sharepointundefind.wordpress.com/

  • Data View Web Part - List of Subsites and Document Libraries under Current Site - Must be able to Package as Site Template in SPDesigner

    Hi Guys,
    On the home page of each sub site I would like to be able to show a list of subsites and Document libraries that are under the current subsite.
    I started investigating a solution using Datasources with SOAP requests sent to the server but it is very difficult to understand how to surface it on the Data View WebPart.
    I have tried with the search results webpart but the problem is that it does not work well when packaged in a Site Template.
    Please advise.
    Thanks and Regards,
    Rhyan

    Ok,
    Here is the problem:
    When creating a mysite from powershell or script, apparently you can ONLY do this from a wfe (or a server running Microsoft SharePoint Foundation Web Application in services on server).
    You CANNOT create mysites from script on your appserver if it is not also a Web Application Server. I confirmed the same is true in my test farm. I guess I was always running most of these scripts on the webserver.
    I searched all over and cannot find this documented anywhere.
    Who do I contact to have Microsoft document this?
    It's Thursday morning, I've been working non stop since Saturday morning so you don't have to :)

  • "Object reference not set to an instance of an object" error while accessing document libraries after in place upgrade to SP 2010

    I performed an inplace upgrade on my sharepoint 2007 installation and post the upgrade while trying to browse the document libraries on the site i get the following Error. HAs anyone encountered a similair error?? What could be the cause and resolution
    for this
    Any pointers/solution appreciated.
    Description: An
    unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. 
    Exception
    Details: System.NullReferenceException: Object reference not set to an instance of an object.
    Source
    Error: 
    An unhandled exception was generated during the execution of the
    current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
    Stack
    Trace: 
    [NullReferenceException: Object reference not set to an instance of an object.]
    Microsoft.SharePoint.WebPartPages.ListViewWebPart.PrepareContentTypeFilter(SPList list, Hashtable[] excludedTransformers) +682
    Microsoft.SharePoint.WebPartPages.ListViewWebPart.GenerateDocConvScriptBlock(SPWeb web, SPList list) +482
    Microsoft.SharePoint.WebPartPages.XsltListViewWebPart.OnPreRender(EventArgs e) +571
    Microsoft.SharePoint.WebPartPages.WebPartMobileAdapter.OnPreRender(EventArgs e) +78
    System.Web.UI.Control.PreRenderRecursiveInternal() +11032094
    System.Web.UI.Control.PreRenderRecursiveInternal() +223
    System.Web.UI.Control.PreRenderRecursiveInternal() +223
    System.Web.UI.Control.PreRenderRecursiveInternal() +223
    System.Web.UI.Control.PreRenderRecursiveInternal() +223
    System.Web.UI.Control.PreRenderRecursiveInternal() +223
    System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3393
    Version
    Information: Microsoft .NET Framework Version:2.0.50727.4952; ASP.NET Version:2.0.50727.4955
    My SharePoint Blog
    http://dhireny.blogspot.com

    How to be in my case??
    [NullReferenceException: Object reference not set to an instance of an object.]
    Microsoft.SharePoint.WebPartPages.ListViewWebPart.PrepareContentTypeFilter(SPList list, Hashtable[] excludedTransformers) +694
    Microsoft.SharePoint.WebPartPages.ListViewWebPart.GenerateDocConvScriptBlock(SPWeb web, SPList list) +482
    Microsoft.SharePoint.WebPartPages.XsltListViewWebPart.OnPreRender(EventArgs e) +571
    Microsoft.SharePoint.WebPartPages.WebPartMobileAdapter.OnPreRender(EventArgs e) +78
    System.Web.UI.Control.PreRenderRecursiveInternal() +11141054
    System.Web.UI.Control.PreRenderRecursiveInternal() +223
    System.Web.UI.Control.PreRenderRecursiveInternal() +223
    System.Web.UI.Control.PreRenderRecursiveInternal() +223
    System.Web.UI.Control.PreRenderRecursiveInternal() +223
    System.Web.UI.Control.PreRenderRecursiveInternal() +223
    System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3393

  • Display data from multiple document Libraries in List View Webpart

    Hi All,
    I want to display data from multiple document libraries into one list view webpart(custom i have created)
    I went through the following link http://blogs.msdn.com/b/ramg/archive/2009/04/22/implementing-a-simple-cross-site-collection-list-view-webpart.aspx
    but it tells to display only from one document library.
    My motive behind displaying data in the list view webpart is to achieve the functionality of Check In ,Check Out and other OOB features.
    With Regards,
    Jaskaran Singh

    Hi,
    As there is no such OOTB feature, a workaround is to create a visual web part to gather items from libraries and implement functionalities like Check in, Check out files
    in different libraries.
    The links below will provide more details:
    Create Visual Web Parts in SharePoint
    2010
    A demo about displaying list items in visual web part:
    http://www.dotnetcodesg.com/Article/UploadFile/2/217/Web%20Part%20in%20SharePoint%20To%20Show%20All%20List%20and%20List%20Items.aspx
    About the Check In and Check Out:
    How to Check In a document programmatically
    SPFile.CheckIn method
    and SPFile.CheckOut method
    Best regards
    Patrick Liang
    TechNet Community Support

  • SharePoint 2013 - document libraries and newsfeeds are visible when viewed using Internet Explorer running on the server but not from any other machine

    On a single Windows 2012 R2 server I have installed SQL 2012 and SharePoint 2013 SP1 with the latest update roll ups. When I remote desktop to the server using the farm and site collection admin account  and open page http://server_name_here using
    Internet Explorer, I'm able to see newsfeeds and document libraries.
    If I connected to a separate Windows 7 machine as  the farm and site collection admin account  and open page http://server_name_here using Internet Explorer, I'm able to view the SharePoint pages except I cannot see any newsfeeds or document libraries.
    There's just blank space where they should be. I have repeated this process on several other machines that are not the server and get the same result on every machine (I've tried other servers, desktops, adding the SharePoint site to the trusted sites list
    in IE, even using firefox). I'm using the same account as I did when I logged onto the server directly. Any thoughts as to what's going on?
    Thanks!

    Thanks for the idea, Harsh. What am I looking for?
    It is currently set to the default of http://server_name and http://server_name:port_number (the latter is for Central Admin).
    When I have access to the server, I have always done so the same way, using http://server_name. This was true when I access it from the desktop of the server itself and when I tried to access it from other desktops and servers (the machines where I had the
    issues with the libraries and feeds not showing up). Are there other values I should add?
    I have not tried to add http://server_FQDN as we don't plan on using that to access it but if you think it will help I would be happy to add it.

  • Users are unable to synchronize document libraries with OneDrive for Business

    Hello,
    We are having an issue with our users attempting to synchronize document libraries with OneDrive for Business. When a user tried to synchronize the document library either via the "SYNC" button on the document library page using IE or by
    manually entering the document libraries path into the OneDrive for Business desktop app they receive the following error
    "We can't connect to the specified SharePoint site". The users have the Edit permission to both the site and the document library. I have performed the following actions in attempt to get the synchronization to work.
    1. Tested giving user the owner permission to the site and document library. same result.
    2. Performed a repair on the users Office 2013 installation.
    An interesting point to note is that I myself am able to synchronize the document libraries using both the "SYNC" button on the document library site and by entering the path manually in the desktop app. Difference between my account and the test
    accounts is that I'm a site collection administrator and farm administrator. Can anyone shed some light onto this issue?

    Hi Corey,
    According to your description, my understanding is that the users cannot sync document libraries with OneDrive for Business.
    I recommend to check the Permission Level to see if the Use Client Integration Features permission is selected.
    If not, check this permission in the corresponding permission level which is granted to the users.
    Please also check if the users have the right permission to sync the document library with OneDrive for Business.
    More reference:
    http://nheylen.wordpress.com/2014/05/15/sync-error-we-cant-connect-to-the-specified-sharepoint-site/
    Best regards.
    Thanks
    Victoria Xia
    TechNet Community Support

  • How to add a button in top ribbons of ALL library types (Not just document libraries)?

    Hi there,
    How to add this custom button on all Library Types (Not just document libraries)?
    RegistrationId="101" RegistrationType="List" adds this button to Document Libraries only - which does not work for me.
    Thanks so much.

    Hi,
    According to your post, my understanding is that you wanted to add a custom button on the ribbon of all the library.
    You can refer to the following code snippet, it would add a custom button “Site Settings” on the ribbon of all the libraries.
    <?xml version="1.0" encoding="utf-8"?>
    <Elements xmlns="http://schemas.microsoft.com/sharepoint/">
    <CustomAction Id="ListViewCustomization" Location="CommandUI.Ribbon.ListView" RegistrationId="101" RegistrationType="List" Title="List View Ribbon Customization">
    <CommandUIExtension>
    <CommandUIDefinitions>
    <CommandUIDefinition Location="Ribbon.Documents.Share.Controls._children">
    <Button Id="ListViewButton" Command="ListViewButtonCommand" Description="Go to Settings" LabelText="Site Settings" TemplateAlias="o2" Sequence="93"/>
    </CommandUIDefinition>
    </CommandUIDefinitions>
    <CommandUIHandlers>
    <CommandUIHandler Command="ListViewButtonCommand" CommandAction="/_layouts/settings.aspx" />
    </CommandUIHandlers>
    </CommandUIExtension>
    </CustomAction>
    </Elements>
    More reference: http://msdn.microsoft.com/en-us/library/ms473643.aspx
    Thanks & Regards,
    Jason 
    Jason Guo
    TechNet Community Support

  • Sharepoint -Creating document libraries at run time and add and delete permission at runtime--taking too much time in C#(SOM)

    Hi,
    I am creating a batch job in C# and my requirement is as follows.
    My Requirement is to create multiple document libraries and after breaking inheritance  I remove all the groups which that library inherits and add some groups which are created for that library.Initially when libraries are less the creation
    of library is good but once it gets increased ,system takes lot of time.I will have to create around 2000 libraries and almost 600-700 groups.
    Q.1 ) What would be my approach?
    Q.2) Do we have powershell command which can break inheritance and delete all the default groups in a one go (without looping) of a library?
    Please suggests.

    Hi,
    It is recommended to create timer job for the time consuming job when in SharePoint environment.
    About creating timer job:
    http://www.codeproject.com/Tips/634208/Create-and-Deploy-Custom-Timer-Job-Definition-in-S
    If you want to do it via PowerShell, the links below would be helpful.
    About how to stop inheriting permission for SharePoint list and give custom permission using PowerShell:
    http://www.sharepointlovers.com/sharepoint-powershell-command-to-stop-inheriting-permission-for-sharepoint-list-and-give-custom-permission/
    About How to remove users and groups from a SharePoint list using PowerShell:
    https://sharepointthinking.wordpress.com/2012/10/01/how-to-remove-users-and-groups-from-a-sharepoint-list-using-powershell/
    Thanks
    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]

  • Document panel not opening in Office due to error in new document libraries

    Hi,
    all our new document libraries have the same issues when opening office documents with standard document panel.
    The form contains schema validation errors.
    Content for element 'documentManagement' is incomplete according to the DTD/Schema.
    Expecting: {fa742bdc-a2be-4b36-877c-a90d9817da44}_dlc_DocIdPersistId.
    It is a standard sharepoint info path form, no custom form? What can be the issue?
    regards
    Martin

    I have been seeing the same thing.  I can go to library settings and change the advanced setting to "Open in the browser" and the document panel opens fine after clicking "edit in Word".  If it is set to "Open in the client
    application", then the same error you state above is given.
    Our environment is SharePoint 2013/O365.

  • Iterate Through Lists Instead of Document Libraries, Or both

    System Info: SharePoint 2010 Enterprise w DEC 2013 CU. 2 WFEs (load balanced), App Server, SSRS Server, Dedicated CA Server (All running Win 2k8 R2).
    Background:I have a large (5,000 user) application that is completely customized on top of SP2010. I am the admin, and have been on the team for many years. Previously, we had a development team,
    but client has scaled costs back, and now its just me on the technical side. We have a Web app that houses multiple Site Collections, and each site collection has various subsites.
    My Problem: We have increased the LVT to 10k items (system has plenty of HP, although we do see performance degradation). Each subsite in the Site Collection holds data specific to an organization
    wtihin the Line of Business. There are two lists that frequently approach the 10k mark, and we have mitigation steps in place (essentially, we just create a new SubSite for them once they reach 10k). What I need is a single script that will traverse ALL subsites
    and return a count of their lists, perhaps I can work a couple of if statements in there to have specific data written to a SP List (if count is greater than 5000), and other wise everything gets written to the output file.
    I am trying to iterate through all lists and return a count of folders + items ... The script below works just fine, but it goes through Document Libraries only (per the baseType eq tag).
    I've tried changing baseType from DocumentLibrary to GenericList, but I continually get an error.
    I've also removed the where baseType = DocLib clause completely, and this has the desired results (all lists and doclibs are listed), except the 'WebUrl' field in the csv output is blank.
    Any thoughts on how I can make a small tweak to this script to get my desired results?
    Start-SPAssignment -Global
    $OutputFile ="D:\folder\DocCount3.csv"
    $results = @()
    $webApps = Get-SPWebApplication http://WebAppURL
    foreach($webApp in $webApps)
    foreach($siteColl in $webApp.Sites)
    foreach($web in $siteColl.AllWebs)
    $webUrl = $web.url
    $docLibs = $web.Lists | Where-Object {$_.baseType -eq "DocumentLibrary"}
    $docLibs | Add-Member -MemberType ScriptProperty -Name WebUrl -Value {$webUrl}
    $results += ($docLibs | Select-Object -Property WebUrl, Title, ItemCount)
    $results | Export-Csv -Path $OutputFile -NoTypeInformation
    Stop-SPAssignment –Global

    You guys won't believe this ... But, the script actually works as intended if I change the baseType tag to "GenericList"... I had been getting errors (about 14 of them) through PowerShell and
    assuming the script didn't process, but after looking at the output CSV, it seems that everything worked properly. I think the 14 errors MAY have been corrupted sites (or something?) as it gives me NullValueNotAllowed when trying to "Add-Member" and points
    to $WebUrl as being null.
    Next up -- working on getting this script to write specific objects to a SP list!

  • How to rename content type on web site level and underneath all the document libraries using powershell?

    Hello
    I wantto rename content type on web site level and underneath all the document libraries using powershell, please let me know how can do this?
    I saw this url
    http://suryapulipati.blogspot.in/2011/08/rename-content-type-name-in-list-using.html, but I want to change everything from Web Site, subsite and underneath document libraries. Because if you try to change on any on document library, it will be applicable
    for that document library, if you change on web level then underneath document libraries content type names not updated automatically.
    Please advise
    Avi

    Not sure with powershell.
    I could help you out with Server Side or Web Services though.
    Brandon James SharePoint Developer/Administrator

  • MSPS 2013 - related a document to the project tasks - Icon is not visible in project schedule

    When adding a document (related Items) to the project tasks in a project schedule at the task does not see the icon of the document.
    Although the icon issue or risk when binding is visible.
    And the icon is also seen in the "Projects Center"
    Also related items are not visible in the "Tasks" (http://server/PWA/Tasks.aspx) from the user.
    Attachments
    View, add or edit related information such as documents, issues, or risks.
    Issues
    Title
    Due Date
    Status
    Risks
    Title
    Due Date
    Status
    Documents
    Title
    File Name
    Status
    Maybe someone know why it don't works?

    Anyone can reproduce this steps on Project Server 2013:
    * Upload document to project site document library
    * Open project plan for editing in pwa, add to any task related item – uploaded in previous step document
    * Save and publish project
    Than check in project schedule and project center – icon associated document to task and project.

  • How do I disable check-in/check-out on a SP2013 query that is pulling from multiple document libraries

    Some of the document libraries I am using need to have publishing enabled and some do not. But the query (for most recently updated documents in the site) shouldn't let the user check-out any documents (only see them in read-only mode).

    Hi,
    Is the query in search? Could you provide a screen shot about it ?
    Did users click view library button to check out document? Could you provide more details about it?
    Thanks,
    Dean Wang
    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]

Maybe you are looking for

  • Urgently Upgrade Stop In XPRAS_UPG Phase

    Hi all, This is our infrastructure: Windows 2000 Oracle 9.2.0.7 SAP 4.6B Kernel Release 46D We are upgrading our DEV System to R/3 Enterprise 4.7 Ext. 2 Sr1 <b>Our Upgrade Process Stop in the XPRAS_UPG Phase. Basically it gives this error:</b> WARNIN

  • PMI Problem (End-to-End Monitor does not show data)

    (End-to-End Monitor does not show data) As I know that XML Messages Alerts T-code: SXMB_NOMI shows all alerts including errors as well I put date Range: 01-01-2008 to 01-08-2008 and filters for "Errors" system does show more then 300 errors But probl

  • KEY and KEYREFs support on XML DB

    First of all, sorry for my english but I am a spanish researcher who have not been abroad too much :-). I�m trying to use XML DB to store XML documents that represents UML models and the way I've choosed to map relationships in my schema is using KEY

  • Oracle tags and JavaScript

    Attention JavaScript and Oracle Guru's, My company has come up with a great requirement using JavaScript and dynamic pages to provide end users with a Systems Availability Information portlet, which scrolls text along the screen. This is as follows..

  • DW CS3 - open browser window issue

    I've set up some text links to open a new browser window and it's working fine. But - the original page (from where the link opened the new window) is also loading the same page as the new window. I want the original page to remain unchanged. What am