Questions tagged [sxa]
Anything related to the Sitecore Experience Accelerator (SXA)
1,261
questions
19
votes
3
answers
7k
views
Query Tokens in SXA
In SXA's out of the box renderings, I see datasource locations that look like this:
query:$site/*[@@name='Data']/*[@@templatename='Custom Folder']
Is $site the only token supported here? Can I ...
16
votes
1
answer
2k
views
Creating new renderings that are compatible with SXA
I've been playing with SXA and some of the out of the box renderings and rendering variants that come with it. I understand how to create my own rendering variants, and I understand how to create my ...
14
votes
1
answer
2k
views
How to create a custom theme in SXA?
SXA is coming with two predefined themes - Basic and Wireframe.
They are stored in /sitecore/media library/Themes media folder and cannot be modified in Creative Exchange.
What is the best way to ...
12
votes
2
answers
2k
views
How can I get SXA login working with my Federated Authentication via IdentityServer?
Background
We're building an internal site where all users are required to be authenticated. I've configured IdentityServer to connect to the organisation's Azure AD and this is working fine. When I ...
12
votes
2
answers
2k
views
How do you properly configure SXA Page List with custom query?
Testing with SXA 1.2 on Sitecore 8.2 u1/u2.
I'm trying to query a list of pages marked as featured.
Here is what I have setup:
Custom Page template inherits from Page.
Checkbox field is added with ...
12
votes
1
answer
734
views
Which SXA components should be cached for minimal setup?
I'm reviewing the cache settings available in SXA found here. There are many components that are available for caching, but I'm not clear whether any should not be cached.
In an effort to start simple:...
11
votes
2
answers
3k
views
Create controller rendering in SXA
As a test, I wanted to create a rendering for an SXA site. It had to be added to the toolbox and have a controller, model, and view.
I read this Creating new renderings that are compatible with SXA ...
11
votes
1
answer
2k
views
SXA Page Design vs Page Standard Values vs Page Branch Template
Sitecore historically had two options for building reusable page design:
Page Standard Values
Branch Template
Both these options allow to build composition of visual components and later build pages ...
11
votes
1
answer
1k
views
What do you use instead of placeholder settings in SXA?
I want to restrict which components can be used within a placeholder when using the Sitecore Experience Accelerator module. Normally, I'd use placeholder settings to do this, but it doesn't seem to ...
11
votes
1
answer
1k
views
How do you best manage security domains using SXA with the Active Directory module?
SXA provides the ability to create new tenants on-the-fly. Ideally each tenant would have a unique set of roles such as tenant1\admin and tenant1\editor.
How do you configure roles and domains in ...
10
votes
2
answers
1k
views
Adding new section in SXA toolbox
The goal is to create a new section in the toolbox. I created a new Available Renderings item called Custom, and I've added two new renderings, News and Author.
When I go to the toolbox instead of ...
10
votes
1
answer
1k
views
Is there a way to define index per site in SXA
There is a lot of reasons why I would like to have a separate index per site (or even per language). Some of them are:
separation of data
keeping the index small which increase performance
not ...
10
votes
1
answer
1k
views
Create new Grid in Sitecore Experience Accelerator
I am using Sitecore Experience Accelerator 1.4 and I do not want to use Bootstrap, Foundation or Grid960. I have my custom CSS framework. Anyone can provide me a solution that how I can add a new Grid?...
9
votes
3
answers
471
views
Where should I install Powershell module for SXA?
Solution can be installed on many environments - QA, Staging, Prod. In every of these environments Sitecore instances have different roles - CD, CM, Job, Publishing and etc.
Should I install ...
9
votes
2
answers
4k
views
Adding page specific JavaScript via SXA
How can I add Page specific javascript in SXA. I've done it using PlainHTML rendering, but what if my script is big and I want to call it from outside
9
votes
2
answers
955
views
SXA Search Results Different Rendering Variants per Template
Is there a recommended approach to creating a Search Results in SXA that have different renderings for different content types? The use case would be something like this:
There are 3 content types,
...
9
votes
4
answers
2k
views
Filter (Checklist) component shows ids of facets not values in SXA
Introduction
We are using Sitecore 9 Update 2 with SXA 1.7.1.
We have implemented "Download Center" using OOTB search components from SXA.
We would like to show "Title" value of Checklist field ...
9
votes
1
answer
1k
views
How do I reduce the unnecessary scripts from my custom theme?
I've observed that there are few base themes referenced when I create a new theme. For this example, I'll use the Basic2 theme.
Here is what I see selected on the theme:
Further exploration leads me ...
8
votes
6
answers
3k
views
SXA custom component looking for parameterless constructor
I am trying to create my first SXA compatible component, and I can't seem to get everything setup quite right. I decompiled the Maps component, and am using it as my guide. I understand that I need to ...
8
votes
2
answers
882
views
You do not have permission to create an item here (Local Datasources)
I'm working on security for an implementation and while testing use cases, I found that my authors are not able to create local datasources in the 'virtual page data' location that is hidden by ...
8
votes
1
answer
182
views
Export does not include an index.html file
When exporting a site for agencies, the resulting zip file does not contain an index.html.
Versions:
Sitecore 8.2 (rev. 160729)
Sitecore Experience Accelerator 1.0.0 for 8.2
Sitecore PowerShell ...
8
votes
2
answers
2k
views
Sitecore SXA Search Result Sorting by date
How to sort/filter search result in Sitecore SXA by __created date or __updated date to retrieve recent search items
8
votes
1
answer
296
views
Disable Analytics/Tracking For each SXA site
I am using Sitecore 10.1 and I have a situation where I need to disable analytics and personalization or can say xConnect for a particular SXA site. Is that possible to keep the setting for each site ...
8
votes
4
answers
824
views
How can I get WFFM to pass in a value that is stored in a cookie?
I'm using Sitecore 8.2 Update 4 with the corresponding WFFM version.
Our marketing department is passing a tracking code from their various marketing channels onto one of our Sitecore Tenant sites. ...
8
votes
1
answer
254
views
Custom Map Mode in the Maps component
We want to declare our own map type, so that we can use a more minimal map than the road map; akin to something created using https://mapstyle.withgoogle.com/
The map mode can be defined in Sitecore:
...
8
votes
1
answer
439
views
Changing hash to query string
We are using SXA in one of our projects. We are currently facing an issue with default search url pattern being used by SXA.
SXA search url by default is using '#' in search url. Sample below
<&...
8
votes
1
answer
385
views
SXA: Rows and columns disappearing
Using SXA 1.2 rev. 161216, rows and columns sometimes disapear from pages.
By this I mean that the Row Splitter component still exists and its content is still visible in the design layout menu.
...
8
votes
2
answers
2k
views
Injecting Google Tag Manager from content using SXA
I'm creating a new SXA site and have the requirement to inject Google Tag Manager (GTM) scripts into all of our pages. Unfortunately, the content editors want to manage these scripts (and other ...
7
votes
5
answers
3k
views
How do you setup your local Sitecore instance to support HTTPS in either a single or multi-tenant configuration?
I'm using SXA and have found that while using the Maps and Location Finder component that the utodetect location feature is no longer available for insecure origins.
You may see an error such as this ...
7
votes
2
answers
1k
views
How do you write a Custom 404 page that is compatible with SXA?
I'm running Sitecore 8.2 update 4 and SXA 1.3 Update 1. I'm trying to get some custom 404 pages working so that my marketing team can enjoy creating their own 404 pages for each of the sites running ...
7
votes
1
answer
670
views
How to show real images instead of crosses in SXA experience editor
By default in SXA, images of crosses are shown instead of the real images uploaded in the experience editor.
I guess this must be the behaviour of the default theme, but why is that so ? And most of ...
7
votes
1
answer
1k
views
How do I improve my SXA sites Google PageSpeed Insights Score?
Our client would like us to aim/achieve a particular Google PageSpeed Insights score. In particular, a score equal to or above 80/100 (mobile score) would be ideal.
We are building the site with ...
7
votes
2
answers
367
views
How can I prevent nested placeholders from being wrapped by a bootstrap row tag?
In our project, we assigned a partial design with a placeholder for stage modules and a placeholder for content modules to each page design.
The rendered markup then looks like this, because the ...
7
votes
1
answer
352
views
Is it possible to have SXA and non-SXA sites hosted in the same instance or same content tree?
There has been a growing interest in configuring SXA in an existing installation.
Can a non-SXA site coexist with SXA sites?
Same content tree?
Can non-SXA sites share content with SXA sites?
7
votes
1
answer
1k
views
Habitat Home error on SXA
Sitecore 9 U1
I have stood up a new instance of Habitat Home using this link and this repo. I am not crazy familiar with SXA. I can edit/preview the pages without issue, but when I try and view the ...
7
votes
2
answers
645
views
How to add attribute to variant tags without using template variant
I see that we can add attribute to a link variant tag but not for other tags like div, span etc. Is there a way i can add attribute to these tags without using template variant?
I am trying to add ...
7
votes
1
answer
1k
views
How can I customize Search Result in SXA?
Out of the box SXA Search Results component shows only page Title.
How can I customize that component to show page Image and Description?
7
votes
2
answers
741
views
How do you boost fields such as Title or Navigation individually in SXA when using SOLR?
In our example, we have a Careers search feature in which we only want to match on title, job id, or a meta field such as description.
One wonderful feature about SXA is that you have an easy-to-use ...
7
votes
1
answer
894
views
Which Sitecore Experience Accelerator version should be used with Sitecore 8.2 Update 2?
My requirement is to use Sitecore Experience Accelerator in conjunction with a Sitecore 8.2 Update-2 site. However, none of the Sitecore Experience Accelerator packages specify compatibility with ...
7
votes
2
answers
981
views
How to work around Bootstrap 4 issues in SXA
We are using Sitecore 9.1 version and wanted to create a new website using Sitecore SXA. We have installed SXA 1.8 module but we have been facing an issue like All partial design and components ...
7
votes
1
answer
1k
views
Correlation of SXA Site, Storefront, and Commerce Shop
After renaming the Storefront so that it made more sense without the context of the Tenant parent folders, the Commerce data no longer appears on the website.
It's not entirely clear why it broke, ...
7
votes
2
answers
369
views
Control output size of Image field in SXA Page Content Rendering
I am using a Page Content Rendering with a custom variant to output an Image property. How could I control the dimensions of the raw image output.
7
votes
1
answer
537
views
How to set signature field in pagination & listing components of SXA?
I am trying to configure listing component for example Event list of SXA with pagination, but I am unable to understand the usage of signature field.
List Signature - Signature is used to pair list ...
7
votes
2
answers
168
views
SXA - Import Fails Due to Missing Language Information
I've got a simple scenario. I export a site (single page), then try to import the exact same zip file.
I get an error that states:
Could not find language information in the zip file. Please ...
7
votes
0
answers
529
views
Sitecore SXA Preview Item error
I am using sitecore 9.3 with SXA and i faced an issue while trying to preview an item but i am not sure what can be the root cause of this it happens appears several times, any one has faced this ...
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 ...
7
votes
0
answers
561
views
SXA & Item Language Fallback
This is for Sitecore 8.2 update-5 version and SXA 1.5 .
I have configured item fallback language in the settings of my site :
Now, we have implemented a partial design with json content that ...
6
votes
2
answers
367
views
Error upgrading to SXA 1.1 with Publishing Service 1.8 : ItemLocator language cannot be null or empty
I have Sitecore 8.2 rev 160729 installed with SXA 1.0 and Sitecore Publishing Service 1.8.0. During an upgrade to SXA 1.1 I receive the following message:
ItemLocator language cannot be null or ...
6
votes
2
answers
409
views
How are the Sitecore.XA nuget library file versions mapped to release version?
The Sitecore.XA libraries are available on the Sitecore MyGet feed but I'm not clear on how the dll file version maps to the version posted on dev.sitecore.net.
As of today (20180710) these are the ...
6
votes
1
answer
341
views
What is the purpose of shared tenant media folder in SXA?
SXA creates two media folders for new tenant:
What is the purpose of shared folder?