No results in Adobe Search and Promote XML response

Avatar

Avatar
Validate 10
Level 3
kishore_polsani
Level 3

Likes

11 likes

Total Posts

77 posts

Correct reply

7 solutions
Top badges earned
Validate 10
Validate 1
Ignite 5
Ignite 3
Ignite 1
View profile

Avatar
Validate 10
Level 3
kishore_polsani
Level 3

Likes

11 likes

Total Posts

77 posts

Correct reply

7 solutions
Top badges earned
Validate 10
Validate 1
Ignite 5
Ignite 3
Ignite 1
View profile
kishore_polsani
Level 3

06-07-2020

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

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Establish
MVP
Ravi_Pampana
MVP

Likes

197 likes

Total Posts

243 posts

Correct reply

75 solutions
Top badges earned
Establish
Contributor
Shape 1
Ignite 5
Ignite 3
View profile

Avatar
Establish
MVP
Ravi_Pampana
MVP

Likes

197 likes

Total Posts

243 posts

Correct reply

75 solutions
Top badges earned
Establish
Contributor
Shape 1
Ignite 5
Ignite 3
View profile
Ravi_Pampana
MVP

06-07-2020

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

Answers (2)

Answers (2)

Avatar

Avatar
Boost 5
Level 2
vishakhav2
Level 2

Likes

10 likes

Total Posts

11 posts

Correct reply

4 solutions
Top badges earned
Boost 5
Boost 3
Boost 10
Boost 1
Affirm 3
View profile

Avatar
Boost 5
Level 2
vishakhav2
Level 2

Likes

10 likes

Total Posts

11 posts

Correct reply

4 solutions
Top badges earned
Boost 5
Boost 3
Boost 10
Boost 1
Affirm 3
View profile
vishakhav2
Level 2

06-07-2020

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.

Avatar

Avatar
Validate 1
MVP
Albin_Issac
MVP

Likes

106 likes

Total Posts

119 posts

Correct reply

33 solutions
Top badges earned
Validate 1
Ignite 1
Give Back 5
Give Back 3
Give Back 10
View profile

Avatar
Validate 1
MVP
Albin_Issac
MVP

Likes

106 likes

Total Posts

119 posts

Correct reply

33 solutions
Top badges earned
Validate 1
Ignite 1
Give Back 5
Give Back 3
Give Back 10
View profile
Albin_Issac
MVP

06-07-2020

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