multi-multifield in asset metadata schema | Community
Skip to main content
何塞47_X
New Participant
June 22, 2016
Solved

multi-multifield in asset metadata schema

  • June 22, 2016
  • 2 replies
  • 1454 views

Hi guys,

Has anyone tried to input/display asset metadata that looks like this (in xml):

<parent>

    <child>

        <text>value1</text>

        <text>value2</text>

    </child>

    <child2>

        <text>value3></text>

    </child2>

</parent>

I'm currently having to sandwich all these values into string arrays, not only for display but also for the asset search to work. Example:

parent="[child: value1\,value2, child2: value3]"

The display doesn't look very nice on the metadata schema but at least the search predicates work when pointed to "parent". 

Is there a better way of displaying this and have the search predicates work on it as well?

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by 何塞47_X

Hi smacdonald2008,

There is no documentation on how to handle multi-multifield values in the Adobe's online documentation. The available documentation states how to handle single-field values and single-multifield values.

I came up with this work around while looking at:

https://docs.adobe.com/docs/en/aem/6-1/develop/search/querybuilder-api.html

https://docs.adobe.com/docs/en/aem/6-1/administer/content/assets/metadata-schemas.html

Thanks : )

2 replies

何塞47_X
何塞47_XAuthorAccepted solution
New Participant
June 22, 2016

Hi smacdonald2008,

There is no documentation on how to handle multi-multifield values in the Adobe's online documentation. The available documentation states how to handle single-field values and single-multifield values.

I came up with this work around while looking at:

https://docs.adobe.com/docs/en/aem/6-1/develop/search/querybuilder-api.html

https://docs.adobe.com/docs/en/aem/6-1/administer/content/assets/metadata-schemas.html

Thanks : )

smacdonald2008
New Participant
June 22, 2016

Please reference the online docs you are following to perform this use case.