Questions tagged [sxa]

Anything related to the Sitecore Experience Accelerator (SXA)

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

Configure rendering variant parameter in a page content structure component in different sites

I'm using Sitecore 9.1.1 and SXA 1.8.1. I have the following structure: A shared site in which i create the page designs, partial designs and rendering variants. And I have another two sites: Site A ...
1 vote
1 answer
24 views

How to use a Static Binding in SXA Scriban

Is there a way to use a static Binding (View Rendering) in SXA Scriban Variant ?
0 votes
2 answers
171 views

How to resolve item from one site to another site in sitecore 10 SXA

I have items on one site, want to display that item in multiple sites. So how to resolve that shared items in the current site. Template to page design mapping, header and footer should be assigned ...
1 vote
2 answers
195 views

SXA Page Designs versus Standard Values

In the original methods used to set up page layouts (Standard Values and Branches) I was able to predefine a set of renderings without data sources applied, that could be wired up when the page was ...
1 vote
1 answer
330 views

How to make SXA search on particular Data folder?

I'm using SXA 1.7 and Sitecore 9.0.1. I have created a folder under the Site node and when my search should check the field values under the folder. For this I have created a search scope. I'm ...
1 vote
1 answer
159 views

SXA 1.2 Error Pages configuration

i'm currently using SXA 1.2. I have to create 404 and 500 page. do we have out of the box Feature to configure 404 and 500 Page. In the recent SXA release i can see we can able to configure(see the ...
0 votes
1 answer
45 views

How to set the 'Link Description' value from CMS

I am using a Link component and I want to make the 'Link Description' field a dynamic value. Is there a way to set the 'Link Description' value from the CMS side?
1 vote
1 answer
156 views

Trying to publish themes but nothing changes when I do

If I ever change anything with my theme, take out a base theme, remove a script, etc., if I publish, it doesn't update on the website. It isn't even reflecting in EE. Then sometimes randomly if I ...
0 votes
1 answer
57 views

Editing SXA Searchbox rendering parameters thru powershell

I am trying to update the 'Search results signature' and Suggestion mode of SXA Search box rendering of items thru below powershell script but it is adding new parameter at the bottom instead of ...
3 votes
2 answers
39 views

How to set Analytics Tracking Event as download using Sitecore Powershell script

I'm trying to set Analytics Tracking Event as Download using Sitecore PowerShell script for most media items which have pdf extension. like this: Below is the script, I have written but not working $...
0 votes
0 answers
44 views

JSS: Accessing the current SXA tenant and site name from a React API

I'm on Sitecore 10.2 so I don't have access to the new 10.3/XM Cloud functionality which accomplishes this out of the box. I've implemented a robots.txt handler for Headless SXA as per this article: ...
0 votes
2 answers
386 views

How can I get to my site settings in my content tree from a scheduler class?

I am trying to get to my site settings item in my tree to see what office id I need between my US site and my CA version. I have tried Sitecore.Context.Site but since this is a scheduled task it comes ...
2 votes
2 answers
406 views

Sitecore SXA search result count in scriban

Is there a way to read the search results count in a Scriban template in a rendering variant of SearchResult in SXA? I have a requirement that if the search results count is less than 6 the result ...
1 vote
1 answer
81 views

Link Lists not showing up in search

I am working on the search for my site. It is working as expected for the most part, but I noticed that if I add a link list with multiple links, the text from those links does not show up in the ...
0 votes
2 answers
299 views

How to use different themes folder for an SXA site?

I have two different sites. SiteA and SiteB (Cloned version of SiteA). I want SiteB to point to themes folder of SiteA instead of its own. I have updated the field 'Themes Folder' of SiteB site item ...
1 vote
0 answers
45 views

How to make SXA Dropdown filter default value selected

I have a Sitecore SXA dropdown filter on the page. On page load, by default first item is getting selected (All). I would like to provide the default value that should be selected on page load. For ...
1 vote
0 answers
137 views

SXA Media Link Component - Value cannot be null. Parameter name: name in Experience Editor

