Adobe CQ - Bulk Create Tags (newbie) | Community
Skip to main content
joseph_armstron
October 16, 2015
Solved

Adobe CQ - Bulk Create Tags (newbie)

  • October 16, 2015
  • 1 reply
  • 978 views

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?

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Sham_HC

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

1 reply

Sham_HC
Sham_HCAccepted solution
Level 10
October 16, 2015

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