View search results as XML

Hello Folks,

How can I view my search results as XML in SharePoint 2013? I know it involves Display templates, but is there any other way?

We have a custom application which needs to consume this XML and transform it as per the application need.

Thanks for any

March 25th, 2015 9:47am

Hi,

As I understand, you want to display search results as XML in SharePoint 2013.

You can use search REST API in SharePoint 2013 to get search result as XML.

The article below is about SharePoint 2013 Search REST API.

http://blogs.msdn.com/b/nadeemis/archive/2012/08/24/sharepoint-2013-search-rest-api.aspx

Best regards

Sara Fan

Free Windows Admin Tool Kit Click here and download it now
March 26th, 2015 2:27am

Thanks for the answer!

Any tweaking I can do with the URL to display the results in raw XML?

April 2nd, 2015 10:09am

Hi,

Can you provide the more details about your requirement?

And if search results are got by search REST API they display as the raw XML.

Best regards

Sara Fan

Free Windows Admin Tool Kit Click here and download it now
April 3rd, 2015 1:04am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics