Making tagging required | Community
Skip to main content
New Participant
June 16, 2016
Solved

Making tagging required

  • June 16, 2016
  • 3 replies
  • 1379 views

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

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 Lokesh_Shivalingaiah

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.

3 replies

kautuk_sahni
Employee
June 17, 2016

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
Lokesh_Shivalingaiah
Lokesh_ShivalingaiahAccepted solution
New Participant
June 16, 2016

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.

smacdonald2008
New Participant
June 16, 2016

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.