Skip to main content
Share Your Experience: Take the 2024 Developer Survey

Questions tagged [graphql]

Questions about GraphQL in the context of Tridion Sites Content Delivery

14 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
2 votes
0 answers
60 views

How to get keyword by tcm id from GraphQL

We are currently rewriting some old .net code that is using the old in process api to retrieve published data from broker. We are now trying to rewrite this to GraphQL. We stumble into a lot of things ...
Fredrik Sundman's user avatar
2 votes
0 answers
78 views

Is there a performance impact for using GraphQL fragments with the Public Content API?

We can create a reusable parts of a GraphQL query using a fragment as seen in the following example. fragment Fields on Component { itemId title content { ... on UntypedContent { data ...
Alvin Reyes's user avatar
  • 12.8k
2 votes
0 answers
86 views

DXA 2.2 Include Pages not pulling in using GraphQLModelServiceProvider

I have a DXA implementation 2.2 and I am having an error where the include page content is not pulling through. As per the DXA Documentation, I am using WebDAV URLs to link the include pages in my ...
Chris Eccles's user avatar
2 votes
0 answers
159 views

DXA 2.2 trying to fetch sitemap for docs publication, graphql is throwing error

Hi I am trying to fetch sitemapsubtree for docs publication using DXA 2.2 application which is calling GraphQLModelServiceProvider.GetChildSitemapItems method, but i am getting error ERROR [http-...
Neetesh Narvaria's user avatar
1 vote
0 answers
38 views

Its possible to retrieve the components published under a specific folder and filter by lastPublishDate?

query GenericQuery { items( filter: {itemTypes: [COMPONENT], publicationIds: [1], schema: {id: 460}} ) { edges { node { itemId title lastPublishDate ...
David Cabrera's user avatar
1 vote
0 answers
65 views

GraphQL requests using two groups of AND expressions grouped by Or operator

In the example below: https://docs.rws.com/816112/933327/sdl-tridion-sites-9-5-main-documentation/graphql-requests-using-boolean-expressions-with-more-than-two-operands A combination of two-operand ...
ahmad shnaiwer's user avatar
1 vote
0 answers
67 views

GraphQL: how to query items base on itemType AND itemId

I would like to retrieve through GraphQL all the published URLs of a page, for all publicationIds. Is there any way to retrieve items based on itemType (e.g., PAGE) and itemId (e.g., pageId="196&...
Maitane's user avatar
  • 11
1 vote
0 answers
134 views

How to exclude results in graphql query

I want to find a page through its keywords and/or metadata. I have this query that works correctly and returns all the pages with the keyword 9999 and aValue. { items(filter: { namespaceIds: [1],...
David Serrano's user avatar
1 vote
0 answers
183 views

GraphQL query example to get list of publications from where a page is published

We have a requirement that during the page loads we need to check whether that page is published from all the child publications or not. Based on that result, we need to add those URLs to the page. In ...
Sayantan Basu's user avatar
0 votes
1 answer
39 views

Images are not Resolving path using GraphQL 9.6 if its using inside other component like Article Schema as image field

{ typedComponent(namespaceId: 1, publicationId: , 8,componentId: 52117) { title ... on DownloadCenterAdvert{ title image{ ...
Jagannath's user avatar
0 votes
0 answers
49 views

How can I filter Components of particular schema using GraphQL based on content data field e.g. date>"2023-01-01"?

query GenericQuery { items( filter: {publicationIds: 1, itemTypes: [COMPONENT], schema: {id: 112233} #want to add here some condition e.g. component.column.date>"2023-01-01" ...
shreeniwas kushwah's user avatar
0 votes
1 answer
132 views

How to get all child component details of a page (with regions)

I am trying to get all page component details including child component details. returnChildRegionComponents parameter was set to true in components in request. But the returned response is missing ...
Sasi's user avatar
  • 21
0 votes
0 answers
38 views

Multimedia and Updated content is not reflecting when data is fetched using graphql api

I'm new to Tridion and I'm trying to created a page in CM and want to show that data into react using graphql. I'm able to get the data but facing issues with Multimedia : I don't know how to display ...
Sneh Gour's user avatar
0 votes
0 answers
42 views

How to migrate SDL web 8.5 in Process API (java implementation) to GraphQL

We have custom java code - sdl web 8.5 in-process API (Java) to fetch component presentations from broker DB and serve it to web application. What does it need to migrate this implementation to ...
Gulshan Thakur's user avatar