Expand my Community achievements bar.

Enhance your AEM Assets & Boost Your Development: [AEM Gems | June 19, 2024] Improving the Developer Experience with New APIs and Events

Not able to search assets based on exact values of custom metadata fields.

Avatar

Level 2

In AEM DAM, we can search assets based on exact values of metadata fields, such as, title, description, and creator. For example, title:John

 

Same way when we search for a user-generated/custom property, with its field label in the property editor in lowercase, with spaces removed then we are getting error as shown in attachment.

 

Also, we are not able to search assets based on metadata fields in Brand Portal as well. (for custom and default fields both)

5 Replies

Avatar

Community Advisor

Have you tried to create a custom search filter in the admin assets search rail?
Maybe there is a typo or the custom property is not located in the metadata?
From what I have seen is, that you are able to create custom properties directly in jcr:content/ but those are not automaticaly added to the index.
If you create your custom property in jcr:content/metadata, this should work - and you can quickly check with a custom search filter.

Avatar

Level 2

One additional note is that for Brand Portal, you are unable to add an index for a custom field if it starts with xmp.  We were able to get it added by reaching out to Adobe Support but it took some time.

Avatar

Level 3

When dealing with user-generated or custom properties, ensure the following:
The field label in the property editor should match the actual metadata field name.
If the field label contains spaces, use underscores or camel case to represent the field name.
Ensure that the field name is correctly mapped to the metadata property in AEM.

Unfortunately, Brand Portal does not support searching assets based on custom metadata fields directly.
However, you can leverage smart collections and filters to organize and retrieve assets effectively within Brand Portal

Avatar

Community Advisor

@anurag_dang Did you find the suggestions from users helpful? Please let us know if more information is required. Otherwise, please mark the answer as correct for posterity. If you have found out solution yourself, please share it with the community.

Avatar

Administrator

@anurag_dang Did you find the suggestions from users helpful? Please let us know if more information is required. Otherwise, please mark the answer as correct for posterity. If you have found out solution yourself, please share it with the community.



Kautuk Sahni