SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I need to create a Content Search Web part restricted to a specific URL.
I have to show the documents from a list in an other site collection.
Is it possible?
I'm trying but I do not see results.

share|improve this question

Just use the path attribute:


In the query

share|improve this answer
this is my query: path: "myRoot/my%20site/my%20list/Forms/AllItems.aspx"; but I do not see results :/ – Nk SP May 26 '14 at 12:43
"my list" is a document library – Nk SP May 26 '14 at 12:48
Well you should not use the /forms/allitems.aspx part, and no encoding – Robert Lindgren May 26 '14 at 12:49
No luck :/ If I copy the path in the browser, I can see the element. The list is in an other site collection, the problem may be there – Nk SP May 26 '14 at 12:52
maybe change the content source? – Nk SP May 26 '14 at 13:08

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.