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
Just use the path attribute:
path:urlToTheList
In the query
-
this is my query: path: "myRoot/my%20site/my%20list/Forms/AllItems.aspx" but I do not see results :/– Nk SPMay 26, 2014 at 12:43
-
-
1Well 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 SPMay 26, 2014 at 12:52
-