Questions tagged [sxa]

Anything related to the Sitecore Experience Accelerator (SXA)

Filter by
Sorted by
Tagged with
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
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?
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: ...
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
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?
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....
  • 23
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 ...
  • 57
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. ...
  • 2,713
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> <...
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 ...
  • 339
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 ...
  • 89
2 votes
2 answers
42 views

Is it possible to generate Sitecore Search Scope across the entire tenant?

I have a requirement to display pages based on two different templates on two separate sites. For example: Let's say I have one site called Site A and another site called Site B. In Site A, I have a ...
1 vote
0 answers
86 views

SXA facet search API intermittent empty result

Issue: This is an intermittent issue reproduced in Sitecore 10.2 XM Scaled setup. It takes time to get reproduced. SXA Facet API (//sxa/search/facets) gives an empty collection, sometimes if the ...
1 vote
0 answers
35 views

How to skip the search Special Character in Sitecore SXA Search

I have worked on the Sitecore SXA search and Version is 10.2. Created respective Solr core and configuration for search then did the Indexing. After that browse the web page and type %,$ (all special ...
0 votes
2 answers
39 views

Conditionally Hide fields from Content Editor

In one of my projects in Sitecore 10.2, I am using one base template in other child templates. My requirement is that I want to hide some base template fields in some child templates. For that, I am ...
0 votes
3 answers
67 views

Default SXA Sitemap.xml is generated as html

I am using Sitecore 10.2 with sxa. I used default Sitecore sxa setting to generate Sitemap.xml but I see it generates as html and not as xml. Though I see the xml only in view source of sitemap.xml ...
2 votes
0 answers
57 views

Sitecore SXA XP 10.2 Bucket Items Not Working [closed]

Tried creating bucket items with the Page template, with the Page template as a base and without. I get the following error no matter which way I create them. "Unbucketable Item stored in an Item ...
  • 755
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 ...
  • 339
1 vote
1 answer
44 views

Disabling SXA rendering dialogs in Experience editor

We added SXA module into our newly upgraded Sitecore 10.2 solution. However we found out SXA doesn't work well with our non-SXA solution side by side, especially in the Experience Editor. For example, ...
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 ...
  • 19.6k
0 votes
2 answers
62 views

Template's Standard Values Layout Details removed during deployment

Sitecore 10.2 with SXA We are facing an unexpected issue when after each deployment a few of the template's Standard Values in Layout Details get removed. As a result this removes all components from ...
2 votes
2 answers
47 views

Pre-optimized-min file named with GUID Sitecore SXA 10.2

We use Unicorn in our project, and we are saving the pre-optimized-min.yml files in source control. Here is the exclude predicate we have for this file: <exclude childrenOfPath="/sitecore/...
0 votes
1 answer
69 views

Limit max number of composite components

Is there a way to limit the max number of composite items in an SXA composite component like Carousel? For example the carousel has no more then 8 slides. It sounds like SXA does not have anything ...
  • 5,658
0 votes
1 answer
23 views

New SXA multisite redirects to 404 but able to preview

This is an existing multisite SXA project under a single tenant, with following URLs: https://dev.example.com [International; Virtual Folder: /] https://dev.example.com/cn [China; ...
  • 2,713
0 votes
0 answers
24 views

Setting up custom 403 custom error page [duplicate]

I am trying to setup custom a 403-error page, in Sitecore SXA 9.3, but cannot find any quick configuration or online blogs to do so. Although I have tried things mentioned Here . Is there any other ...
  • 65
0 votes
1 answer
50 views

How to get getfriendlyurl() url in link attribute using sxa rendring variant

I'm trying to get a prefix in the wrapped url using a SXA variant ItemLink is a general field type ItemLink added in wrapped variant This image is a custom component not using sxa variant feature so ...
0 votes
1 answer
33 views

Restricting SXA Script option for non admin Sitecore user

Is there any option to restrict non-admin Sitecore users from using the scripts option, that appears on right-clicking of tenant or site node (Using sitecore 9.3)? Refer to the below image. The ...
  • 65
1 vote
1 answer
39 views

Is there any way I can order Rendering tabs?

Is there any way I can order Rendering tabs to appear when adding a new component to the page? I tried this from available rendering but it didn't work out
0 votes
0 answers
62 views

Error while creating SXA Site in Sitecore SXA

I have installed vanilla Sitecore instance 9.1 Initial release. After that installed Sitecore Powershell 5.0 was followed by SXA 1.9. I'm trying to create a tenant or site to set up a local site ...
1 vote
1 answer
76 views

Sxa rendering variant sort query by __Updated field not working

I'm trying to get the latest item: sorted by the last modified item from the list of items (__Updated field) I'm using SXA 10.2
0 votes
1 answer
60 views

Debug SXA theme

We are running Sitecore 9.1.1 and SXA 1.8.1. We create theme by using npm command (npm run build). This command does bundling, minification and create a zip file. We import that Zip file into the SXA ...
  • 235
0 votes
0 answers
73 views

Error executing child request for /404 in a multisite SXA

This is a multisite project built on SXA. In the local instance, the pages load fine in both Preview & Experience Editor mode. In the Site Grouping item for a site, the database is master and the ...
  • 2,713
0 votes
2 answers
52 views

sxa rebuild -d command fails to execute

I'm working on an existing project which uses Sitecore 10.1.3 PRE and built using SXA. There is a themes folder in the Solution which has the custom theme. When I browse the local site, it doesn't ...
  • 2,713
1 vote
2 answers
364 views

Get Item by path or ID using Scriban in Sitecore

Environment: Sitecore 10.2 & SXA 10.2 Scenario: I would like to get the item by using its path or ID in Scriban. Is there any OOTB functionality to achieve this?
  • 587
1 vote
1 answer
92 views

How to get 'Alt' field value of Sitecore media item by Sitecore Scriban embedded method?

I am able to get the Sitecore media link by using the Sitecore Scriban Embedded method as follows: <img src="{{sc_follow i_article 'Thumbnail'| sc_medialink}}"> But, not sure how to ...
0 votes
0 answers
22 views

Change non-existent template id of a content item to a new template id via Sitecore Powershell or DB Browser without data loss [duplicate]

It is basically a SXA Sitecore 10.2 site, I wish to change the template id of Settings in the content tree through Powershell Console or DB Browser. Since I am not able to select the item and change ...
  • 57
1 vote
1 answer
28 views

Why are links rendering the full Sitecore content path?

I'm upgrading from SXA 1.9 to 10.2 and have noticed that links on the front-end are rendering the full Sitecore content path such as /sitecore/content/tenant/site/home/path. What can I check to fix ...
  • 5,245
0 votes
0 answers
21 views

Get custom field into SXA rendering variant [duplicate]

I have a model that has both fields bound to the original Sitecore template and a couple of custom fields I'm using as part of a conditional. One example is a "NewsUrl" field that checks if ...
  • 5,082
1 vote
2 answers
58 views

Get Teaser component SXA style in Powershell script

I would like to get selected SXA style of the Teaser component in Powershell script. I have a teaser component where i have selected SXA style on Experience editor . I would like to get selected SXA ...
  • 339
1 vote
1 answer
133 views

Sitecore SXA not generating optimized.js file

Sitecore SXA has stopped generating the optimizedjs file when I upload the scriptminifiled.js file Any ideas what could be causing it to do so?
1 vote
3 answers
78 views

left header placeholder in sitecore SXA

In Sitecore SXA How i create a left header placeholder as shown in the below image do i need create a custom grid layout and custom grid css
  • 15
1 vote
1 answer
109 views

How do I disable minification for pre-optimized-min items in my theme?

Sitecore/SXA 10.2 I find it very difficult to know exactly which part of my code is broken when the theme scripts are mangled beyond my comprehension. What can I do to improve this experience? Take ...
  • 17.3k
0 votes
1 answer
75 views

Accordion item type template items not indexing in Sitecore search as well as Solr search

I am working on SXA search in Sitecore I found something strange, content or data of composite rendering child items like accordion item templates types items are not indexing. I added _searchable ...
1 vote
0 answers
51 views

How to use and search multiple checklist facets with one button

I have a search page using 2 checklist facets, Size and Color. How can I make it so that I can use one button to apply the search for options checked in both facets? E.g. I check 'large' in the Size ...
  • 11
1 vote
2 answers
115 views

Is this possible to restrict the SXA search box to search only through a particular field?

I have added an SXA search box component on the page and now when I type a search term it returns the result based on the search term found through the aggregated content. But, I want that search box ...
1 vote
4 answers
587 views

Get link details in powershell script

I would like to get all the links details inside teaser ,richtext editor components etc through Powershell script. Is it possible through Powershell script ?
  • 339
0 votes
0 answers
28 views

How to render items from solr search using Scriban [duplicate]

I am using Sitecore 10.2. I have to render some items from solr. For which I am simply making a query to solr index using Sitecore.ContentSearch. Now I want to render these items usign scriban ...
0 votes
0 answers
133 views

Getting Dianoga 6 to work with Sitecore 10.2 Docker Containers, JSS with NextJS and SXA

We are on Sitecore 10.2 Docker Containers + JSS with NextJS + SXA and attempting to configure Dianoga 6.0. We have updated the web transform file (Web.config.xdt) for sitecorejss_media.ashx handler. ...
  • 1

1
2 3 4 5
26