Questions tagged [sxa]
Anything related to the Sitecore Experience Accelerator (SXA)
1,284
questions
2
votes
2
answers
58
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
85
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 ...
0
votes
1
answer
29
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; ...
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 ...
0
votes
1
answer
59
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
41
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 ...
1
vote
1
answer
52
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
76
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
89
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
73
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 ...
0
votes
0
answers
89
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 ...
0
votes
2
answers
66
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 ...
1
vote
2
answers
505
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?
1
vote
1
answer
131
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 ...
1
vote
1
answer
32
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 ...
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 ...
1
vote
2
answers
63
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 ...
1
vote
1
answer
149
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
84
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
1
vote
1
answer
123
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 ...
0
votes
1
answer
84
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
60
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 ...
1
vote
2
answers
136
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
783
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 ?
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
145
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.
...
0
votes
1
answer
128
views
SXA component with rendering variant does not render if datasource is empty in the rendering
I am using an SXA component to render fields from current page. But it seems rendering variant renders fields only from datasource item.
In my case, datasource is empty as I need to render fields from ...
1
vote
2
answers
60
views
Disable click if page has subitems in SXA
I am working on the navigation control and I am using horizontal version with sub-items. If a page has sub-item, I was it to redirect to dummy fragment.
For example, href="#dummy"
I am ...
0
votes
0
answers
47
views
Sitecore SXA Navigation Menu is not inline & active loading css aggregate class need to change nav-item class
I have used Navigation Component where i have existing code in Navigation.cshtml its loading some default aggreagte class I want to change nav-item active class for first menu(default) and other only ...
0
votes
1
answer
54
views
Is it possible to target a specific page template in sitecore and convert all pages of that template into an SXA pages
Recently we have upgraded to Sitecore 10 XP, some of our pages are still using old templates. Is it possible to target a specific page template in Sitecore and convert all pages of that template into ...
0
votes
1
answer
32
views
Multi tenant and site with Experience Analytics
I have a Question about Experience Analytics.
If I create a new tenant and site should it automatically add the newly created site in the Filters dropdown in the Experience Analytics Dashboard?
...
2
votes
0
answers
45
views
SXA theme without using node-sass
I created a new SXA theme in Sitecore 10.2.0 and it is bringing in "@sxa/celt": "^10.2.2" which in turn brings in node-sass.
This package is deprecated and I want to use dart-sass ...
0
votes
0
answers
61
views
NVelocity to Scriban conversion issue
When upgrading from 9.0.2 to 10.2, I understand we need to migrate NVelocity templates to Scriban. Before doing that, would it be common to see blank pages in the site?
Also are any NVelocity ...
1
vote
1
answer
76
views
Extending treelist having issues with token resolver
I am following this article to extend treelist field - https://jammykam.wordpress.com/2016/01/06/specifying-query-and-parameters-for-sitecore-treelist-field-source/.
We want to have a treelist field ...
0
votes
1
answer
52
views
Hide Shared Site From Site Selector Options in SXA
Hopefully, a quick question. Can you hide a shared site from the 'Site Selector' component in SXA? The site is flagged as shared and has no host name but still it shows as a selection. I assume there ...
0
votes
1
answer
51
views
What limits rendering in SXA Grid Placeholders
We have an issue between our Prod and UAT environments when it comes to adding renderings from the Toolbox into the grid placeholders.
In our Prod environment, the placeholders that are generated by ...
0
votes
0
answers
241
views
URL Redirect map is not working when i use the language in the OLD URL path
In the Sitecore 8.2:
I'm trying to redirect the OLD URL to the NEW URL. Using the Redirect MAP 301.
When I use language code in the OLD URL the redirection is not working. It's resolved to 404. other ...
0
votes
0
answers
41
views
Using Scriban Template with Sitecore 10.2 XM License (Part of Downgrade from XC to XM)
Anyone has any information about the impacts on Scriban Templates used to create custom components for normal sites, not SXA Shop Fronts , if we downgrade from Sitecore 9.3 XC to Sitecore 10.2 XM
Our ...
-1
votes
1
answer
53
views
Skip field validations on specific Site
We are using Sitecore 10 and SXA. Can we skip the Item/field validations on specific site in Multisite environment?
0
votes
1
answer
65
views
Error while generating static page in SXA
I am trying to generate a static error page for the website. I am getting this error while creating.
I have published the entire site.
I am using following blog/article for the same :-
https://doc....
0
votes
2
answers
44
views
Setup page title in the site tree always on English dependently which language is selected for editing
I would like to setup page title in the site tree in English independently which language is selected for editing and also no display name for item name.
I mean this section:
Display name - Is shown ...
0
votes
1
answer
115
views
Modifying site url to show country code instead of language code for a single country for one particular language alone in multilingual multisitesetup
We have a requirement where the default language code in the url has to be replaced with custom language code. For example www.abcd.com/de should be changed as www.abcd.com/deu.
Our sitecore instance ...
0
votes
1
answer
81
views
Rich text is not showing in SXA toolbox
We have an issue in rich text component in Sitecore SXA, it is not showing in the SXA toolbox.
I have checked under Presentation > Available rendering > Page Content it is showing under ...
0
votes
4
answers
85
views
Where are we use LinkItemNotFoundUrl setting
We have a setting under Sitecore.config file.
<setting name ="LinkItemNotFoundUrl" value ="/sitecore/service/notfound.aspx" />
Could someone assist me real time scenario ...
0
votes
1
answer
156
views
Rendering variants for 'Page Content' SXA rendering not showing
I have added a few Rendering Variants for the SXA rendering Page Content (SS below)
But, when I try to use this rendering on the page from the Experience Editor the dropdown for the Rendering Variant ...
0
votes
1
answer
238
views
SXA language embedding
I'm working on an SXA multilingual site, and I've enabled the embed language option, now I can see the URL in the navigation has language code + region code
Example:
mysite/fr-fr/mypage
mysite/it-it/...
0
votes
0
answers
122
views
SXA Navigation Component and Media Links
Does anyone know if the SXA navigation component can be made to render links that are not links to Sitecore XP pages but are media links instead? On the click of menu items a document should be ...
0
votes
1
answer
140
views
Get site name in config file
Is it possible to get current running site name in .config or patch file in multiple site in Sitecore SXA ?
I did not find anything related to it.
0
votes
0
answers
32
views
SXA Search Results First Element
I have a SXA Search Result component and I want to apply a specific class to first element from the search results on every page. Is it a simple way to do it?