Questions tagged [sxa]

Anything related to the Sitecore Experience Accelerator (SXA)

Filter by
Sorted by
Tagged with
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 ...
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 ...
2
votes
1answer
460 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 new Grid?
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
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 ...
1
vote
1answer
233 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,...
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
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
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 ...
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
1
vote
2answers
218 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 ...
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
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'...
5
votes
1answer
381 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
2k 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
525 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 ...
5
votes
1answer
856 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 ...
3
votes
1answer
161 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.
3
votes
1answer
218 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 ...
2
votes
2answers
314 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
1answer
294 views

Getting a “Resource you are looking for has been removed” error in the datasource selection dialog

In a custom SXA control (just a copy of Promo) we started getting the error: "The resource you are looking for has been removed, had its name changed, or is temporarily unavailable." This happens on ...
1
vote
1answer
343 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 ...
1
vote
0answers
312 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
1answer
913 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
304 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 ...
0
votes
1answer
485 views

SXA Item Queries vs Search Scope

I want to know the best practice in using Item Queries and Search scope. When should i use Item queries and when to use search scope as both of them is used in building queries Any advise?
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 ...
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 ...
5
votes
1answer
399 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
125 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
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, ...
4
votes
1answer
561 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
260 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) ...
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 ...
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, ...
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
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 ...
3
votes
1answer
792 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
2answers
667 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
2answers
883 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
559 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 ...
2
votes
1answer
360 views

SXA 1.6 Creative Exchange Import Export options grayed out

I recently updated from SXA 1.4 to 1.6 and now the Import and Export buttons are grayed out. Any ideas on how to fix this? We are on Sitecore 8.2 update 6.
2
votes
1answer
479 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 ...
2
votes
1answer
101 views

SXA cannot create site under tenant that already has a site - Unrecognized Guid format error

I have an existing tenant with 1 website. I tried to create a new site in the same tenant, but got an SPE error. The logs show me: ERROR Unrecognized Guid format. Actual value: When I create a new ...
2
votes
2answers
549 views

'IServiceProvider' does not contain a definition for 'GetService'

This is the first time i deal with custom validations, but I need to create a unique email validation using sitecore 9.0.2 and SXA 1.7.1 so i was following this tutorial http://sitecoresolution....
2
votes
1answer
456 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
445 views

Engagement value points condition not working in SXA personalization

I am using personalization in Sitecore 8.2 SXA. I am using the engagement value point condition so that when the number of points reach certain number, the user is shown another content. But it is not ...
1
vote
2answers
333 views

SXA filter (checklist) not working with facets SxaTags

I have filter (checklist) on a page with facets set to SxATags. It is not pulling any tags. When I switch the facet to title, it does work. Please advice. After adding filter(checklist) and Search ...