3

I dont require sharepoint search answers.I require using JS/Json/Web service/rest api.If i type anything in search box in top nav it should go to another page and show the results.Is there any way to do that using the above requirement.

Edit:I got all the results from single document library using below link code http://www.sharepointnutsandbolts.com/2013/01/calling-sharepoint-search-using-rest-eg.html Based on managed metadata column in my document library i want to display the data.Is it possible?

  • In the first paragraph you have mentioned you are searching using the OOB Seach Box(i presume). So why do you need the REST API implementation as mentioned in the second paragraph ? Can you please elaborate the requirement ? – Priyaranjan KS Aug 5 '17 at 8:58
  • i want to retrieve all the value from document library including its content.(In OOTB search i am not getting all the column value of the library)So i want custom search?There is any way to Do that – Sz4 Aug 6 '17 at 11:40
  • 1
    OK. Getting search results in possible using REST as well as JSOM. Once you have retrieved all the results,how do you want to conditionally format/display using managed metadata ? – Priyaranjan KS Aug 6 '17 at 11:49
  • Yeah.I tried to get the values but the managed metadata values are not there in JSON format results obtained – Sz4 Aug 6 '17 at 11:50
  • 1
    Please map the crawled properties to managed properties and do full crawl. If you don't have mapping then you can't get the results in rest response. Also in managed properties you need to check whether it's searchable, query able, faceted etc. So it should mostly help you to get the desired results. – John Zachariah Aug 7 '17 at 3:16

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.