0


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.

1 Answer 1

0

Just use the path attribute:

path:urlToTheList

In the query

5
  • this is my query: path: "myRoot/my%20site/my%20list/Forms/AllItems.aspx" but I do not see results :/
    – Nk SP
    May 26, 2014 at 12:43
  • "my list" is a document library
    – Nk SP
    May 26, 2014 at 12:48
  • 1
    Well you should not use the /forms/allitems.aspx part, and no encoding May 26, 2014 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, 2014 at 12:52
  • maybe change the content source?
    – Nk SP
    May 26, 2014 at 13:08

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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