Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.
SOLVED

Customize metadata form with Iptc4xmpExt properties

Avatar

Level 1

Hi,

We have image files representing museum objects, with the inventory number embedded in the Iptc4xmpExt:AOSourceInvNo -property. In the JSON view, it looks like this:

Iptc4xmpExt:ArtworkOrObject": {
"1": {
"newRendition": true,
"Iptc4xmpExt:AOSourceInvNo": "B08/24AB",
"jcr:primaryType": "nt:unstructured"
},
"xmpArrayType": "rdf:Bag",
"newRendition": true,
"isXMPArray": true,
"jcr:primaryType": "nt:unstructured"
}

Now we"re trying to make this information visible in the AEM forms (following the explanation in https://helpx.adobe.com/aem-forms/6/manage-form-metadata.html). However, I can't figure out which value I need to enter in the map to property filed. (I tried "./jcr:content/metadata/Iptc4xmpExt:AOSourceInvNo" and "./jcr:content/metadata/Iptc4xmpExt:ArtworkOrObjectAOSourceInv" - but no luck with these.)

 

Any ideas?

 

Henk

1 Accepted Solution

Avatar

Correct answer by
Employee

Are you trying to pre fill form with this data? If yes then this is independent of the metadata associated with the form. So meta data won't be prefilled on form render. What you need to do prefill, please follow https://helpx.adobe.com/aem-forms/6/prepopulate-adaptive-form-fields.html 

View solution in original post

3 Replies

Avatar

Correct answer by
Employee

Are you trying to pre fill form with this data? If yes then this is independent of the metadata associated with the form. So meta data won't be prefilled on form render. What you need to do prefill, please follow https://helpx.adobe.com/aem-forms/6/prepopulate-adaptive-form-fields.html 

Avatar

Level 1

"...Are you trying to pre fill form with this data?"

- mm, not really: the values are embedded in the files before we ingest the into AEM - each file has a different value. And so we want to make this values visible in the form. So I think it's just a matter of getting the property field in the form right.

henk

 

PS Meanwhile I found out that if I set the property to jcr:content/metadata/Iptc4xmpExt:ArtworkOrObject/1/Iptc4xmpExt:AOSourceInvNo, metadata can be written in the right way to the asset - but strangely, they remain invisible in the interface

Avatar

Level 1

mandeep gandhi wrote...

Are you trying to pre fill form with this data? If yes then this is independent of the metadata associated with the form. So meta data won't be prefilled on form render. What you need to do prefill, please follow https://helpx.adobe.com/aem-forms/6/prepopulate-adaptive-form-fields.html 

 

Hi there,

this issue is still open: we can write only one instance of the property, and although the value is written to the file (as an rdf:Bag), the value is not visible.

furthermore, it is not possible to enter multiple values (i.e. multiple bags) 

any thoughts on this?

 

best wishes,

 

Henk