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?
Solved! Go to Solution.
Views
Replies
Total Likes
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 : )
Views
Replies
Total Likes
Please reference the online docs you are following to perform this use case.
Views
Replies
Total Likes
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 : )
Views
Replies
Total Likes