Expand my Community achievements bar.

SOLVED

Making tagging required

Avatar

Level 2

Anyone know how to make a tag field in the metadata schema required like a text field?

1 Accepted Solution

Avatar

Correct answer by
Level 10

Hi Karel,

You can overlay '/libs/cq/gui/components/common/tagspicker/clientlibs/tagspicker.js'

and add a custom validation function to check for null and show a message respectively.

View solution in original post

3 Replies

Avatar

Level 10

The only thing i can think of is to create a workflow, Then write a custom step and the Tag Manager API. Pass the payload through the workflow and then use the Tag Manager API to check for tags on that given payload, If there are no tags - then email someone to alert them. 

Avatar

Correct answer by
Level 10

Hi Karel,

You can overlay '/libs/cq/gui/components/common/tagspicker/clientlibs/tagspicker.js'

and add a custom validation function to check for null and show a message respectively.

Avatar

Administrator

Hi 

Reference article for tagspicker is:-

Link:- http://experience-aem.blogspot.in/2015_05_01_archive.html (Search for tagspicker)

I hope this will help you.

 

Thanks and Regards

Kautuk Sahni



Kautuk Sahni