Expand my Community achievements bar.

Introducing Adobe LLM Optimizer: Own your brand’s presence in AI-Powered search and discovery

Mark Solution

This conversation has been locked due to inactivity. Please create a new post.

Re: Graphql Fragment not resolving fields

Avatar

Level 10

There is no sample/reference for usage of fragment in GraphQL query with respect to Content Fragments Schema in the official docs - https://experienceleague.adobe.com/docs/experience-manager-cloud-service/content/headless/graphql-ap...

 

I was able to arrive at this query by examining the Docs section in GraphiQL local IDE that the result of Query testList is TestModelResults. Hence created fragment out of the same. 

Vijayalakshmi_S_0-1650392046139.png

 

fragment on TestModel (the one you did) will be able to output the OOTB/standard variables like _path/_typename not the custom/dynamic ones(headline)

1 Reply

Avatar

Level 2

Yea I also noticed that the standard properties do work. The question is why. I cannot really understand this but maybe this is just an error in AEM?