Skip to main content

Questions tagged [xm-cloud]

XM Cloud is Sitecore’s cloud-native, modern CMS empowering brands to create, manage, and deliver relevant content at lightning-fast speeds. Any question related to this topic, can make use of this tag.

Filter by
Sorted by
Tagged with
1 vote
1 answer
50 views

Use fallback language in language selector

Pretty new to Sitecore and FED in general. I'm currently trying to solve the following bug that we have: We have a LanguageSelector component and the website's default language is English. When we ...
0 votes
1 answer
51 views

Sitecore GraphQL search query to get fetch only the latest version of the page

I am trying to get all the pages to meet certain criteria using GraphQL query as below. But this query returns all versions of the page. (We need this in Preview mode of the page) How can we restrict ...
1 vote
2 answers
1k views

Applying patch config files to a local XM Cloud Docker environment

I'm doing some XM Cloud experiments. Based on the starter kit I've got it running locally with Docker: https://github.com/sitecorelabs/xmcloud-foundation-head There is also a Nextjs project which uses ...
1 vote
2 answers
58 views

How to Revert Item Source from Database to Resources in Sitecore XM Cloud After Template Modification?

With Sitecore XM Cloud, items can be used as resources, as detailed in the official documentation. If a template is inadvertently modified, its source will change from resources to database. This ...
2 votes
5 answers
140 views

Is it posible to change the underlying repository of an Sitecore XM Cloud Project

While waiting for Github Enterprise to be setup we started off with a personal github account to connect to a Sitecore XM Cloud Project and set thing up. So now I want to change the underlying ...
2 votes
2 answers
118 views

Search Results are not accurate

We're encountering a challenge with the Sitecore search function. Specifically, we're having difficulties when trying to locate web pages using certain keywords. Our investigation reveals that the ...
0 votes
1 answer
118 views

Sitecore XMCloud custom language

During Sitecore MVC time, we can customize the LanguageResolver to map custom language to the supported language. For example, whenever I type in /sc my custom resolver can map sc to zh-CN. As we are ...
0 votes
2 answers
333 views

Couldn't able to access graphql playground from localhost in XM Cloud

I'm encountering a CORS issue when making requests to the Preview GraphQL IDE. Despite setting the sc_apikey in the header, I'm still facing problems. The error message I receive is: Access to fetch ...
0 votes
1 answer
38 views

Index PDF files in Coveo

We need to index content of PDF document in Coveo, so we can match the user search against pdf content and provide the pdf url in the search results. We have a PDF Viewer component on a web page to ...
2 votes
1 answer
212 views

Extending or customizing XM Cloud - Sitecore Pages to support droplink editing

Is there a way to extend or customize Sitecore Pages to allow editing droplink or droptree in the side panel for XM cloud, similar to how we can edit the currently supported fields here https://doc....
3 votes
1 answer
506 views

Customizing Rich text editor in Sitecore Pages

Can we modify the rich text editor in Sitecore Pages, or at least add a new Paragraph style under this dropdown? As far as I know, in Experience Editor or Content Editor, we can customize this by ...
1 vote
1 answer
70 views

How to serialize domains in XM Cloud

Is there a way to serialize domain in XMCloud? When we deploy to an environment our created domain is removed, so we had to manually add the domain again. I couldn't find documentations on how to ...
2 votes
1 answer
89 views

Sitecore XMC latest metadata.js script doesn't support monorepo?

I've done this multiple times with Headless Sitecore Solutions which are not XMCloud however it appears that within the latest XMCloud version there are some additional scripts and components that get ...
1 vote
2 answers
74 views

Is there an option to enable custom error details in the Sitecore Experience Editor (XM Cloud)?

Is there an option to enable custom error details in the Sitecore Experience Editor (XM Cloud)? Typically, this involves adjusting settings in the web.config file. Additionally, can modifications be ...
0 votes
2 answers
69 views

Migration of customizations to XM Cloud

In our Sitecore 9.3 application we did customizations in commands, pipelines, ribbons. Considering automatic upgrade of XM Cloud - SaaS product, will these customizations be overwritten during ...
0 votes
1 answer
183 views

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

Team, on XM Cloud i can see the environment variables like below.. Along with GRAPH_QL_ENDPOINT i am assuming, SITECORE_API_KEY is the key which we can pass with X-API-Token to validate. When i tried,...
0 votes
3 answers
1k views

