5 votes
Accepted

How to solve JSS application error "Error: Valid value for rootItemId not provided and failed to auto-resolve app root item."

Both the dictionary service and the sitemap service need a root item ID. This root item ID must be configured in two files: <jss-app>\src\lib\dictionary-service-factory.ts <jss-app>\src\...
Serge van den Oever's user avatar
5 votes

XM Cloud content delivery in local machine without any Edge url or config change?

Sitecore Experience Edge is a cloud-based CDN, it's not something you run locally. In basic terms, it is a CDN which is used as a replacement for your CD instances and Web database. You can read more ...
Rob Earlam's user avatar
4 votes
Accepted

How do I use the Sitecore CLI with Sitecore Cloud to serialize content?

Add https://sitecore.myget.org/feed/xmcloud-preview/package/nuget/Sitecore.DevEx.Extensibility.XMCloud reference: dotnet sitecore plugin add -n Sitecore.DevEx.Extensibility.XMCloud Then you should be ...
Alexander's user avatar
  • 1,253
3 votes

Getting the url of the reference fields using Graph QL

To get the URL of selected item in the multilist (reference filed) you can build up a query like below. Here I'm using the default jss site with running a local docker/graphql instance. query ...
Sumit Helaiya's user avatar
3 votes
Accepted

XM Cloud component with dynamic placeholder

This is a known bug in JSS 21 and has been fixed in JSS 21.0.5. The bug was that all dynamic placeholder keys must be called container-{*} - this was hard coded into the PlaceholderCommon.tsx file in ...
Richard Seal's user avatar
  • 19.9k
3 votes
Accepted

Sitecore XM Cloud local instance Experience Editor "The operation has timed out"

If you are getting slow performance on your Experience Editor locally, you are probably running out of resources in your docker container. By default, docker gives your container 1gb RAM and shares ...
Richard Seal's user avatar
  • 19.9k
3 votes
Accepted

NodeJs Container Build in Xmcloud Foundation head

This issue is due to firewall settings and network policy settings on your development machine. Couple of things to try: Ensure that the Use Docker Compose V2 option is not checked and Use the WSL 2 ...
Raman Gupta's user avatar
  • 2,339
3 votes
Accepted

Is it possible to give a different hostname than xmcloudcm.localhost to the xmcloud docker container?

The short answer is no. It is not possible to change the default url of xmcloudcm.localhost - this is a restriction as you expected, that the url must be whitelisted for the auth0 redirects. Because ...
Richard Seal's user avatar
  • 19.9k
3 votes
Accepted

Differences between Sitecore XP and Sitecore XM Cloud

Sitecore Forms is not available in XM Cloud yet, but Sitecore are planning to provide a XM Cloud Forms by the end of 2023. Currently you would need to use an 3rd party form provider such a Jotforms or ...
Adam Seabridge's user avatar
2 votes

XM Cloud locally with docker compose gives: unable to verify the first certificate

Ah blizz! I shouldn't set the environment variable NODE_TLS_REJECT_UNAUTHORIZED to 0 on the XM Cloud CM server (in the Docker container), but on my dev machine where I run jss start:connected. Now it ...
Serge van den Oever's user avatar
2 votes
Accepted

Sitecore XM Cloud local setup error with Node.js

I got help from Sitecore Slack Headless group and as suggested I run npm ci command on the Front-end app root directory. That resolved my initial problem. Initially I did npm install instead of npm ci....
Koushik Mukherjee's user avatar
2 votes
Accepted

Does Sitecore XM Cloud support custom code e.g. scheduled tasks, computed index fields

There is a great article created by Martin, where he shared something about the customization and the way we can deploy it to XM Cloud. According to the article, it is possible to customize XM Cloud ...
Sumit Bhatia's user avatar
  • 4,472
2 votes

Sitecore XM Cloud Local Setup without Docker

You can run the front application locally and connect to XM Cloud for your CM. To do this you will need to: make a copy of the .env file and call it .env.local Edit these variable values: ...
Richard Seal's user avatar
  • 19.9k
2 votes
Accepted

PowerShell Elevate Session State on XM Cloud

As a Solution to be able to run Sitecore PowerShell Script, e.t.c. Is change the elevationAction in the config to Allow or Confirm, then you don't need to enter a password. Set the elevationAction can ...
Jan Bluemink's user avatar
  • 1,165
2 votes

JSS deploy config to XM Cloud failed

Please make sure you are following the correct documentation and using the correct github repository. The xmcloud work differently and you need to use Sitecore CLI for deployment. Getting Started: ...
Ghodrat Ashournia's user avatar
2 votes
Accepted

