Skip to main content
Level 2
June 16, 2016
해결됨

Making tagging required

  • June 16, 2016
  • 3 답변들
  • 1402 조회

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

이 주제는 답변이 닫혔습니다.
최고의 답변: 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 답변

smacdonald2008
Level 10
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. 

Lokesh_Shivalingaiah
Level 10
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.

kautuk_sahni
Adobe Employee
Adobe 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