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
Similar Messages
-
In my environment, I have one web application, inside which for four different region, we have 4 different site collection. Now head of the company wants, when he logs in , he should get the display of all the four regions urls, and the one which he selects,
should be redirected.
Like, suppose I have a web application named as www.abc.com
Under which I have www.abc.cm/sites/1 and
www.abc.com/sites/2 and so forth.
Now when head of the company access this url www.abc.com , he should get the display to select any one of the, url and should be redirected.
Please suggest how to achieve this.You have multiple options.
1. You can create a links web part and add the links manually.(As there are only 4 sites)
2. You can automate by using SharePoint designer.
http://michael.wilcox.net/2007/10/12/show-all-subsites-in-a-webpart/
3. Download free web part available here.
http://sharepoint247.com/sharepoint2010/sharepoint-2010-subsites-webpart/
Bala -
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,
ColinHi,
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] -
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 -
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.
thanksThis 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. -
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 across multiple site collections SharePoint 2013
Hi Guys
I have a search center and Enterprise search configured in one site collection, I need to enable it to search content in other site collections too. I am using SharePoint Server 2013 Enterprise on a Windows Server 2012 R2. Can I promote results from
a particular site collection if the user initiates search from that particular site collection..?
Thanks in Advance
ParthHi,
From your description, you want to find a way to promote result from a particular site collection when users search on
Enterprise Search site.
To add promoted result, you can create new query rule and add
Promoted Result or Result Block to highlight the results you want.
Moreover, What do you mean when you say promote results from a particular site collection if the user initiates search from that particular site collection?
A real sample? Please explain more about your requirement so that we can provide more detailed information.
If you are new to SharePoint 2013 search, you may start from:
Search in SharePoint Server 2013
http://technet.microsoft.com/en-us/sharepoint/jj898538.aspx
Manage
Manage the search schema
Manage the Search Center
Manage search relevance
Manage crawling
Manage the search topology
Back up and
restore
Use Windows PowerShell cmdlets to manage search
Miles LI TechNet Community Support -
Search is not working for only one site collection sharepoint 2010 production environment
did full crawling but it could not crawled particular this only site collection somehow.
when i search under Crawl log, it doesnt appear and throws message like
there are no urls in the system that match your request.
you can see following screenshot,
Thanks
Deepak patelHi Deepak,
Is this site collection url (e.g. FQDN url, or host named site collection url) different from other site collection?
If yes, please add the host named site collection in content source.
If not, and this site collection url are the same type/format with other site collection, please "reset index" if possible, and start a full crawl, let us know your resutls.
If issue still persists, please perform a query in search box, see if there is any related useful information from ULS log.
Thanks,
Daniel Yang
Forum Support
Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you
have feedback for TechNet Subscriber Support, contact [email protected]
Daniel Yang
TechNet Community Support -
Search is not working for only one site collection
Hi All,
I have one issue where users are searching something on a site collection nothing is coming out. Search is working on web application level but not in only one site collection.
I checked the crawl log and found below error for this site collectionHi Aditya,
From the error message, there might be several reasons:
Configure search time-out settings (Search Server 2010):
http://technet.microsoft.com/en-us/library/ee808892.aspx
Please check the user accounts created under the home group that could push the limit of the ACL, and this error message may be occur:
http://www.sweendog.net/blogengine/post/2012/02/03/The-Filter-Daemon-has-Timed-Out.aspx & http://sharepoint.stackexchange.com/questions/26755/sharepoint-2010-search-server-not-crawling-content-due-to-filter-daemon-timeout
Make sure the search service account has access to SearchIndex share:
http://www.sharepointsecurity.com/sharepoint/sharepoint-development/fixing-the-filter-daemon-did-not-respond-within-the-timeout-limit-error/
If the links above doesn’t help, please collect more error message in ULS log for troubleshooting.
Regards,
Rebecca Tu
TechNet Community Support -
Edit standard search options properties on km search iview
Hello,
i've created a custom km search iview.
For that i've created a custom Search component Set and Search Options Set. I've enabled the Standard Properties on the Search Options Set. Is it possible to edit the layout for the Standard Properties.
Best regards,
TomSdHi TomSd,
what do you mean by 'change the layout of the standard properties'?
What you can do is change the properties that are displayed. Have a look at this: http://help.sap.com/saphelp_nw04/helpdata/en/cc/f4e77ddef1244380b06fee5f8b892a/frameset.htm and the description for 'predefined properties'
Kind reagrds
Karin -
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. -
Calendar Overlay Across Multiple Site Collections
I have searched the forums and have not found a solution to this question.
We are having trouble creating calendar overlays across site collections.
Specifics:
1. This is a single farm SharePoint 2013 installation. Version: 15.0.4481.1005
2. We have a single web application http://sharepointweb on port 80
3. We are using host-named site collections
4. We have separated the different departments into separate site collections because we want to take advantage of separate content databases.
When we create calendar overlays between calendar lists within a single site collection...it works fine. When we try to create calendar overlays between site collections (again, within a single web app) it fails with the message "Unable
to find specified web in the given URL".
Some more details:
## query of host headers for HNSCs
Get-SPManagedPath -HostHeader
Name Type
ExplicitInclusion
sites WildcardInclusion
departments WildcardInclusion
## query of URLs for two affected site collections
get-spsiteurl -id 'http://smportal04/departments/dev'
Url Zone
http://intranet/departments/dev Default
http://sharepoint/departments/dev Internet
http://portal/departments/dev Intranet
get-spsiteurl -id 'http://intranet/departments/it'
Url Zone
http://intranet/departments/it Default
http://sharepoint/departments/it Internet
http://portal/departments/it Intranet
##The only entries I can find in the ULS logs
## an example of when I try to do a calendar overlay from the http://intranet/departments/dev calendar
## referencing a calendar in http://intranet/departments/it calendar
Application error when access /_layouts/15/AggregationCustomize.aspx, Error=Unable to find specified web in the given URL - http://intranet/departments/it. at Microsoft.SharePoint.ApplicationPages.Calendar.MashUpCalendarListAccessor.OpenWeb(String
webUrl, SPWebApplication webapp) at Microsoft.SharePoint.ApplicationPages.AggregationCustomizePage.RetrieveListsWithCalendarView(String webUrl) at Microsoft.SharePoint.ApplicationPages.AggregationCustomizePage.FindListFromId(String
id) at Microsoft.SharePoint.ApplicationPages.AggregationCustomizePage.UpdateListViewDropDownList() at System.Web.UI.WebControls.ListControl.OnSelectedIndexChanged(EventArgs e) at System.Web.UI.Page.RaiseChangedEvents()
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
Getting Error Message for Exception System.Web.HttpUnhandledException (0x80004005): Exception of type 'System.Web.HttpUnhandledException' was thrown. ---> Microsoft.SharePoint.SPException: Unable to find specified web in the given URL - http://intranet/departments/it.
at Microsoft.SharePoint.ApplicationPages.Calendar.MashUpCalendarListAccessor.OpenWeb(String webUrl, SPWebApplication webapp) at Microsoft.SharePoint.ApplicationPages.AggregationCustomizePage.RetrieveListsWithCalendarView(String
webUrl) at Microsoft.SharePoint.ApplicationPages.AggregationCustomizePage.FindListFromId(String id) at Microsoft.SharePoint.ApplicationPages.AggregationCustomizePage.UpdateListViewDropDownList() at System.Web.UI.WebControls.ListControl.OnSelectedIndexChanged(EventArgs
e) at System.Web.UI.Page.RaiseChangedEvents() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) at System.Web.UI.Page.HandleError(Exception e)
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
at System.Web.UI.Page.ProcessRequest() at System.Web.UI.Page.ProcessRequest(HttpContext context) at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() at
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)Hi Roo,
i tried some steps, i agree with you that seems calendar overlay cant do good across web application,
from http://y:1234/ and http://y:4563/. seems there are limitation here.
when i extend my web app, usually i create new web app as internal/external/public, then i guess issue is happened.
so, anyway, i got a bit curious if your environment also came out with the same result:http://support.microsoft.com/kb/2025977
at the kb, it was stated, that it may not able to find another site other than the default web app.
but, while i tried in the same web app, the issue not there.
so i tried to create new site collection, with lots of subsites, http://y:1234/. then have http://y.1234/sites/123 and http://y.1234/sites/456, for example, i add new calendar and create overlay, seems it can resolve each one and another.
perhaps you can check this article:
http://spsawyer.wordpress.com/2013/07/11/sharepoint-calendar-overlay-not-found-errors/
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. -
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. -
SP2013 Set default views across multiple site collections (powershell)?
I am the editor for a large SharePoint 2013 publishing site with approximately 130+ subsites. Based on our most popular content types, I've create two diffferent default views that will come in handy as we move to a distributed authorship model. (I'm thinking
specifically about the Quick Edit/Excel-like feature to make quick changes to page/document metadata.)
The authors/content owner/editors have NO experience with SharePoint, so while the usual benefit of using views is that they can be tailored to individual needs, I'd like to start them off with something that is VERY easy to change on the fly using Ribbon >
Library > Quick Edit. It's either that or, as just a power user in the CMS, go to each individual page and document library and change it manually, which could take days, if not longer. The ideal solution would look for all subsite of layout/content type
foo and change the default views within the page libraries to a set of 17 metadata.
Any help would be greatly appreciated!
Ryan D WattersHi Ryan,
As I understand, you would like to change default view for page/document libraries via powershell.
Firstly, you need to get all page/document libraries in the site, then add columns to default view.
Here are some articles for your reference:
1.Get all document libraries:
http://www.sharepoint-journey.com/get-all-document-libraries-in-a-site-collection.html
2.Managing List Views:
https://nkelkar.wordpress.com/2011/06/21/powershell-create-lists-add-columns-set-new-default-view/
http://get-spscripts.com/2012/02/managing-creating-and-deleting.html
Regards,
Rebecca Tu
TechNet Community Support -
Please help, i use to be able to reply coustomers inquiries just by searching photos by name and sending them on my Blackberry device ,these photos are catalogs that have details and price on them ,they save me a lot of time instead of explaining one by one to a client.I need your help to please advice me how to search from my photo album instead of going one by one through a 1000 pictures.Its frustrating.I am using an Iphone 5
Thank youPlease help, i use to be able to reply coustomers inquiries just by searching photos by name and sending them on my Blackberry device ,these photos are catalogs that have details and price on them ,they save me a lot of time instead of explaining one by one to a client.I need your help to please advice me how to search from my photo album instead of going one by one through a 1000 pictures.Its frustrating.I am using an Iphone 5
Thank you
Maybe you are looking for
-
Java Bouncing Balls Threads problem?
Hello, I am working on a homework assignment to represent a java applet with some bouncing balls inside. So far so good. The balls bounce and behave as they are supposed. The only thing is that I want to make 2 buttons, Start and Stop (this is not pa
-
Setting colors for item labels in JFreeChart (WaferMapRenderer)
Hi, first of all, sorry for posting a JFreeChart related posting on this forum, but I didn't get a solution right now (I even didn't find anything useful on the JFreeChart website/forum). Here's my question... I'm trying to set the color for item lab
-
I have a new imac, and just bought an iphone. When my contacts were transferred a worker at the at&t store used a pc. I heard that connecting my iphone to my imac could lose all my data on the phone, since it is not in mac format? Is this true, or ca
-
Any chance of syncing my 5G video ipdod via firewire ?
If I was to get an older ipod firewire dock, and use the included adapter plate, can I sync (and charge) my 60G ipod/video via firewire ? I am running out of USB ports and don't have room for another hub, it's a pain plugging and unplugging. I do hav
-
I'm having trouble getting subordinate tag data out of this structure: <CASE_BATCH> <CASEDETAIL> <HEADER> <PERSON_ID>214339</PERSON_ID> </HEADER> <ASSOC> <AP_ID>166646</AP_ID> <AP_NAME> <LASTNAME>TEST</LASTNAME> <FIRSTNAME>TEST</FIRSTNAME> </AP_NAME>