Questions tagged [sxa]
Anything related to the Sitecore Experience Accelerator (SXA)
1,312
questions
0
votes
1
answer
24
views
What are the alternatives to Sitecore 9.3 SXA image gallery components [closed]
I am trying to find some alternatives to built in Sitecore SXA image gallery component. So far I haven't found many. This is to evaluate if it makes sense to buy some component that already out there ...
0
votes
0
answers
35
views
Problem with CD Environment after installing SXA (SC 10.2) [closed]
I added Sitecore SXA to the current instance using the glass mapper from the instructions on the Sitecore website. On CM it works fine, however on CD, it gets an error related to the glass mapper and ...
0
votes
2
answers
46
views
how can we get general link field from rendering parameter in sitecore sxa using scriban
I am trying to access general link field from rendering parameter in sitecore sxa using scriban
but it is accessing whole link tag with page id instead of url.
how can get normal url?
<a class=&...
0
votes
1
answer
24
views
XP editor navigation bar not working in SXA site
We inherited a solution that consists of a number of sites build with MVC. The solution has been upgraded to 10.2(.1) and we have added a new headless site using SXA and JSS. So we have a dozen "...
0
votes
1
answer
21
views
SXA Responsive Image - null reference
We noticed that if an image is not published, pages containing that image in a Responsive Image rendering variant are broken. And not just missing the image - but actually broken.
The site is running ...
0
votes
1
answer
61
views
Theme is not switched when overriding DoGetThemeItem
I am implementing this article so I can switch themes based on the a cookie or query string. My code is as follows.
protected override Item DoGetThemeItem(Item item, DeviceItem device)
{
...
0
votes
0
answers
37
views
backgroundImage images throws console errors on enabled CDN
We are facing issues on background image while using CDN.
We have SXA website and enabled Background image but its throws console error while enabling azure cdn. Found that extra "/" is ...
0
votes
1
answer
42
views
Setting up Sitecore sxastarter project in Linux/Ubuntu 22.04
I use Ubuntu for development. What is the best way to set up sxastarter project for Linux development in Connected mode or Sitecore first approach? Are there any resources available that focus on ...
1
vote
2
answers
126
views
Media (Images) not loading and media dialog shows error
We have upgraded Sitecore 9.0.2 to Sitecore 9.3 and it is SXA based solution.
And media search is not working after the upgrade. The Media dialog box shows an empty result and returns a response as ...
1
vote
1
answer
65
views
Custom Page List Component always get same datasource value
We have recently upgraded the project from Sitecore 9.0.2 to Sitecore9.3. There is a component called Page List and we have created a custom component from it as per custom need and it was working ...
0
votes
0
answers
22
views
Sitecore SXA All Facet values not reflecting
I am using Sitecore 10.1 SXA with Solr on Azure Kubernetes. On a Multicheck list filter, the facet values coming from sitecore_sxa_web_index exceed 100 values, hence facet.limit increased to 1000. ...
0
votes
3
answers
92
views
Redirect map template not working in sitecore 10.2
In Sitecore 10.2 Sxa, I am trying to add redirection rules with redirect map, which is under the settings item.
But when I try to add a redirect map , redirection does not work. What could be the ...
1
vote
0
answers
66
views
Not able to add same component twice inside the dynamic placeholder
I have created one component and inside that main component cshtml page, added one DynamicPlaceholder, in-order to add another component twice for configurations. First time, when I drag and drop the ...
0
votes
0
answers
21
views
SiteCore headless development material [duplicate]
I am learning SiteCore headless development but I don't know what is the best source for headless
0
votes
2
answers
136
views
Sitecore - Remove related publish option [duplicate]
Is there any way to remove the related publish option or always uncheck this option when I publish?
1
vote
1
answer
103
views
How to setup a multilingual site with the same domain but different home items
I have a single SXA site with multiple language versions like English,German,French,Italian etc.
Now, I have following requirement :
Each language version must have it's own content node like below ...
0
votes
1
answer
47
views
How to resolve page datasource of composite rendering in sitecore sxa
On the page item I have added Tabs composite component and on the tab item added Hero component and data source set from page data folder like page:Data/hero
I am running logic on publish end event, ...
0
votes
3
answers
48
views
Generating Custom Error pages using SXA - Docker Container AKS
We are using Sitecore 10.2 with SXA and it is deployed on docker using AKS. We are trying to generate a static error page from the Site grouping site the error page is created but if we are again ...
1
vote
0
answers
53
views
Custom SXA Rendering displaying Incorrect Data Source
I've built out a custom SXA component by cloning an existing component, creating a custom Controller/Repository/View and updating the template. The template has 3 fields on it, a Checkbox, a Droplist, ...
0
votes
1
answer
84
views
Issue with links for a SXA Multisite when a site definition has multiple hostnames
I've got this odd issue with our Sitecore 10.2 with SXA implementation. I have a site definition that has multiple host names associated with it. On occasion, the links on the site will include the ...
2
votes
1
answer
37
views
Refused to display 'https://www.google.com/' in a frame because it set 'X-Frame-Options' to 'sameorigin' in sitecore 10.3 XM in Sitecore 10.3
I am having issue in IFrame. IFrame cross domain url is not working in sitecore 10.3 XM.
Refused to display 'https://www.google.com/' in a frame because it set 'X-Frame-Options' to 'sameorigin'
I ...
0
votes
1
answer
178
views
Invalid graphql endpoint, Verify that 'layoutServiceHost' property in 'scjssconfig.json' file or appropriate environment variable is set
I am a newbie here. I was editing the .env file for adding the graphQLEndpoints. But in between something broke and I got this error.
This is the scjssconfig.json file
{
"sitecore": {
...
0
votes
1
answer
51
views
Can we add rendering in body-top placeholder in Partial design?
We would like to add one div at the top of #wrapper in Sitecore SXA 1.8.
Would like to add extra div through Content Editor. I don't want to add in layout view.
I tried to add metadata partial design ...
2
votes
1
answer
68
views
Incorrect Canonical URL in Sitecore SXA Multisite - Domain Name gets appended twice
In our Sitecore 10.2 XM SXA website, the canonical URLs are not being generated properly - the domain name gets appended twice -
<link rel="canonical" href="https://prod.*******....
0
votes
1
answer
39
views
Control order of components added from page design on the assigned page
I have some pages previously created with some components added to the main placeholder. Then I created a new page design and partial design on which I added a new component to the main placeholder as ...
1
vote
1
answer
46
views
How to change Media Library Theme Path(custom theme folder path) in existing FrontEnd code solution
I have requirement to setup theme for new microsite in our sitecore-SXA project so follow below steps do it, and it works fine too.
npm config set @sxa:registry https://sitecore.myget.org/F/sc-npm-...
0
votes
1
answer
37
views
Google search result adding language in the URL
We have added languageEmbedding : never in our Sitecore SXA site. We are not getting language in the URL when we open site directly.
However, when we are searching any result on google and redirect ...
1
vote
1
answer
33
views
Saving one language version of search scope item overwrites other languages versions of same item
I am working on a multilingual site in Sitecore and I need to filter search results by current language.
I am using a search scope and I would like to have different versions of a search scope, one ...
0
votes
0
answers
47
views
Create Wildcard Pages with dynamic content [duplicate]
I'm trying to create a page with a Wildcard item that displays different content depending on the url. That's why I created an item with a controller inheriting VariantsController.
But I can't change ...
1
vote
1
answer
79
views
Sitecore SXA Multisite - Robots.txt is returning a 404
I have a Sitecore 10.2 site that, when accessing the site's robots.txt page, gives me a 404.
I have filled out the Robots section in the Content Editor -> Settings page and have properly saved/...
0
votes
0
answers
81
views
Sitecore Experience editor error in xm cloud partial design
Looking for help on solving Experience editor error in xm cloud.,
We are using xm cloud + next js to build a website.
Experience editor is not opening to do edits for partial design, whereas it is ...
1
vote
0
answers
131
views
Dynamic placeholder for Left and Right column in Sitecore JSS NextJs Rendering Component
I have SXA-JSS Next.JS based component for Sitecore 10.3.0, I want to have 2 placeholders with the different key, but with a dynamic suffix. e.g. I need 2 equal columns.
In CMS, I Created two ...
1
vote
3
answers
183
views
Add class to body tag in partial design
I would like to add CSS class to body tag at partial design without changing MVC layout in Sitecore 9.1 SXA.
Kindly someone assist me if this is possible.
0
votes
1
answer
113
views
Get Datasource Item from Rendering with Powershell [duplicate]
I am looking for powershell script to get datasource item of a rendering. Right now I am getting path of datasource item. But since I am using SXA, I expect few paths like, local:/Data/Hero Banner
...
1
vote
0
answers
33
views
Sitecore Search Scope Boosting - 400 Bad request
I have created a search scope that works very well. But I would like to make the search box to search the items based on the field value. So I add a new rule in the boosting section and it throws a ...
0
votes
0
answers
28
views
JSON template in Sitecore 10.1
Is there any alternate to JSON template in Sitecore 10.1?. We migrated to Sitecore 10.1 from Sitecore 8.
One of the Rendering Variants is JSONResults, which includes JSON Template inside JSONResults. ...
0
votes
0
answers
38
views
OpenGraph's Image field not working for Content Hub images
I have a fresh SXA instance with version 10.3. It is connected to a Content Hub.
In the default Home page, there is an Image field in the Open Graph section.
Test with image from Media Library
For the ...
1
vote
2
answers
128
views
Issue after using Opengraph.config file
After testing the code to use the opengraph class from this article.
https://www.maartenwillebrands.nl/2021/10/05/sitecore-sxa-creating-a-proper-fallback-for-the-ogtitle-element/
I decided to remove ...
0
votes
0
answers
29
views
Adding custom script path after assetlinks in Sxa layout file
I have a situation where I need to add a custom script path after script paths appearing from assetlinks.Scripts in the Sxa Layout file. Tried using placeholder after for loop, but did not work out ...
0
votes
0
answers
29
views
Sxa sort by relevance does a random sorting of search results in absence of search term
I am using Sxa Sort by relevance in search results and the facet is based on the title. This is used in such a way that it defaults to relevance on the site. Additionally used a boosting feature on ...
0
votes
1
answer
33
views
Is there any way to add RawHTML in form elements on Sitecore sxa xm? [duplicate]
Im not getting the RawHTML element in the form element section.
0
votes
0
answers
41
views
Using Sitecore item link as token in Sxa rendering VariantSection
I'm trying to use the Sitecore item link as tokens in the data or link attributes as part of the VariantSection. I referred to this How to use tokens in Link attributes in VariantField? but didn't get ...
1
vote
0
answers
50
views
SXA 10.2 SiteManager not resolving correctly in Azure PaaS XP environment
I'm at my wits end trying to figure out why my Sites are resolving (or not resolving) the way they are. A little background. This is a migration from SC 9.1.1 to SC 10.2. I've gone through the ...
0
votes
0
answers
25
views
How to implement boost rules for SXA search results in Sitecore
We are using Sitecore 9.0 (solr 5.0), soon migrating to 10.2 (solr 6.3).
I am referring Sitecore documents -
https://doc.sitecore.com/xp/en/developers/93/platform-administration-and-architecture/...
1
vote
1
answer
39
views
Installing Sitecore SXA package spins endlessly on cloud
We have Sitecore 9.3 PAAS Azure environment and want to add SXA. We had to install PowerShell 6.1 version as the compatible version 6.0 gave errors and installation would not complete. We were ...
1
vote
1
answer
222
views
Sitecore.XA.Foundation.Variants.Abstractions.Pipelines.GetVelocityTemplateRenderers is Missing in Sitecore 10.3
I am upgrading Sitecore from 9.1 to 10.3 and noticed the class Sitecore.XA.Foundation.Variants.Abstractions.Pipelines.GetVelocityTemplateRenderers is no more present in Sitecore.XA.Foundation.Variants....
1
vote
1
answer
204
views
Images not loading in SXA site
using Sitecore 10.3
This is my local instance. I have two sites under /sitecore/content.
One is from SXA, like this:
sitecore
|_content
|_Tenant
|_Site
|_Home
And the other is non-...
0
votes
2
answers
235
views
Disable publish button for admin user
We would like to disable Publish button under the home menu in experience editor for admin users as well in Sitecore SXA.
Tried approach :
I went to core database /sitecore/content/Application/webedit/...
1
vote
2
answers
353
views
SXA indexes not created after installing 10.3
I have installed 10.3 on my Windows 11 Pro machine by running the PowerShell script - XP0-SingleDeveloper.ps1.
However, that doesn't install SXA.
So, I had to install separate packages for SXA & ...
0
votes
2
answers
173
views
Hide publish item from context menu
I am creating some scenarios where I need to hide Publish Item option from Context menu in Sitecore SXA.
I have tried in core database to hide it under this path:-
/sitecore/content/Applications/...