Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Adobe Summit 2023 [19th to 23rd March, Las Vegas and Virtual] | Complete AEM Session & Lab list

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.

The ultimate experience is back.

Join us in Vegas to build skills, learn from the world's top brands, and be inspired.

Register Now