How to obtain GraphQL access token on local XM Cloud

I want to use the GraphQL playground on my local instance of XM Cloud. The URL is https://xmcloudcm.localhost/sitecore/api/authoring/graphql/ide/. My understanding is that in order for this to work, ...
2 votes
1 answer
54 views

Conditional Visibility Custom Strip Menu Item

Hello everyone and happy new year, Does anyone know how can I add a custom strip menu item in the Sitecore toolbar?Normally we will have Home , Navigate, Review, Publish, Version, Configure, ...
1 vote
2 answers
69 views

Using Next.js with the RestLayoutService

I've been doing some experiments with the XM-Cloud-Introduction GitHub repo. I followed all the Running the Repository steps for Full Local Development Mode. It's working and I also run the ...
3 votes
2 answers
105 views

How to migrate Sitecore forms to XM Cloud?

We have Sitecore forms in Sitecore 9.3 application. Now client wants to migrate application from SC 9.3 to XM Cloud. As Sitecore forms is not available in XM Cloud and not compatible with XM Cloud ...
1 vote
2 answers
90 views

Source query For General Link Field Type

We need to use a source query for the General Link field type to display only the current page's data. In Sitecore XM Clould, is there any way we can achieve it from the front code (NextJs) as the ...
1 vote
1 answer
84 views

Graphql sending site data for another project environment

I have set up 2 projects on XM Cloud sandbox environment. Generating GraphQL EdgeToken from PS (.\New-EdgeToken.ps1 -EnvironmentId <environmentId>) for Project's (xmcloud-edge-integration) ...
3 votes
4 answers
672 views

PowerShell Elevate Session State on XM Cloud

How can I perform an Elevate Session State in Sitecore PowerShell ISE on XM Cloud running in local container? On the Elevate Session State, I need to "Enter your credentials to validate access to ...
1 vote
3 answers
907 views

Get item under settings

I have a headless SXA site and I was wondering if it’s possible to query an item under Settings via GraphQL. I think I should start with the query example here for getting the root item of a site but ...
0 votes
1 answer
56 views

What's the best way to manage spaces and hyphens for Vercel deployment using XM Cloud?

We have our website set up with XM Cloud deployed on Vercel, using Next.js with TypeScript. We've configured Sitecore to replace spaces with hyphens in URLs to improve SEO performance. However, we've ...
1 vote
1 answer
115 views

Rollback Procedure in XM Cloud for Production Environment

To facilitate the deployment of our upcoming releases within the XM Cloud environment (on the production environment), I'm seeking guidance on the process of rolling back to a previous version in the ...
2 votes
4 answers
401 views

How to configure JSS application to make it Visible in "Sites" section in XM Cloud

We have a JSS application deployed to XM Cloud portal (community). From Portal Dashboard when I go to Pages I am able to see the site preview as well. But when I go to Sites tab, it says no sites ...
0 votes
1 answer
229 views

Server side rendering engine application URL

Is there anyways I can get the ID for default internal editing host value? If i'm not wrong then when we create a project using the XM Cloud Deploy App, the project is set up with a default internal ...
2 votes
1 answer
173 views

XM Cloud Content Backup

