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. 

Level 2
April 23, 2019

Hi ,

Property Picker(and auto suggestions) in search forms use metadata fields defined in metadata schemas. If i define a new field in metadata schema that points to jcr:content/metadata/dummyField then this field will be visible in property picker for search form.

Do note that if property is not visible in property picker you can still create a search predicate based on it. You'll just have to type complete property name (i.e. jcr:content/metadata/dummyField) instead of selecting from picker.