Expand my Community achievements bar.

SOLVED

No results in Adobe Search and Promote XML response

Avatar

Level 4

I can see indexed data in Reports -> Data view, when I try to access the XML response it shows 0 results. I have created a pre-search rule, if query parameter has "Site=aemquickstart", then use a different template. Is there any change I need to do at template level to see results in XML response?

 

http://spXXXXX.guided.ss-omtrdc.net/?Site=aemquickstart

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hi,

 

Did you created a presentation template under design ==> templates (guided_xml.tmpl) to display the results in xml ? 

 

Below is the screenshot for your response.

 

Screen Shot 2020-07-06 at 9.38.04 AM.png

View solution in original post

5 Replies

Avatar

Correct answer by
Community Advisor

Hi,

 

Did you created a presentation template under design ==> templates (guided_xml.tmpl) to display the results in xml ? 

 

Below is the screenshot for your response.

 

Screen Shot 2020-07-06 at 9.38.04 AM.png

Avatar

Level 4
I have created new guided.tpl (Transport template), and its working now, able to see the results in XML response

Avatar

Community Advisor

have you pushed the configurations to live and ran a live index?

Try the below URL

http://xxxxxxxxxxx.guided.ss-omtrdc.net/Site=aemquickstart&sp_q=*

Refer the following URL for details on enabling custom presentation and backend templates - https://www.albinsblog.com/2020/06/how-to-configure-navigation-facet-in-adobe-search-and-promote.htm...

Regards

Albin I

www.albinsblog.com

 

 

 

 

Avatar

Level 2

Hi @kishore_polsani ,

 

Required results fields can be added in the presentation layer ( Design--> Templates) i.e tmpl extension as follows:

<results>
<result-set>
<name><![CDATA[default]]></name>
<guided-results gsname="default">
<result>
 <field name="category"><![CDATA[<guided-result-field gsname="category"/>]]></field>
</result>
</guided-results>
</result-set>
</results>

Make field name is mapped to value of that in the index connector. After this, do indexing once.

Index →Full Index →Staged Index →Run Full Index and preview the results.