Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.

How do I apply filter in GraphQL based on metadata fields?

Avatar

Level 1

We have defined our content fragment model, and are able to run queries based on the fields in the content fragment model. However, we would additionally like to filter based on metadata fields, such as a field of name: title in stringMetadata whose value is Computer.

 

So far we haven't been able to figure out a query that would work, and I am not sure if this is supported. The example queries on adobe site show how to retrieve the metadata, but there is not example on how to actually filter based on those values.

1 Reply

Avatar

Level 1

I have been trying to accomplish the same thing without success.

I don't see any way to filter by metadata, which is a huge disappointment if this is not supported. The metadata like title, tags, and other elements from a custom metadata schema is very important.