Skip to main content

Questions tagged [sxa]

Anything related to the Sitecore Experience Accelerator (SXA)

Filter by
Sorted by
Tagged with
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 ...
Gatogordo's user avatar
  • 20.2k
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 ...
Peter Procházka's user avatar
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
mahboob's user avatar
  • 83
2 votes
1 answer
866 views

How to achieve SXA styling button and styling option on custom component?

We are trying to create custom component using SXA 1.6 on Sitecore 9.0.1. Component is finally also shown on toolbox but we are struggling to have SXA Styling button on it. Something similar to this ...
Peter Procházka's user avatar
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 ...
Mark Cassidy's user avatar
  • 25.3k
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 ...
Michael West's user avatar
  • 18.3k
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?...
Swati Gupta's user avatar
  • 3,255
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 ...
Alex's user avatar
  • 545
6 votes
2 answers
2k 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 ...
Dmitry Harnitski's user avatar
4 votes
1 answer
505 views

How to include multiple template id in SXA scope query

I am using SXA version 1.8.1. I created a scope item and using that in search. I need to list all the items of templates A and B under a given location. Is it possible to have a query to include ...
user3267206's user avatar
4 votes
2 answers
963 views

How to edit the content of renderings defined on Partial Designs with the Experience Editor on page level?

I created a partial design called Footer, and added a Link List rendering to this Footer by using the presentation details. I assigned this partial design to the page design Default and assigned this ...
Arjen van Veen's user avatar
1 vote
1 answer
682 views

How to associate a custom datasource item to the promo rendering in SXA?

In the Sitecore SXA Promo component I want to add a datasource item which is created from another template (custom, not the default Promo template). I want to show fields of that template and use a ...
Fahmida's user avatar
  • 161
1 vote
1 answer
588 views

Partial Designs are not visible on Page Design

We have installed Sitecore 9.1 and SXA 1.8. We created couple of partial and page designs and all was working fine. We are using TDS to sync items between dev Sitecore instances. After one of syncs,...
Peter Procházka's user avatar
1 vote
1 answer
264 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 ...
Michael West's user avatar
  • 18.3k
1 vote
1 answer
461 views

How can I modify SXA search component to search also in the Accordions content?

I'm trying to modify Sitecore default behaviour to search also in accordions content. I have checked Is Displayed in Search Results at /sitecore/templates/Feature/Experience Accelerator/Composites/...
Jorge Romeo's user avatar
0 votes
1 answer
475 views

Unpublish not working automatically in sitecore OOB feature

we are using sitecore 9.0.2 with SXA 1.7.1 in our site we are adding future date in 2 fields called Publish and Unpublish which is OOB feature in sitecore to publish or unpublish item. Publish is ...
Erwin Paul's user avatar
20 votes
3 answers
8k 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 ...
jdylanmc's user avatar
  • 1,492
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 ...
Derek C's user avatar
  • 783
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 ...
Michael West's user avatar
  • 18.3k
5 votes
1 answer
1k views

Search component in SXA

I was playing around with the ootb search components in SXA and I got some results so yes, it's working. But now I wanted to know what was all included in the searchable content (apparently computed ...
Gatogordo's user avatar
  • 20.2k
5 votes
1 answer
581 views

"GetCurrentCart: Value cannot be null" when adding item to cart

When I originally installed Commerce 9 via SIF, everything worked fine. But since building/deploying the Sitecore.Commerce.Engine project (sans all sample plugins), adding an item to the cart results ...
Richard Szalay's user avatar
4 votes
3 answers
5k views

SXA or not SXA is the Question what are your experiences?

I am not sure if I should use SXA in my project. Currently we want to use only the XP but in the future we would like to use XC too. I think I need to create many components by my self because of the ...
squadwuschel's user avatar
  • 1,165
4 votes
1 answer
466 views

My index on Content Delivery does not match with CM and is not updating anymore on Azure PAAS - Sitecore 9.0.2

We noticed that our CD environment gave different results from the index compared to the CM environment. We did some more checks and found that the index on CD was also not updating anymore. It did ...
Gatogordo's user avatar
  • 20.2k
4 votes
2 answers
2k views

How to use tokens in Link attributes in VariantField?

I need to have a certain field (field type Link Field) to have anchoring feature for that I need the id to be generated I was thinking if we can use VariantField's Link attributes property to generate ...
Harsh Baid's user avatar
  • 2,004
4 votes
2 answers
848 views

Using Page designs or Partial Designs in SXA JSS Site

We have built out a JSS tenant and creating pages that are rendered with React with Sitecore 10.1.1 in integrated mode (Sitecore first). Basic layouts and placeholders are working as expected. We are ...
Bala's user avatar
  • 320
3 votes
1 answer
360 views

Computed Index field as a rendering variant

How can I insert a computed index field in Solr as a rendering variant, I tried creating a field variant with the same name but it didn't work.
Mohamed Mosa's user avatar
2 votes
1 answer
214 views

2 SXA sites on same Azure app service need different federated authentication providers

