Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn more

View all

Sign in to view all badges

Custom metadata schema changing the cq:tags to textfield

KiranVedantam1992
Community Advisor
Community Advisor

Hi All,

 

I have created a custom metadata schema as below:

  1. Go to Tools --> Assets --> Metadata schemas
  2. Select the default schema and make a copy of it [Name: Sample Schema]
  3. Select Sample schema and apply it to a folder
    1. All the metadata properties are fine till now
      1. KiranVedantam1992_0-1614671201960.png

         

  4. Add a new drop-down in the Basic tab in Sample Schema
    1. Now the Tags option is being converted to a text field, not a tag picker
      1. KiranVedantam1992_1-1614671239596.png

         

  5. Note: In the default metadata schema, I see the tag as "Text Field" only
    1. KiranVedantam1992_1-1614671417687.png

       

Please help me resolve this.

 

Thanks,

Kiran Vedantam

3 Replies
SureshDhulipudi
Community Advisor
Community Advisor

can you try like this

 

<__x909_889090900
cq:showOnCreate="{Boolean}true"
jcr:primaryType="nt:unstructured"
sling:resourceType="dam/gui/components/admin/schemafield"
allowCreate="{Boolean}true"
cq-msm-lockable="cq:tags"
fieldLabel="Tags"
metaType="tags"
name="./jcr:content/metadata/cq:tags"
resourceType="cq/gui/components/common/tagspicker">
<granite:data
jcr:primaryType="nt:unstructured"
visibilityCascading="default"/>
</_x909_889090900>

KiranVedantam1992
Community Advisor
Community Advisor
Hi @SureshDhulipudi, I am creating the new metadata schema values manually, not programmatically
jbrar
Employee
Employee

Which version of AEM are you using? Can you try with the latest service pack and see if you can still reproduce the issue?