Questions tagged [sxa]

Anything related to the Sitecore Experience Accelerator (SXA)

Filter by
Sorted by
Tagged with
11
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 ...
9
votes
4answers
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 ...
12
votes
2answers
1k 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 ...
2
votes
1answer
608 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 ...
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 a new Grid?...
10
votes
2answers
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 ...
1
vote
1answer
365 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,...
1
vote
1answer
504 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 ...
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 ...
12
votes
2answers
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 ...
11
votes
1answer
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 ...
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
6
votes
2answers
1k 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 ...
1
vote
3answers
364 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 ...
5
votes
2answers
1k views

Accessing Link Field Values in a Scriban Template

I am using a Scriban template in Sitecore 9.3 with SXA and am attempting to render a link field. While the sc_link function reliably generates the URL, I cannot seem to find a way to access any other ...
5
votes
1answer
470 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 ...
4
votes
3answers
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 ...
2
votes
1answer
847 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 ...
2
votes
1answer
672 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 ...
1
vote
1answer
243 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 '...
5
votes
1answer
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 ...
4
votes
1answer
356 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 ...
3
votes
1answer
248 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.
2
votes
2answers
464 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 ...
1
vote
0answers
497 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 ...
1
vote
2answers
1k 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 ...
0
votes
1answer
516 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 ...
-1
votes
2answers
98 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 ...
19
votes
3answers
5k 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 ...
9
votes
2answers
3k 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
14
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 ...
5
votes
1answer
536 views

SXA what is the purpose of the Media folder under a Site

What is the purpose of the Media folder under a site in SXA? Technically this seems to behave the same way as the regular media library, but I'm just not sure why you would use this, or if there are ...
2
votes
1answer
227 views

What is the proper way to add new fields to an existing SXA component data source?

Original questions asked by a member of the community Friederike Heinze on the #sxa Slack channel. I would like to add an image field to the Link component. The additional rendering of the image ...
7
votes
1answer
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, ...
4
votes
1answer
660 views

How to use rendering variants as reusable component?

I am looking to create reusable container section with promo rendering variants. This section should include multiple variant rendering. For example, a section with partners logo which I can reuse ...
3
votes
2answers
1k views

Using #if in SXA variant NVelocity template

I created a variant in SXA with a NVelocit template. In this variant I am displaying some text in an a tag: <a href="$item.Fields.Link" target="_blank">Test</a> This works fine, but when ...
3
votes
1answer
760 views

Accessing SXA Site Grouping Site Settings Properties from Code

I have a SXA site created and under "/settings/Site Grouping" I have defined a Site item. I want to access "Other Properties" fields (ex: "dictionaryPath" which I have added into Other properties) ...
0
votes
1answer
778 views

Where to check the index that is configured from SXA Search API?

When I request the url https://mydomain/sxa/search/results?q=test, below is the response {"TotalTime":259,"CountTime":211,"QueryTime":38,"Signature":null,"Index":"sitecore_sxa_web_index","Count":0,"...
10
votes
1answer
877 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 ...
9
votes
2answers
855 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, ...
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 ...
6
votes
1answer
509 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 ...
4
votes
1answer
377 views

Displaying SXA Search Results on the separate page

I'm currently working on SXA OOTB the Search Box and Search Result rendering. SXA sites structure is as below Sites Country Site 1 Country Site 2 Shared Site I have search box in the site header ...
4
votes
1answer
794 views

SXA and local vs reusable datasources in a custom control

In SXA we have components like the Rich Text component that have a version with a local datasource and a reusable version that gets a datasource from a global (site) folder. This all works fine and I ...
4
votes
2answers
1k 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 ...
3
votes
1answer
1k views

How can I make a component take up the full width of the screen?

I've got my content in my website, ready to be styled by my designer. The first thing that they want to do is make the menu take up the full width of the screen. The appears to be something in the 960 ...
3
votes
1answer
1k views

SXA Upgrade gives warning “Sitecore Experience Accelerator Content Upgrade Required”

I did an upgrade to SXA from version 1.6 to version 1.7. After publishing my site, I got the warning message Sitecore Experience Accelerator Content Upgrade Required with an upgrade button. but ...
3
votes
1answer
801 views

Omit bucket folders from page urls - linkprovider not working in SXA

I created a custom item resolver to remove/omit bucket folder item name from url. With this resolver we can access url from: www.xpto.com/folder/2018/08/06/15/40/page www.xpto.com/folder/page And ...
3
votes
2answers
1k views

How do you display children of an item in a Page List using SXA?

My team is creating a new site using SXA and I am working on a page which will display a list of event locations and a list of events scheduled at each location. In the content tree, Events are items ...
3
votes
1answer
348 views

SXA Filter search result by year

I have a search result component and want to add a filter to it in order to filter the results by year or by month. i have a template that has a date field and i tried the Filter(date) component but ...