I have 2 SXA sites running on the same Azure app service. Both sites require Okta federated authentication (OIDC). Is it possible to have more than one IdentityProvidersProcessor (1 for each SXA site ...
Brian L's user avatar
  • 81
2 votes
1 answer
2k views

How do you count the number of children in a Scriban template?

Given a page or item, how do I count the number of children? {{ i_page.children }}
Michael West's user avatar
  • 18.3k
2 votes
2 answers
732 views

Error while publishing when items are moved in SXA based website

SXA v1.7.1 with Sitecore v9.0.2 I'm regularly getting this error in Sitecore when trying to publish after I have restructured some items in master database. If I delete the modified sub-tree from web ...
Harsh Baid's user avatar
  • 2,004
2 votes
2 answers
2k views

Items appear in SXA scope but not in search results

I'm using Sitecore 9, and SXA 1.7 I have a search scope that searches for certain items whose template is "blog page", in the scope query, I'm searching using the template and location, and I do get ...
Mie ElMansy's user avatar
2 votes
1 answer
740 views

SXA error when creating a site: Unrecognized Guid format

I installed a clean Sitecore 8.2 Update 5 instance with SPE 4.7 and SXA 1.5. I imported a tenant, a site, tenant-specific templates, media etc. from a colleague's environment. I don't think any items ...
Dmytro Shevchenko's user avatar
2 votes
1 answer
1k views

Using Drop Link field with SXA Facets Component shows GUID instead of Title [duplicate]

I am using Lucene search engine. When using drop link field in SXA facets component, it displays GUID, I see other posts talking about this issue, and in order to fix it, we should change the below ...
NAli's user avatar
  • 875
2 votes
2 answers
228 views

Incorrect Canonical URL in Sitecore SXA Multisite - Domain Name gets appended twice

In our Sitecore 10.2 XM SXA website, the canonical URLs are not being generated properly - the domain name gets appended twice - <link rel="canonical" href="https://prod.*******....
Neha Pasi's user avatar
2 votes
0 answers
790 views

FatalError Required validation not working

I am using SXA 1.8, and Sitecore 9.1 I am trying to add a validation for a Date type field where it is required, and the user cannot save the item unless this field has a value, I have copied ...
Mie ElMansy's user avatar
2 votes
1 answer
338 views

Where are my SXA items?

Running 10.2, I followed the SXA installation instructions and installed: Powershell Extensions 6.3 Sitecore Experience Accelerator 10.2.0 rev. 04247 If I go into /templates, then SXA stuff is there,...
MStodd's user avatar
  • 284
1 vote
1 answer
573 views

Placeholders generated by partial design are behaving differently

Environment: Sitecore 9.0.2 + SXA 1.7.1 What I have done: I created a partial design, say PartialD1. In the 'main' placeholder of the PartialD1, i added a column splitter generating 2 placeholders '...
NutsAndBolts's user avatar
  • 1,342
1 vote
2 answers
2k views

Setting css class in SXA variant from content item

I need to create a list of items in SXA with a background defined by the items themselves. On the items, the editor can select a colour (droplist). On the display, I want to use that colour as the ...
Gatogordo's user avatar
  • 20.2k
1 vote
3 answers
3k views

Could not find configuration node: databases/database[@id='test']

When I try to make a package from package designer, I am getting this error Could not find configuration node: databases/database[@id='test']. I may know why this happens, and the reason for that is ...
Samke11's user avatar
  • 359
1 vote
1 answer
5k views

Null checks in Scriban

I want to check for null values in Scriban. {{ if (o_model.address.id) }} <div style="text-align: center;"><h5>Address {{ o_model.address.id}}</h5><br /></div> ...
user avatar
1 vote
1 answer
959 views

SXA Component in partial design is not editable in page

Extending reference Question :Does SXA support page specific content with Partial Design? I have added a navigation and page content in partial design. The page content is having page content and ...
D J's user avatar
  • 385
1 vote
3 answers
607 views

Tenant and Site Setup - Description of Modules

I am setting up a new Tenant and Site and am looking for an explanation of the different Modules that can be installed against the Tenant / Site. I want to only install the minimum required modules ...
Mark Gibbons's user avatar
  • 5,642
0 votes
1 answer
720 views

SXA search scope tokens

When using sxa:ItemsWithTheSameValueInField|Fieldname with droplink field it is not filtering in search scope for example when adding in search scope : sxa:ItemsWithTheSameValueInField|category ...
NAli's user avatar
  • 875
-1 votes
2 answers
818 views

How to remove a added site module in sitecore 9.0.1

I am using sitecore 9.0.1 with sxa 1.7. I have created a module by cloning existing components and added to my site .I want to remove the added module and unclone the cloned rendering how can i do ...
Vinaya's user avatar
  • 321
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 ...
Dmitry Harnitski's user avatar
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 ...
Dawid Rutkowski's user avatar
9 votes
2 answers
1k 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, ...
Alex's user avatar
  • 545
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
user2958's user avatar
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 ...
Keith VanderVeen's user avatar
8 votes
1 answer
511 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 <&...
Vijaya Akkenapally's user avatar
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, ...
Richard Szalay's user avatar