How to Add Custom Search Facet based on Custom Metadata Fields | Community
Skip to main content
mattb33671946
Level 2
April 22, 2019

How to Add Custom Search Facet based on Custom Metadata Fields

  • April 22, 2019
  • 1 reply
  • 13334 views

I am setting up our Custom Metadata Schemas and would like to have the ability to filter by the values that are assigned to the new Metadata fields that I am adding.  From what I have read in the links below and others I've found online, that is done in Tools > General > Search Forms > Assets Admin Search Rail. 

Search Facets

Use custom search facets

However, when I add the Property Predicate, I am not seeing the Custom Metadata field when clicking through the Property Name check box & navigating through the jcr:content folders.  Is there a step that I'm missing here?  Or are Custom Metadata fields not available to be used as Search Facets in Assets?

Note that I'll also be looking to use this Search Facet on Brand Portal.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

1 reply

Adobe Employee
April 23, 2019

Hi, Can you first try to add a property in schema form which you are using and then map to new property. After that if you try to customize search form the property would appear. We are reviewing more on how this is working technically but would take time. In the meantime this workaround would unblock you. Thanks, Gaurav

mattb33671946
Level 2
April 23, 2019

Thank you for the response.  I'm unfortunately not familiar with the step that you are advising "...map to new property. After that if you try to customize search form the property would appear."

If I'm understanding correctly, that is done in the Metadata Schema Editor shown below, selecting the field I want to search by, and clicking the check box next to the "Map to property" field in the right. 

Assuming that's correct, can you provide some additional detail on how to map this Metadata field to a new property?

Follow-up questions:

  • If this is the process for getting one Metadata field as a Search Facet in the Assets Search Rail, will this mapping process need to be repeated for additional Custom Metadata fields on a one-to-one basis (one new property for each Metadata field to be represented in the Search Rail)?
  • Are there any additional steps required to make this new Search Facet available via Brand Portal?  From what I'm reading in the article below, once a Facet is enabled in Assets, it is available in Brand Portal; please confirm or provide additional direction. 

Thank you again. 

sindhug14537977
Level 2
July 17, 2019

Thanks for the clarification. The only questions I have at this point:

  • how to create a new Property (such as jcr:content/metadata/dummyField) that I will map the new Metadata field to. 
    • Is this done via CRX or the AEM UI?
  • am I correct that each Metadata field that will be represented as a Search Facet will need to be mapped to their own independent Property?

I'm also trying to do something similar.

I have to save product model Number to Asset metadata.

Are there any metadata fields already available to do this. (OR)

Should i totally create a new metadata property and use it to map a new field in metadata schema.

Did you get to implement this.

if so, can you please post the solution here.

Thank You!