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

[AEM Gems Webinar] Accelerating Experience Manager as a Cloud Service development with Rapid Development Environments
SOLVED

Adobe CQ - Bulk Create Tags (newbie)

Avatar

Level 1

We have a tone of tags to create, and we are hoping we don't have to create one by one.  Is there a way to "bulk upload" tags without using the API?

1 Accepted Solution

Avatar

Correct answer by
Level 10

Deponds on your use case. Use groove or curl or etc....  The curl syntax would be [1] replace within anchor accordingly. Example to create a tag Test under default namespace is [2]...

[1]    curl --data ":status=browser&_charset_=utf-8&cmd=createTag&jcr:description=<desc>&jcr:title=<title>&parentTagID=<namespace>&tag=<tagname>" http://<host>:<port>/bin/tagcommand

[2]

curl --data ":status=browser&_charset_=utf-8&cmd=createTag&jcr:description=Desc&jcr:title=Title&parentTagID=default:&tag=Test" http://localhost:4502/bin/tagcommand

View solution in original post

0 Replies

Avatar

Correct answer by
Level 10

Deponds on your use case. Use groove or curl or etc....  The curl syntax would be [1] replace within anchor accordingly. Example to create a tag Test under default namespace is [2]...

[1]    curl --data ":status=browser&_charset_=utf-8&cmd=createTag&jcr:description=<desc>&jcr:title=<title>&parentTagID=<namespace>&tag=<tagname>" http://<host>:<port>/bin/tagcommand

[2]

curl --data ":status=browser&_charset_=utf-8&cmd=createTag&jcr:description=Desc&jcr:title=Title&parentTagID=default:&tag=Test" http://localhost:4502/bin/tagcommand