Hi All,
Could you please redirect me, how to sort the contentfinder assets to alpha numeric.
Thanks,
Michael
Solved! Go to Solution.
Views
Replies
Total Likes
Hi,
You will need to write your own servlet that backs your Content Finder extension. You can take a look at http://adobe-consulting-services.github.io/acs-aem-commons/features/contentfinder-querybuilder.html for a method of implementing Content Finder tabs with a more flexible backend than is provided out of the box.
Note that you can also just do this by adding "order:jcr:content/cq:name" to your query, i.e. if you put "geometrixx order:jcr:content/cq:name" in the search box, you'll get the search results sorted by name.
Regards,
Justin
Views
Replies
Total Likes
What you need to do is overlay the Content Finder. You can find Content Finder here:
/libs/wcm/extensions/contentfinder
Copy to apps and then override. I am trying to find an example that shows this - but the only KB I can find is how to modify the Content Finder by adding a tab:
https://helpx.adobe.com/experience-manager/kb/CustomCFTab.html
this gives you an idea of how to modify. However - for your use case - you need to change the application logic to sort names of assets by name and display the sorted list of assets.
Views
Replies
Total Likes
Thanks for your reply.
I have overlay the content finder files. these files call the below service and display the result depends on the lastmodified date.
/bin/wcm/contentfinder/asset/view.json/content/dam
My Question is:
1) is there a way to modify the service?
2) Where is the service implementation (ie) path?
Thanks,
Michael
Views
Replies
Total Likes
Yes ,
Please refer to this article for adding filter to content finder tabs.
Thanks
Views
Replies
Total Likes
Hi,
You will need to write your own servlet that backs your Content Finder extension. You can take a look at http://adobe-consulting-services.github.io/acs-aem-commons/features/contentfinder-querybuilder.html for a method of implementing Content Finder tabs with a more flexible backend than is provided out of the box.
Note that you can also just do this by adding "order:jcr:content/cq:name" to your query, i.e. if you put "geometrixx order:jcr:content/cq:name" in the search box, you'll get the search results sorted by name.
Regards,
Justin
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies