We are using query-builder API to get the search results in our project. we are fetching short description using hit.getExcerpt( ) and we are customizing excerpt.properties by giving in the config node.but the issue is excerpt trying to give last 50 characters of that respective property. but we want it to be customized to first 50 characters. how could we achieve this please drop your inputs.
Views
Replies
Total Likes
Hi
Please refer to the documentation
Link:- https://docs.adobe.com/docs/en/aem/6-0/administer/integration/marketing-cloud/campaign.html
Video Reference Link :- https://www.youtube.com/watch?v=bTtB-barrr4
I hope this would help you.
Thanks and Regards
Kautuk Sahni
Views
Replies
Total Likes
Hi
Its no where related to Adobe Campaigns. i am asking related to Query builder search function hit.getExcerpt() result customization.
Thanks in Advance
Views
Replies
Total Likes
I think Kautuk mixed up threads. Anyhow - look at this Javadoc:
https://docs.adobe.com/docs/en/cq/5-6-1/javadoc/com/day/cq/search/result/Hit.html#getExcerpts()
This method returns a map. Have you tried reading the Map<String,String> values? Are you saying that the map value is the last 50 chars?
Views
Replies
Total Likes
smacdonald2008 wrote...
I think Kautuk mixed up threads. Anyhow - look at this Javadoc:
https://docs.adobe.com/docs/en/cq/5-6-1/javadoc/com/day/cq/search/result/Hit.html#getExcerpts()
This method returns a map. Have you tried reading the Map<String,String> values? Are you saying that the map value is the last 50 chars?
Hi
i am trying to get the hit.getExcerpt() value which is returning last 50 chars.i want it to be customized
Views
Replies
Total Likes
Views
Likes
Replies