XM Cloud Sitecore Information BE

I'm a .Net Backend developer too, I will share my experience in an XM Cloud project. Definitely, you have to expand your knowledge and learn the basics of React and NextJS, hooks, and TypeScript to ...
Freddy Rueda's user avatar
2 votes

XM Cloud Sitecore Information BE

Just to add some more context, depending on your Role on the project, as a backend developer: Having some knowledge about nextJs/react is a plus Having enough background about docker (for your local ...
Ghodrat Ashournia's user avatar
2 votes

Differences between Sitecore XP and Sitecore XM Cloud

With total agreement with Adam's answer, here are my 2 cents - Forms are not supported yet but there is a way out with some limitations. Just check this blog https://blogs.perficient.com/2023/08/08/...
Vikrant Punwatkar's user avatar
2 votes

Differences between Sitecore XP and Sitecore XM Cloud

Forms are not supported in XM Cloud. As per the Sitecore XM Cloud FAQs customers will need to ensure that they are not using Sitecore XM capabilities that will not be available with Sitecore XM Cloud. ...
Sumit Bhatia's user avatar
  • 4,472
2 votes

How to delete Item as Resource ( IAR ) from XM - Cloud?

IAR items are created as part of your serialization. That page will be included in your source control as a serialized item. The only way to delete it would be to remove the item from source control ...
Richard Seal's user avatar
  • 19.9k
1 vote

Getting the url of the reference fields using Graph QL

The error message states: Field url of type ItemUrl! must have a sub selection If you go to docs (on the right on your screenshot), you'll find the URL object props: What you need is to specify the ...
Serhii Shushliapin's user avatar
1 vote

Unable to query graphql in Delivery API playground

Once you’ve generated your token, you need to pass your API Token in the headers for your request. If you look at the bottom of the page you will see a HTTP HEADERS button that will give you a pane ...
Sumit Helaiya's user avatar
1 vote

Unable to query graphql in Delivery API playground

Your url is wrong in your ide. You are trying to query the IDE and not the API. Change the URL to : https://edge.sitecorecloud.io/api/graphql/v1 Change it here:
Richard Seal's user avatar
  • 19.9k
1 vote

How can I validate if my license.xml supports XM Cloud?

You don't need any separate license file to run XM Cloud in your local environment. All you need access to the XMCloud with your account, and your account must be an admin account. While doing the ...
Koushik Mukherjee's user avatar
1 vote

XM Cloud Starter kit - Unhandled Runtime Error - Error: Could not resolve site for name abc

I faced the same error while doing my initial setup with XMCloud. Please note, the name of the site is case-sensitive, so set the proper value in JSS_APP_NAME. If it is still not fixed, please try the ...
Koushik Mukherjee's user avatar
1 vote
Accepted

Experience Edge XM OAuth Credentials "Service not enabled within domain"

I found the answer, the audience url is incorrect in sitecore documentation. it is should be https://api.sitecorecloud.io and it's worked for me. Sharing here for reference.
Arun's user avatar
  • 21
1 vote

Does Sitecore XM Cloud support custom code e.g. scheduled tasks, computed index fields

At the moment following features and modules are not in XM Cloud as per the Sitecore documentation (https://doc.sitecore.com/xmc/en/developers/xm-cloud/limitations-and-restrictions.html): XP/xConnect/...
Sumit Helaiya's user avatar
1 vote

NodeJs Container Build in Xmcloud Foundation head

so after executing multiple commands I was able to fix this issue by executing the command ipconfig/flushdns https://sitecorehelphouse.wordpress.com/2023/02/11/curl-6-could-not-resolve-host-nodejs-org/...
Manoj's user avatar
  • 71
1 vote
Accepted

XM Cloud - "Unable to connect to the remote server" when viewing a page in Experience Editor

The error in my case was due to the field Predefined application rendering host on the Site's Site Grouping was empty. Navigate to your Site Grouping - /sitecore/content/<Headless tenant name>/&...
Jonathan Robbins's user avatar
1 vote
Accepted

Is SITECORE_API_KEY under XM Cloud App Environment variable is treated as X-API-Token for GraphQL?

The SITECORE_API_KEY is the token you need to pass in the header of your request to Experience Edge. The correct format is: { "X-GQL-Token": "XXX_YOUR_TOKEN_HERE_XXX" } This is ...
Richard Seal's user avatar
  • 19.9k

Only top scored, non community-wiki answers of a minimum length are eligible