Aggregate lists from multiple site collections

Hi,
I'm currently working on an application that stores its data in sharePoint lists. Some lists are created at the WebApp level while others are available at the SiteCollection level. All lists, at the same level, fit to the same structure.
I need to create SSRS reports based on consolidated values from all site collections. I'm interested in a solution using only SharePoint and SSRS, without writting code. It is important to note that SiteCollections are generated dynamically, meaning
that I don't have a fixed number of SiteCollections. Is that possible to make a cross SiteCollections query from SSRS or something similar that would not require code?
Thanks in advance,
Jerome.

Hi Jerome, 
i tried to look for the solution that is not with coding, but seems i can't find something that is similar with your needs, although i found this article.
http://camldotnet.codeplex.com/
Sharepoint have this class: SPSiteDataQuery.
this class should be able to query different site collection, but it is a must under the same web application.
http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.spsitedataquery.aspx
http://www.codeproject.com/Tips/401818/SharePoint-2010-SPSiteDataQuery-with-Example
http://www.c-sharpcorner.com/uploadfile/anavijai/how-to-query-across-multiple-lists-in-multiple-web-sites-in-in-sharepoint/
Regards,
Aries
Microsoft Online Community Support
Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.

Similar Messages

  • Best Way to Sync Lists Across Multiple Site Collections?

    A quick query I'm hoping someone might be able to help me with...
    Within our university intranet I am assigning each department a team site within its own Site Collection. So that departments can associate Document Library files with a set list of academic courses, I created a custom dropdown field and deployed it as a Feature. While this worked within SharePoint, when you attempted to set the document properties within the Microsoft Word environment the custom fields were rendered as empty text boxes (meaning that staff are no longer restricted in when information they can enter).
    To get around this I'm considering going back-to-basics and creating a Custom List, populating it with the titles of our academic courses, and then assigning it to a Document Library via a Lookup Field. I know that Microsoft Word will then correctly display the metadata dropdown.
    As I am using multiple Site Collections, I'm unsure of the "best" way to proceed.
    I've already written a Console Application which can create a Custom List within a targetted site and populate it with the contents of an XML file - but I would need to run this every time I created a new Site Collection and what would I do when I wanted to update the contents of all the lists?
    Other than modifying my Console Application to loop through all instances of the Custom List within Site Collections and sync it to the contents of the XML file, is there another (better) option that I am over-looking?
    Its such a shame I can't create cross-collection Lookup Fields within all of the Site Collections that point to a single top-level list.
    Many thanks.

    My instinctive questions drifts towards why you have different site collections.  If all the sites were sub sites within the same site collection, a global field would solve the issue quite nicely.
    If you have legitimate reasons for keeping the sites seperated into separate site collections, I would look at using an Event Handler to trigger updates to reference values in each site collection, be they global fields or lists.  Then if you wish to update the values, you only need to update the trigger list to propagate the updates across your site sollections to all your sites in question.
    I trust that answers your question...
    Thanks
    C
    http://www.cjvandyk.com/blog

  • Fastest way to get data from Multiple lists across multiple site collections

    HI
    I need to get data from multiple lists which spread across 20 site collections and need to show it as list view.
    I have searched on internet about this and got some info like options would be to use search core APIs or BCS . I can't use search because I want real time data. Not sure of any other ways.
    if anybody can provide ideas it would be help.

    Might LINQ be an option for you?  Using
    LINQPad and the
    SharePoint Connector, you should be able to write a query that'll retrieve this data, from which you can tabulate it.  I'm not sure how you'd be able to automate this any further so that it's then imported in as list.
    For something more specific, I used a third party tool called the
    Lightning Tools Lightning Conductor, which is essence a powerful content roll-up tool.  In one of my solutions, I created a calculated column that gave an order / ranking on each item, so that when lists were combined, they'd still have some form of
    order.  The web part is also fairly customisable and has always proven a useful tool.
    Hope that helps.
    Steven Andrews
    SharePoint Business Analyst: LiveNation Entertainment
    Blog: baron72.wordpress.com
    Twitter: Follow @backpackerd00d
    My Wiki Articles:
    CodePlex Corner Series
    Please remember to mark your question as "answered" if this solves (or helps) your problem.

  • Populate Lookup Lists from Different Site Collection

    Hi,
    we are using O365 environment
    We have 2 Site Collections: Site Collection 1 has Sub sites and has lookup Columns in Lists..
    This Subsite is created as a Site Collection 2 in O365 ..In Site Coll Lists we have Lists which has Lookup columns referring to Site Coll 1
    How do I bring the content over to Site coll 2 with Lookup columns without having the Lists moved from Site Coll1
    Thanks

    This can't be done out of the box.  It would require a custom solution or a 3rd party plugin (not sure if one exists or not).
    Brandon Atkinson
    Blog: http://sharepointbrandon.com

  • Using SPSiteDataQuery for multiple Site Collections

    Hi All,
    I would like to query five contact lists on multiple site collections. I can query the lists using SPSiteDataQuery if they are within the same site collection, but I can not query the lists over multiple site collections.
    Is there a method like SPSiteDataQuery that I can use to query lists over multiple Site Collections?
    Many Thanks,
    Colin

    Hi,
    As you have mentioned that: SPSiteDataQuery which can query multiple webs within the same site collection, but not across multiple site collections. You can't accomplish that easily.
    The solution evolves from first using the SPSiteDataQuery class to run a query upon each site collection and then aggregating the results.
    For detailed information, refer to the following article:
    https://oidatsmyleg.wordpress.com/2009/08/13/cross-site-collection-query-almost/
    Besides, here is a similar requirement post, you can take a look at:
    http://sharepoint.stackexchange.com/questions/114329/accessing-list-data-in-multiple-site-collections
    Best Regards,
    Lisa Chen
    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]

  • Display Announcements List from one Site Colleciton in another

    Hi there,
    I have an announcments list in one site collection - say
    http://intranet/sites/hr that I would like displayed as a webpart on the home page of another site collection - say
    http://intranet (the root site).
    I've found some great articles on how to do this between sites within a site collection but hoping for some good instructions on how to do this between site collections.
    Thanks

    Okay - I found this article and it worked perfectly for me -
    http://www.balestra.be/2012/04/want-to-display-a-sharepoint-list-from-another-site-collection-use-these-2-lines-of-jquery-script.html
    In a CEWP - added the link to a text file in my "Style Library" folder
    <div id="ListPlaceholder"><img src="/_layouts/images/GEARS_AN.GIF" alt="" /></div>
    <script type="text/javascript" src="http://ajax.microsoft.com/ajax/jQuery/jquery-1.9.1.min.js"></script>
    <script type="text/javascript">
    // add the link to the view of the list you want to show:
    var ShowWP = "http://mydomain/sites/EntApps/sp/Lists/General%20Announcements/Approved%20Unexpired%20Items.aspx";
    $("#ListPlaceholder").load(ShowWP +" #WebPartWPQ2 .ms-listviewtable",function() {
    $("#ListPlaceholder *").removeAttr("id onclick onfocus onmouseover");
    </script>

  • PowerShell Command to export a list of subsites from a site collection

    Is there a Powershell command to export a list of sub sites from a site collection into a .csv file?
    Thanks.

    Hi,
    According to your post, my understanding is that export subsites to excel via PowerShell.
    There is an article about this topic, it will enumerate all the sub-sites and print them in a .csv file, you can refer to them.
    http://www.sharepointfix.com/2012/02/powershell-script-to-enumerate-sites.html
    Thanks & Regards,
    Jason
    Jason Guo
    TechNet Community Support

  • How do I copy a list from one site to another that has a column that appends changes to existing text?

    I want to move a list from one SharePoint site to another, within the same collection. I have created a template and included the content but the column that is selected to append changes to existing text, has not copied in all cases, although it has for
    some items.
    I have a limited knowledge so won't be able to implement any solutions that require the use of code.

    Hi,
    According to your post, my understanding is that you wanted to copy a list from one site to another that has a column that appends changes to existing text.
    I recommend to use the custom workflow activity  Copy List Item Extended Activityto
    copy list items and files cross site.
    You can do this with codeless SharePoint Designer workflows as long as you can install the
    Codeplex Custom SharePoint Designer Workflow Activities. 
    These activities are also built-in to SPD2010.
    To install the custom activities, please follow the steps as below:
    Download the solution file form
    Useful Sharepoint Designer Custom Workflow Activities
    Copy the wps file to the Disk C.
    Open the SharePoint 2010 Management Shell.
    Run the command: add spsolution c:\ dp.sharepoint.workflow.wsp
    Open the Center Administration, click System Setting->Manage Farm Solution-> dp.sharepoint.workflow.wsp->Deploy to one or more Web Application.
    Open the SharePoint designer, add action from Custom Actions.
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support

  • Custom template available across multiple site collections

    I have created a custom site template which I need to be available across multiple site collections. Is there a global area where I can put the .wsp file so that I can use it within any site collection.
    I also have a custom document library which I need to be available from with the site made from the custom site template mentioned above - Is there a global area where I can put the .stp file so that I can use it within any site within any site collection.
    thanks

    This will really depend how the template has been packaged.  If it's a content type, than editing this and making sure that the "update content type" radio is selected will do the trick. Can you ask someone who's made one to show you how they generate
    the template. If it's within the New --> XXX Document, than you're in luck
    If they're just deployed as normal files within a library, you'll have a much harder time.
    Steven Andrews
    SharePoint Business Analyst: LiveNation Entertainment
    Blog: baron72.wordpress.com
    Twitter: Follow @backpackerd00d
    My Wiki Articles:
    CodePlex Corner Series
    Please remember to mark your question as "answered" if this solves (or helps) your problem.

  • Managed Metadata values scrambled when copying or moving documents from one Site collection to another.

    Hi
    What works: Copy or move a document library containing one or more MM columns *within* a Site Collection = all column managed metadata replicated accurately.
    What doesn't work: Copy or move a document library containing one or more MM columns *from one Site Collection to another* within the same Webapp. The issue is that some but not all MM values are totally wrong. By totally wrong I mean that the incorrect
    terms are associated with a TermSet that is not even referenced in this DL!
    Same result for all method's tried:
    1) Save the DL as a template (no contents) and then copy or move the documents in
    2) Programmatically do the copy
    3) Export the list via CA and then reimporting it using Pshell
    This thread is very similar but his workaround has not helped in this instance:
    https://social.msdn.microsoft.com/Forums/office/en-US/6aca7b7c-97cb-4f1f-99f1-5e1fa0b1e3ed/content-type-hub-custom-library-template-managed-metadata-lostscrambled-when-moving-files?forum=sharepointdevelopment#65b52342-408f-47b4-a9f8-5d0b952acc12
    Has anyone else experienced this and found the cause/solution? Or can anyone do this without the issues that I have described?
    Thanks

    Hi Nuno,
    I've got to the root of the issue but in answer to your question first: The MM column is attached to a Global Content Type - there is nothing local.
    The fact that some are ok and others are not led me down the route of checking the columns at item level. Scripting this did not help - all rows returned are what I would expect. ie The same MMColName with the expected value (as appearing
    on the source DL).
    On checking SharePoint manager however I have found what looks to be causing the issue.
    When checking the properties (ie SiteCollection/Lists/<ListName>/items/<itemName>/Properties) of the 'good' documents against the 'bad' documents I find the following:
    Good Docs: The MMColName is displayed as expected at the item level
    Field: Name
    Field:  Internal Name
    Item Properties:
    Ok?
    Partnership Type
    Partnership_x0020_Type
    Partnership Type
    Y
    Bad Docs: The MMColName is NOT displayed as expected at the item level. Instead the internal name is displayed:
    Field: Name
    Field:  Internal Name
    Item Properties:
    Ok?
    Register Type
    Type_x0020_of_x0020_Licence
    Type_x0020_of_x0020_Licence
    N
    Meeting Type
    Meeting_x0020_Type
    Meeting Type & Meeting_x0020_Type (Both columns are listed)
    N
    I should add that each of these 3 examples are taken from 3 different DL's - hence the different Fields
    So this looks to be a case of corruption - and unless we can think of any other outcome we will have to look to rebuild the DL - while trying to maintain the metadata!

  • Populate drop-down list from multiple text fields.

    Just to begin, I am brand new to this application and brand new to coding in general. Anyways, this is what I am trying to accomplish. I need to populate a drop-down list from multiple text fields. I am able to populate one item using this in the calculate event:
    TextField1.rawValue
    After I type text in TextField1 and hit enter, it displays the text in the drop-down list. I need to do this but with more than just one text field to populate more options for the drop-down list. I will also need to do something similar with populating a drop-down list from selections made in multiple other drop-down lists.
    Thanks for any help you can give me.

    Thank you for your suggestion Geo Kaiser. With that, I was able to populate my drop-down lists, but now when I select an option from the drop-down list, the selection dissapears. The selection will appear briefly in the box but then dissapears although my drop-down list options remain there. Here is the code I am using for my text field to drop-down list:
    DropDownList1.clearItems()
    DropDownList1.addItem(TextField1)
    DropDownList1.addItem(TextField2)
    And here is my code for my drop-down list to populate another drop-down list:
    DropDownList3.clearItems()
    DropDownList3.addItem(DropDownList1)
    DropDownList3.additem(DropDownList2)
    Thanks again for your help. By the way, I am using Adobe Designer 7.0.

  • Why is PowerView Missing From My Site Collection?

    I'm setting up a test lab with SQL Server 2012 SP1 and SharePoint 2013.
    I successfully setup the integration using PowerShell and Central Administration. I can see the service application and it is related to my web application, however the PowerView/SSRS features are missing from my site collection and so are the content types.
    I even tried creating a new site collection and no dice.
    Any thoughts on this would be great!
    Cheers!

    Hi Anthony,
    Based on the current information, I suggest that you make sure the Reporting Services Add-in for SharePoint has been installed when installling SQL Server 2012 SP1. Then, please verify the Reporting Services installation referring to the following article:
    Verify a Reporting Services Installation
    If you can create the Reporting Services Service Application and a site collection successfully, please verify the Report Server Integration Feature is active. After that, please active the Power View Integration Feature for the site collection.
    Additionally, I suggest that you refer to the following blog for the SQL Server Reporting Services Integration with SharePoint 2013:
    Installing and configuring SQL Reporting services on SharePoint 2013
    Hope this helps.
    Regards,
    Mike Yin
    If you have any feedback on our support, please click
    here
    Mike Yin
    TechNet Community Support

  • How to change PowerPoint Template across multiple site collections

    I am failry new to SharePoint, and my organization has asked me to research how to change a PowerPoint template that is stored on multiple site collections. There are current PowerPoints based on the template and they wanted to be sure those wouldn't be
    affected, as well. They want a "quick and easy" way to update the template that the divisions in the company use without manually going into each site collection. A co-worker said she hopes to "replace the current...template at the site
    collection and it will modify the available content type when selecting new document."
    Any help on how to handle this would be appreciated.

    This will really depend how the template has been packaged.  If it's a content type, than editing this and making sure that the "update content type" radio is selected will do the trick. Can you ask someone who's made one to show you how they generate
    the template. If it's within the New --> XXX Document, than you're in luck
    If they're just deployed as normal files within a library, you'll have a much harder time.
    Steven Andrews
    SharePoint Business Analyst: LiveNation Entertainment
    Blog: baron72.wordpress.com
    Twitter: Follow @backpackerd00d
    My Wiki Articles:
    CodePlex Corner Series
    Please remember to mark your question as "answered" if this solves (or helps) your problem.

  • Search option or Query to search multiple Site collections?

    Is there a Search or Portal site Hierarchy/ Structure option in SharePoint 2013 that would enable searching of specific and multiple Site collections (not Search all)?
    We opened a ticket with Microsoft o365 and they said this is not possible without custom development and that search queries can't span multiple Site collections.
    Is this true?

    You can setup a custom Result Source that limits results to the paths (URLs) provided, then use this Result Source in a custom search page, CSWP, etc. Check this post for more info:
    http://sharepointbrandon.com/2013/07/setup-multiple-search-pages-result-sources-search-scopes-for-a-site-search-in-sharepoint-2013/
    You can use the path restrictor to specify the URLs to limit the search to, IE: "path:http://yourdomain/site".
    Hope that helps.
    Brandon Atkinson
    Blog: http://sharepointbrandon.com

  • Using Content search web part to retrieve items from another site collection

    I have a web application that contains two site collections(team site + enterprise wiki), with the following URLs:-
    -http://applicationname/teamsite
    -http://applicationname/enterprisewiki
    Now I need to display the latest 10 wiki pages from the enterprise wiki site collection(according to the modified date) inside the team site. So I read that using Content search web part allow for cross-site content query. Currently I added a new content
    search web part , inside my team site, and I click on “change query” button. But I am not sure how I can reference the enterprise wiki site collection's wiki page library and to specify that I need to get the latest 10 wiki pages , inside the following dialog:-
    Basically this setting partially worked for me, I provide the following settings inside the “Build Your Query” dialog:-
    From the “Select a Query” I defined the following:- “items matching content type(system).”
    Restrict by app : “Do not restrict results by app”
    Restrict by content type “Enterprise Wiki Page”.
    This showed all the sites, lists and even pages are based on the “Enterprise Wiki Page” content type. But I am facing these three problems:-
    1. The above setting showed only the sites,lists and pages matching the “Enterprise Wiki Page” content type, that exists on another web application, and not that exists inside the current web application.
    2. To test the web part , I got the following results, But I was not able to add additional info for the items such as created by, modified by ,etc.
    3.  Also there is no way to sort the wiki pages by the modified date, as in the Sorting tab inside the “Build Your query” dialog I cannot find the “modified” inside the Soft by list
    So can anyone advice how to fix these three problems

    Hi,
    1. In "Build Your Query" dialog, we can select "Specify a URL" in
    Restrict by app and enter another site URL.
    2. If you want to add more information for the items, we need customize the display template, the following link for your reference:
    http://blogs.technet.com/b/sharepoint_quick_reads/archive/2013/08/01/sharepoint-2013-customize-display-template-for-content-by-search-web-part-cswp-part-1.aspx
    3. In the Sorting tab, we can use "LastModifiedTime" to instead of "Modified".
    Best Regards 
    Dennis Guo
    TechNet Community Support

