Expand my Community achievements bar.

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

1 Reply

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