I am looking for a process in the case that content in XM Cloud gets deleted / wiped by mistake. Is there a point in time restore function available (even if it's only via Sitecore Support)?
1 vote
1 answer
58 views

Need help on setting up Coveo query pipelines and search hub for multiple search interfaces

We are using Coveo Platform for our XM Cloud project and there is a need to implement 3 search experiences on the website. Global Site Search Blogs Search - we have a separate Sitecore page template ...
0 votes
1 answer
68 views

Steps to create a mono repo with sitecore jss starter template

I am using this template to create my sitecore solution. I am planning to convert the sxastarter folder into a monorepo. So the folder structure will be something similar to this. Obviously my ...
1 vote
2 answers
93 views

Edge GraphQL endpoint is giving Unexpected Execution

In my current project setup, which includes Sitecore 10.3 deployed on XM Cloud and Next.js hosted on Vercel, I've encountered an issue with a component utilizing a GraphQL query. While the component ...
2 votes
1 answer
98 views

Issue with XM Cloud Environment Variables in Next.js

I am facing an issue getting an environment variable value from Sitecore deployment app in my Next JS application. I've set an environment variable XMC_DEFAULT_RH in my XM Cloud instance Deployment ...
0 votes
1 answer
44 views

XM Cloud NextJS - can we publish the specified version of workflow for previewing API instead of latest version?

Given that we have an item with 3 versions, v1, v2 and v3. Can we select a specified version, eg. v2, of the item for previewing on Nextjs headless? Currently, XM Cloud always publishes the latest ...
0 votes
2 answers
135 views

Setup Scheduled Job and custom ribbon in XM Cloud to perform sync action

our team has recently acquired Sitecore XM Cloud, and I am completely new to the Sitecore. We need to implement a feature where a button in the Content Editor allows marketers or developers to ...
1 vote
0 answers
28 views

Fetch LayoutData from either Sitecore 10.3 instance or XM Cloud Instance based on a condition provided by a 3rd party SDK

Long time Front-end specific Sitecore developer, first time question asker on this particular stack exchange. Hopefully, the title explains what I'm after somewhat, but we currently have a Sitecore 10....
3 votes
3 answers
592 views

Sitecore XM Cloud Redirect is not working on SXA sites with XM Cloud

We are trying to configure URL redirect rules using redirect map, but it is not working on edge. when we are trying to fetch rendering data from edge it is always giving us 200 Response code with ...
0 votes
1 answer
275 views

XM Cloud External Editing Host Configuration

Problem Statement I'm attempting to configure an external editing host using Sitecore's documentation for XM Cloud. My editing host is in Vercel. Headless SXA seems to have moved JSS App configuration ...
2 votes
2 answers
113 views

Do we have any option to edit multilist in sitecore pages in XM cloud?

I have added multilist from the content tree now to edit the selected items every time content authors need to switch between content tree and sitecore pages. Do we have any customization available ...
5 votes
3 answers
1k views

Getting the url of the reference fields using Graph QL

I want to expose my Sitecore data to frontend using GraphQL edge queries. How do I get the url of the items selected in the multilist field? I tried using url keyword but getting the below error (see ...
0 votes
0 answers
58 views

Images are not getting displayed on Vercel site but are visible in sitecore xmc pages editor

After publishing the item, images are NOT loading on the Vercel site. When I try to click on image link from the edge it gives following error - ERROR 9404: Could not fetch the image — the server ...
2 votes
1 answer
66 views

BlobNotFound Error with FEAAS Component on Sitecore XM Cloud

I am experiencing a BlobNotFound error when working with the FEAS component on Sitecore XM Cloud. The issue presents as an XML error message in the browser, stating, "The specified blob does not ...
2 votes
1 answer
693 views

Rendering host container returns 500

Whenever I try to access my local Sitecore instance in the Pages editor, it shows an error: Connection to rendering host http://rendering:3000/api/editing/render failed with the following error: The ...
0 votes
0 answers
37 views

How to Minify CSS for Improved Load Times on Sitecore Cloud

I've run a performance analysis on my Sitecore Cloud-hosted site and found that there is a potential savings of 4 KiB if the CSS file is minified. The analysis points to a specific CSS file with a ...
0 votes
1 answer
84 views

How to get details of selected item in Droplink used as a rendering parameter in next js in Sitecore XM Colud

I have a Droplink field in rendering parameter and I want name of selected item in Droplink in nextjs. I get guid id of the selected item of Droplink in params in nextjs but not other details of the ...
1 vote
4 answers
774 views

Error JSS Editing Secret

Finally, I configured a headless project on my xmcloud.localhost. An error exists when I try to access a page from my Headless local with Experience Manager. Error: "Connection to your rendering ...
0 votes
2 answers
131 views

Scaffold Item Sitecore

I just tried to create a new Scaffold component but when run for example: npm run scaffold -- MyComponent, i receive Cannot find module './scaffold-component.ts' Require stack:. Any idea to fix it? ...
0 votes
1 answer
83 views

Pull Sitecore Project [closed]

TBDTBDTBDTBDTBDTBDTBDTBDTBDTBDTBDTBDTBDTBDTBDTBDTBDTBDTBD
2 votes
2 answers
159 views

XM Cloud Sitecore Information BE

not needed, please delete it thanks . asdasdasdasdsadasdsadasd
0 votes
1 answer
236 views

Sitecore XMC NextJS Wildcard Pages

Sitecore NextJS, XM Cloud I need to query an API and get a list of Authors. Let's assume there are 1000 authors. In Sitecore, I created a folder called Authors and an item of template AuthorDetails ...