Is there a way to fetch Referenced Content Fragment along with Parent CF JSON?
Note: Asset API shows referenced CF URL but not Json. We have CFM nested in one level folder (Ex: /conf/xyz), hence GraphQL doesn't seem to be working and is not suitable for the use case.
Solved! Go to Solution.
Views
Replies
Total Likes
Hi @Bhuwan_B , just to clarify, is Graphql query not working for a query to a content fragment that has a property that references to another content fragment?
query {
contentFragmentByPath(path: "/content/my-site/my-folder/my-content-fragment") {
... on ContentFragment {
title0
description0
otherContentFragment{
... on ContentFragment {
title1
desc1
image1{
url
altText
}
}
}
}
}
}
Above query type has been tried or its not applicable to current question?
Hi @Bhuwan_B , just to clarify, is Graphql query not working for a query to a content fragment that has a property that references to another content fragment?
query {
contentFragmentByPath(path: "/content/my-site/my-folder/my-content-fragment") {
... on ContentFragment {
title0
description0
otherContentFragment{
... on ContentFragment {
title1
desc1
image1{
url
altText
}
}
}
}
}
}
Above query type has been tried or its not applicable to current question?