Expand my Community achievements bar.

Custom metadata schema changing the cq:tags to textfield

Avatar

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

Avatar

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>

Avatar

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

Avatar

Employee Advisor

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