New answers tagged

0 votes

Sitecore GraphQL or condition

You can extend the built-in Content Search API query and adds the ability to pass in conditions that can be OR'ed or AND'ed when the query executes. Conditions can also be grouped. @Adam Lamarre tried ...
0 votes

Sitecore GraphQL or condition

Search() in Sitecore GraphQL uses Sitecore Content Search API. After you perform search you could check Search.Log in your instance to see what Solr query was generated. For your requirements below ...
  • 461
1 vote

Sitecore JSS GraphQL CORS Error On Request

I was integrating 3rd party App with my Sitecore and I resolved the CORS by adding this in my webconfig <cors enabled="true"> <add origin="https://frontendabc....
0 votes

GraphQL - Get item under settings

To get the children of the context item, you can use the below query: query ListOfChildren( $contextItem: String!) { contextItem: item(path: $contextItem) { id name children{ ...
  • 2,140
0 votes

How to obtain GraphQL access token on local XM Cloud

Couple of things here, There are two types of API 1) Preview API - Which what you are referring to which has a URL https://xmcloudcm.localhost/sitecore/api/authoring/graphql/ide for this to work, you ...
0 votes

How to obtain GraphQL access token on local XM Cloud

On your local CM and the preview end point on your XM Cloud CM, you use the guid of your /system/settings/services/api keys/<your api key item> as the api key. If you look in your .env file you ...
  • 19.5k
1 vote
Accepted

Extend GraphQL schema for custom field

We had a similar challenge some time ago and we contacted Sitecore Support. Sitecore support summary: The Edge schema provider doesn't actually use the "fieldTypeMappings" configuration ...
  • 3,656

Top 50 recent answers are included