Solved
What's the GraphQL query to get data based on variation in GraphQL ?
Hi team, I am using GraphQL API in AEM and wanted to know how can I query variation based data from a content fragment?
Hi team, I am using GraphQL API in AEM and wanted to know how can I query variation based data from a content fragment?
Hi @spidey1405,
I think you can do something like this:
{
cityList (variation: "variation_name") {
items {
_path
name
country
population
categories
}
}
}
Under below page you will find more sample queries (including variation usage) that could be useful:
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.