Custom metadata schema changing the cq:tags to textfield

Avatar

Avatar

KiranVedantam1992

Avatar

KiranVedantam1992

KiranVedantam1992

01-03-2021

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

View Entire Topic

Avatar

Avatar

SureshDhulipudi

MVP

Avatar

SureshDhulipudi

MVP

SureshDhulipudi
MVP

02-03-2021

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>