Search&Promote design template configuration

Avatar

Avatar
Validate 10
Level 2
srikanth_pogula
Level 2

Likes

3 likes

Total Posts

44 posts

Correct reply

2 solutions
Top badges earned
Validate 10
Validate 1
Boost 3
Boost 1
Affirm 1
View profile

Avatar
Validate 10
Level 2
srikanth_pogula
Level 2

Likes

3 likes

Total Posts

44 posts

Correct reply

2 solutions
Top badges earned
Validate 10
Validate 1
Boost 3
Boost 1
Affirm 1
View profile
srikanth_pogula
Level 2

15-10-2015

Hi Team,

I have a question in template(guided_xml.tmpl) configuration in Adobe Search & Promote.

This template basically is the structure of the response returned by the Search & Promote. Under the root node "pagination", page positions First,Last,Previous,Next,viewall can be configured. Can these values be configured in any language other than english?

The specific issue i am facing is, when the page position is configured in chinese language, Pagination object's hasPrevious() and hadNext() methods always returns "false", due to which the logic for displaying "Previous" and "Next" buttons is not working for this Search & Promote account.

Any inputs on this will be highly appreciated.

Thanks in advance.

Update: Added more details

<page position="First"><![CDATA[<guided-page-path gsname="first" />]]></page> is the configuration in english.

Can the value for position be in any other language for example, traditional chinese?

<page position="页首"><![CDATA[<guided-page-path gsname="first" />]]></page>

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Validate 1
Level 5
Nikhil_Bisne
Level 5

Likes

10 likes

Total Posts

282 posts

Correct reply

131 solutions
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 10
Boost 1
View profile

Avatar
Validate 1
Level 5
Nikhil_Bisne
Level 5

Likes

10 likes

Total Posts

282 posts

Correct reply

131 solutions
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 10
Boost 1
View profile
Nikhil_Bisne
Level 5

15-10-2015

Hi Srikanth,

 

This configuration as per the scenario mentioned is possible. You'll need to reach out to the consulting team for more details on this. Please let me know in case of any other queries.

 

Thanks

Nikhil

Answers (5)

Answers (5)

Avatar

Avatar
Validate 1
Level 5
Nikhil_Bisne
Level 5

Likes

10 likes

Total Posts

282 posts

Correct reply

131 solutions
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 10
Boost 1
View profile

Avatar
Validate 1
Level 5
Nikhil_Bisne
Level 5

Likes

10 likes

Total Posts

282 posts

Correct reply

131 solutions
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 10
Boost 1
View profile
Nikhil_Bisne
Level 5

15-10-2015

Hi Srikanth,

 

Please reach out to your account manager and request for consulting hours.

 

Thanks

Nikhil

Avatar

Avatar
Validate 10
Level 2
srikanth_pogula
Level 2

Likes

3 likes

Total Posts

44 posts

Correct reply

2 solutions
Top badges earned
Validate 10
Validate 1
Boost 3
Boost 1
Affirm 1
View profile

Avatar
Validate 10
Level 2
srikanth_pogula
Level 2

Likes

3 likes

Total Posts

44 posts

Correct reply

2 solutions
Top badges earned
Validate 10
Validate 1
Boost 3
Boost 1
Affirm 1
View profile
srikanth_pogula
Level 2

15-10-2015

Hi Nikhil,

Please let me know the way to contact Adobe Consulting team to get more details on this.

Thanks

Regards

Srikanth

Avatar

Avatar
Validate 1
Level 5
Nikhil_Bisne
Level 5

Likes

10 likes

Total Posts

282 posts

Correct reply

131 solutions
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 10
Boost 1
View profile

Avatar
Validate 1
Level 5
Nikhil_Bisne
Level 5

Likes

10 likes

Total Posts

282 posts

Correct reply

131 solutions
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 10
Boost 1
View profile
Nikhil_Bisne
Level 5

15-10-2015

Hi Srikanth,

 

As mentioned earlier the objective you're trying to achieve is possible hence requested you to reach out to our consulting team. Moreover the screenshot you attached indicates you've integrated AEM with SnP. This is why I requested you to get in touch with them. Please let me know in case you need help contacting them.

 

Thanks

Nikhil

Avatar

Avatar
Validate 10
Level 2
srikanth_pogula
Level 2

Likes

3 likes

Total Posts

44 posts

Correct reply

2 solutions
Top badges earned
Validate 10
Validate 1
Boost 3
Boost 1
Affirm 1
View profile

Avatar
Validate 10
Level 2
srikanth_pogula
Level 2

Likes

3 likes

Total Posts

44 posts

Correct reply

2 solutions
Top badges earned
Validate 10
Validate 1
Boost 3
Boost 1
Affirm 1
View profile
srikanth_pogula
Level 2

15-10-2015

Hi Nikhil,

Thanks for the information.

I see that in the Pagination class, the page position is hard-coded as "next" and "previous" in english in the hasNext() and hasPrevious() methods which means the page position has to be given in english in order to work as expected.

Please correct me if i am wrong.

Avatar

Avatar
Validate 1
Level 5
Nikhil_Bisne
Level 5

Likes

10 likes

Total Posts

282 posts

Correct reply

131 solutions
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 10
Boost 1
View profile

Avatar
Validate 1
Level 5
Nikhil_Bisne
Level 5

Likes

10 likes

Total Posts

282 posts

Correct reply

131 solutions
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 10
Boost 1
View profile
Nikhil_Bisne
Level 5

15-10-2015

Let me look into this and revert.

Thanks
Nikhil