Issue while fields into Adobe Experience Manager UI for asset metadata
- March 4, 2024
- 2 replies
- 834 views
Hello team, hope you are fine.
I would like to know if you can assist me on understanding what could be the issue I introduced.
Here is the timeline of facts
- I added 5 fields in the UI on the metadata screen of the fields.
- One of the fields I added was a multivalue fields
- I fixed (I think) as it was wrongly configured (I am sharing the code before I fixed the multivalue field in order to see if that is related to my code)
- I merged the changes in dev and that caused the attached outcome (fields in the metadata schema validator in only one column and when editing metadata for a random asset, it becomes grey
Here are two fields I added as example:
<_x0031_678945703793
jcr:primaryType="nt:unstructured"
sling:resourceType="dam/gui/components/admin/schemafield"
fieldLabel="Alt text (from GDrive)"
name="./jcr:content/metadata/indd:altText"
resourceType="granite/ui/components/coral/foundation/form/multifield">
<granite:data
jcr:primaryType="nt:unstructured"
cq-msm-lockable="./metadata/indd:altText"
metaType="text"
requiredCascading="always"
visibilityCascading="default"/>
</_x0031_678945703793>
<_x0031_678945703794
jcr:primaryType="nt:unstructured"
sling:resourceType="dam/gui/components/admin/schemafield"
emptyText="Select Option"
fieldLabel="Asset Source"
jsonPath="/conf/indi/dam/metadata-schema/options-json/assetSource.json"
name="./jcr:content/metadata/indd:assetSource"
resourceType="dam/gui/coral/components/admin/schemaforms/formbuilder/formfields/v2/metadataselect">
<granite:data
jcr:primaryType="nt:unstructured"
cq-msm-lockable="./metadata/indd:assetSource"
metaType="dropdown"
requiredCascading="always"/>
<items jcr:primaryType="nt:unstructured"/>
</_x0031_678945703794>
This piece of code is in the following file: ui.content/src/main/content/jcr_root/conf/global/settings/dam/adminui-extension/metadataschema/indi/.content.xml
Here is the other piece of code I added:
<altText
jcr:primaryType="nt:unstructured"
name="jcr:content/indd:altText"
propertyIndex="{Boolean}true"/>
<assetSource
jcr:primaryType="nt:unstructured"
name="jcr:content/indd:assetSource"
propertyIndex="{Boolean}true"/>
This change was introduced on the following file: ui.apps/src/main/content/jcr_root/_oak_index/.content.xml
Would it be possible for you to help me understand what I have done wrong?
Thanks a lot.