Questions tagged [sxa]

Anything related to the Sitecore Experience Accelerator (SXA)

Filter by
Sorted by
Tagged with
17
votes
2answers
3k 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
1answer
1k 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 ...
13
votes
1answer
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
2answers
1k 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 ...
11
votes
1answer
927 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
1answer
986 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 ...
11
votes
1answer
453 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 ...
10
votes
1answer
1k 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 ...
10
votes
2answers
2k 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 ...
10
votes
1answer
645 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
2answers
958 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
1answer
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 new Grid?
9
votes
3answers
378 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
2answers
696 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
2answers
503 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 ...
8
votes
6answers
2k 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
2answers
2k 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
8
votes
1answer
134 views

SXA - 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
2answers
1k 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
4answers
597 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
1answer
183 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
1answer
289 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
2answers
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
5answers
2k 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
1answer
532 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
1answer
275 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
2answers
146 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
2answers
800 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 ...
7
votes
1answer
190 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
2answers
502 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
1answer
550 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
1answer
846 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
2answers
361 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
1answer
876 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
2answers
251 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
1answer
532 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 ...
7
votes
1answer
365 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
2answers
128 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
1answer
258 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 <&...
6
votes
2answers
275 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
2answers
258 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
1answer
278 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?
6
votes
2answers
338 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 ...
6
votes
2answers
857 views

Does SXA support page specific content with Partial Design?

When I build my page in SXA I use components like Rich Text to implement page elements. Content I entered is stored in component data-source on page level. This is exactly what typical content author ...
6
votes
1answer
389 views

How to easily extend Rendering Variants

Is there a way to easily extend rendering variants logic? My goal is to display the name of a parent item. Let's imagine that I'm using a Page List rendering and beside values from current context ...
6
votes
3answers
405 views

How to configure the search Results Count component in SXA?

I've added a Results Count component to my search results page. Searching, autocompletion, page selector etc all works perfectly, but I cannot get the Results Count to show a number of found results; ...
6
votes
1answer
579 views

How can i show the tags of each page with an SXA rendering variant?

I have a blog website, and a page where I can view and search in all the blog posts I have so far. Each blog is tagged with 1-2 tags in the "tagging" field in their respective item on Sitecore 9. I'...
6
votes
1answer
643 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 ...
6
votes
1answer
735 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 ...
6
votes
1answer
1k views

Create a custom SXA rendering with variants

I managed to create a custom rendering in SXA by inheriting my controller from the StandardController (and some other things). But now I would like to create a component that has the ability to work ...