I am working with SXA Sitecore 10 where I used Media Link Component to attach a file. Everything is working fine except attaching a file in Experience Editor. I always get Value cannot be null. ...
0 votes
1 answer
88 views

How to show the checklist filter data when it is clicked on the filter component

Using Sitecore 9.0.1 with SXA 1.7 and I want to display the checklist filter data when it is clicked on the item. Can anyone please explain how can I do that? Below are the things which I have done ...
0 votes
1 answer
262 views

Clone of a rendering in SXA not showing Variant

In Sitecore SXA, I've created a clone of a rendering called "Page Content". But when I add this on a page, it doesn't render the data. When I checked its presentation details I found that ...
7 votes
1 answer
393 views

Good workflow for SXA PowerShell scripts

I am trying to find a good way to work with PowerShell scripts that we use for SXA such as for scaffolding. I have tried the PowerShell ISE client that was built into Sitecore but sometimes the UI was ...
1 vote
1 answer
313 views

Redirect home item not working with SxA

We are using SXA 1.9 and I can reproduce the behaviour on a vanilla sitecore instance with SXA 1.9 installed. I've created a tenant called "my-tenant and" a site called "my-site" ...
2 votes
1 answer
394 views

SXA Search Boosting Throws Error

I have configured the search scope for SXA (Sitecore 9.3) and it works as expected. However, when I try to add boost configuration to the search scope it throws the below error. Invalid Method Call ...
5 votes
2 answers
311 views

SXA headless with (partial) design: placeholder not found

I am using Sitecore 10.3 with SXA and JSS. For the head setup I used a post from Dan Cruickshank and that worked fine. I did get a nice blank homepage and no errors. I created 3 partial designs and ...
1 vote
1 answer
63 views

How is robots.txt content created

This is a multisite implementation with sites under one tenant. There is no robots.txt file in the root. This is what I have tried: I have cleared the content for Robots content field for all sites. ...
1 vote
2 answers
71 views

Item should be Alphabetic order in multilist field

There is a requirement that came across in one of our project, where we want to display items in sort order in the Multilist field. OOTB functionality of multilist field to show items based on camel ...
0 votes
0 answers
64 views

Object reference not set to instance in preview mode for sc_translate

I am getting object reference not set to instance at sc_translate in preview mode When i checked the scriban loc (10,57), it is sc_translate What can be the possible reason for this?
1 vote
1 answer
79 views

Composite component datasource items getting crawled in google search results

We are using Sitecore 10 and SXA. In our site, we have some composite component like accordion, tabs etc. When we are searching in google , we can see some links to our datasource items as well, like ...
0 votes
1 answer
195 views

Sitemap is showing Virtual folder name after the language code in Sitecore 9.0.1 with SXA 1.7

I am using Sitecore 9.0.1 with SXA 1.7. We have created one site where the languages used are "zh-CN" and "en" and configured the site to use virtual folder "/cn". When ...
0 votes
1 answer
282 views

How to apply styles for partial designs in SXA?

I'm creating the header for an SXA site. I created a new header Partial Design, and then in Experience Editor added some stuff from SXA toolbox. So now, how do I apply (my custom) header CSS classes ...
0 votes
2 answers
38 views

How to show custom model parameter in rendering variant

I would like to show the custom model value in the rendering variant. Could someone assist with this? In our scenario, we are getting the URL in the custom model property and would like to show this ...
1 vote
2 answers
138 views

Updated field in rendering variant not working

