Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.
SOLVED

How to arrange the Tags in alphabetical order?

Avatar

Level 4

Hi All,

I want arrange all the tags in alphabetical order. i couldnt find any methods to arrange.

Could you please help me how to proceed?

i am using " Adobe Experience Manager, Version 5.6.1"

1 Accepted Solution

Avatar

Correct answer by
Level 10
1 Reply

Avatar

Correct answer by
Level 10

Use the TAG API

http://docs.adobe.com/docs/en/cq/current/javadoc/com/day/cq/tagging/Tag.html

write a service to get them all and order them in a collection. 

Look at this community article - it covers some good information about tags:

http://dev.day.com/content/ddc/blog/2009/04/cq5tags.html

http://dev.day.com/docs/en/cq/current/developing/tagging.html#Overview%20of%20the%20Tagging%20API