Skip to main content

Posts

Showing posts from April, 2023

XM Cloud - 10 Steps Of GraphQL Mutations Using Authoring APIs and Troubleshooting

  Well, well, well Believe me it's been tough getting my understanding around all the dots which we need to connect to make the GraphQL IDE to work, and top of it execute a successful query via it. I am writing this blog to show what all troubleshooting i did, Couple of mistakes which i found, some new things that i had to learn along the way to make it work, Different types of APIs, and their meanings, like Preview API, Delivery API, Token API, Admin API, but all in summary, after this blog, i am sure no one should land into the issue like i did, that is the purpose. NOTE: When you start reading out the documentation for the first time, there will be lot of confusions around what are all these APIs, and which one to use when? Different headers for different APIs, I will have a different blog explaining all of them but specially when you are working with or if you have questions around Authoring API, It is different because it does mutation operations against Sitecore CM, for CRUD

XM Cloud - Place holders path missing from serialization module

Hi Team, As i have been setting up Sitecore XM Cloud instance, I have been following the guide Set up local , Which is the best guide available to get started with XM Cloud, i have been following the same but there are some issues with that page which i already have raised previously and have also get them verified with Sitecore support too. Similar thing i found before few days, After all serialization module given on the  https://doc.sitecore.com/xmc/en/developers/xm-cloud/walkthrough--setting-up-your-full-stack-xm-cloud-local-development-environment.html   link, There are some steps given on to create serialization module and it also ships with one .module.json file too But when you use that guidelines and serialize things in your local by fetching from cloud instance and pushing it into your local instance, One of the item shows GUID instead of item Solution If you closely see the module.json given on the guide, it is only showing couple of item paths to be serialized  As you ca

XM Cloud - Reference environment configuration 'xmcloudlocal' doesn't exist

Hi Team, Recently, I have been setting up XM Cloud instance in my local and sending some changes back to XM Cloud, and for that i needed to do serialization of the content from cloud to local and than local to push into XM Cloud. Because i was using the documentation given on  Walkthrough: Setting up your full-stack XM Cloud local development environment (sitecore.com)   Because if you are like me, you just follow the steps first to see how things work, in one of those steps, i encountered below exception    Error Reference environment configuration 'xmcloudlocal' doesn't exist" With my surprise, because i am following the documentation steps, so it should just work, i double checked that i have not missed any steps, The site documentation was mentioning below  I double checked my user.json file to see if i have this ref value as " xmcloudlocal " available or not, and with my surprise, it was not there, but i had entry with ref " xmcloud ", so i cha