The requirement was to show the last updated date and time of the item in the page. So I tried to create a rendering variant of page content with field as Updated (which is there for every item ...
1 vote
1 answer
184 views

Including the solr field in search result along with item fields in the Search result rendering variant

I am using sxa search result for rendering the service items which contain coordinates(lat-lang). We have got a new requirement where the same services may be available in different locations. Hence ...
1 vote
1 answer
167 views

Sitecore SxA Composite Layout not adding custom css and js

We have created a custom Accordion Module. Therefore, we also changed the Accordion MVC Layout.cshtml for Accordion Items. But our custom theme doesn't appear in the head nor does the js show up. What ...
1 vote
1 answer
454 views

Component's personalization rule applies only once

In our solution we're using custom personalization rule to show/hide components based on some criteria. This rule works fine but only for the first time the user visits the page after it's published ...
2 votes
0 answers
41 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....
1 vote
2 answers
248 views

Accordion Items are not shown up after indexing even in scope query when we provide template name

I am trying to make my accordion items (data source is in Data node) searchable. I tried adding _searchable to the accordion-item, but I guess it is not getting indexed. As I try to add it using ...
1 vote
1 answer
105 views

Rendering variant does not render data if template is changed

Scenario: I have a template that has shared fields, now I got the requirement to provide multilingual support in few components. I can't change the shared field because data should be shared in other ...
1 vote
1 answer
30 views

Single SXA facet pointing to two different fields from different template

I have two different page types in the Sitecore 10.2 SXA search scope. So template1 contains sdate field and template2 contains edate field for date. I need to point the facet to both the fields in ...
2 votes
1 answer
66 views

Unable to map sxatags_sm field to model

I have indexed my content in the SOLR 8.8.2 and the tags available on those items are being pushed in the SOLR as below: { "description_t_en":"Lorem Ipsum is simply dum", &...
0 votes
1 answer
124 views

SXA Search scope dynamically passing facet information

We have a requirement where we need to display the first two news items (sorted by time) and along with it there will be a link to view the rest of the news as well (this is page 1). If they click on ...
0 votes
0 answers
25 views

SXA Creative Exchange Upload Action is failed using gulpBuildMain

I'm working on Sitecore 10.2 with SXA. I'm creating a theme and tried to upload the same using gulp commands like gulp buildMain but facing the issue. Status code:500 Answer:<!DOCTYPE html> <...
2 votes
1 answer
295 views

How to set CMS field value for Robots.txt

Using Sitecore 10.1 with Commerce 10.1 There is a field Robots Content in this item - /sitecore/content/Tenant/MySite/Settings. This is a container setup and creating a file is not an option. When a ...
2 votes
1 answer
150 views

Base partial design order

We have two base partial design. First partial design used to set the logo and navigation and the second partial design have log + navigation + breadcrumb, so we use the base partial design feature in ...
0 votes
0 answers
32 views

SVG file showing as plain image in image component

I am using Sitecore 9.1 with SXA 1.8. I have uploaded SVG file under media library. It is showing perfectly there but when I am trying to get it on the image component then it is showing as a plain ...
1 vote
1 answer
101 views

Sitecore SXA Dynamic Placeholders

We are trying to render dynamic placeholders with Scriban as follows: {{ sc_placeholder "relatedcontainer*" }} On our UAT instance the placeholder expands the wildcard out properly: ...
2 votes
2 answers
100 views

Sitecore RSS feed generation error in Sitecore 9.1 SXA site

We want to configure the RSS feed for news/events items in the SXA site with two separate RSS links for each type. Feed generation works for news, but throws errors to the events feed. Please suggest ...
1 vote
1 answer
40 views

XM Cloud SXA add SEO fields to page template best practices

Based on a new requirements, we want to add a way for Content Editors to be able to specify the metadata SEO fields. I wanted to know if the following is a recommended way or if there is a better ...
1 vote
1 answer
114 views

Sitecore 10.0 use Sitecore Azure Toolkit to add SXA to an existing instance of Sitecore

For Sitecore 10.0 (sitecore hosted) installed on Azure App Services what is the commandlet in Sitecore Azure Toolkit to add SXA the existing instance? I have the file Sitecore Experience Accelerator ...
1 vote
1 answer
1k views

ERROR An item with the same key has already been added

Working with sitecore 9.1.1 and SXA 1.8.1. The below error suddenly appeared on the CD URL. Server Error in '/' Application. An item with the same key has already been added. Below is the stack ...
2 votes
2 answers
381 views

How do you render an svg element with the SXA rendering variants?

I need to render a image in SVG format on my site. I want to create another rendering variant of the SXA Image Rendering Variant, so that the image is rendered as SVG. With the current Image Rendering ...

1
2 3 4 5
26