Quantcast
Channel: Developing Apps for SharePoint 2013 forum
Viewing all articles
Browse latest Browse all 8089

how can i search a specific site collection using sharepoint 2013 rest api

$
0
0

iam trying to read the search results from sharepoint hosted app for only single site collection but iam getting remaining site collection results also 

i developed app with -->http://host/site/dev1

 so i need to get only results from above site collection but iam getting results from all the site collections like 

http://host/site/temas

http://host/site/dev2

so how to get results only for single site collection

http://host/site/dev1/search/_api/query?querytext="sharepoint" 

i used above format to get results from dev1 site collection please provide any suggestions


Viewing all articles
Browse latest Browse all 8089

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>