Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

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