Maybe you are looking for

  • Less or less than equal in the for loop condition

    Hi, What do you prefer, what is more common, which one is more easily readable, less or less than equal in the for loop condition? for (int i = 0; i < arr.lenght; i++){..} //or for (int i = 0; i <= arr.lenght - 1 ; i++){..}I know this is basic progra

  • Calculate actual time (Out Date Time - In Date Time)

    Hi All I am using Oracle 9i I have a two column table having date and time value in on of the column data is look like this Name Performed_Time IN 30-MAR-2008 09:15 OUT 30-MAR-2008 11:30 IN 30-MAR-2008 12:00 OUT 30-MAR-2008 14:45 IN 30-MAR-2008 16:00

  • PC desktop version mystery

    It's common knowledge for many of us that the moment your warranty on your car runs out, that's when things start falling apart.  Same thing here.  The 90 day tech-support ended 3 days ago and here I am! I have multiple problems so if any moderator h

  • Umair: I want to know about the new Apple Trade in program?If any apple employee on the forum,get in contact with me.

    Umair: I want to know about the new Apple Trade in program?If any apple employee on the forum,get in contact with me.

  • CC&B SDK GenerateArtifacts

    Hello, I have installed the latest version of the SPLSDK v.2.2.0.13. I got the plugins installed (manually, as the plugin zip file didn't work), but anyways, I'm trying to run the ArtifactGenerator and it can't connect to the database saying invalid