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 change my above command to below
dotnet sitecore connect --ref xmcloud --cm https://xmcloudcm.localhost --allow-write true -n local
and command just worked, to double check this behavior i created a Sitecore ticket asking them if the documentation needs to be updated? Because clearly everyone will get same error if they follow it, and they acknowledged the behavior and reproduced on their end and promised to send a documentation change request at their end
I hope this will be corrected soon.
Comments
Post a Comment