Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

No results in Adobe Search and Promote XML response

kishore_polsani
Level 4
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
Ravi_Pampana
Correct answer by
Community Advisor
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

0 Replies
Ravi_Pampana
Correct answer by
Community Advisor
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

kishore_polsani
Level 4
Level 4
I have created new guided.tpl (Transport template), and its working now, able to see the results in XML response
Albin_Issac
Community Advisor
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

 

 

 

 

vishakhav2
Level 2
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.