Questions tagged [sxa]

Anything related to the Sitecore Experience Accelerator (SXA)

Filter by
Sorted by
Tagged with
5 votes
1 answer
699 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 ...
4 votes
1 answer
255 views

How to show the facets with 0 count in sxa checklist filter component

I have multiple filters on my page which includes Location, distance and 2 Checklist filter(with multiple selection). Initially page is loaded with no filters selected and result is read from the ...
4 votes
1 answer
2k views

How to display linked item's fields with rendering variants using SXA?

I've created a custom template that links to the author of an article that I'm publishing. Whenever I render that variant, I get the Sitecore Item ID instead of the text of that link. I'd like to do ...
4 votes
1 answer
674 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
1 answer
1k 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 ...
  • 19.6k
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 ...
  • 1,959
4 votes
1 answer
798 views

What does the switchableLinkProvider do and how should it be used?

SXA comes with a linkProvider called the switchableLinkProvider. I have seen the official doc about custom link providers in SXA but I don't need a custom link provider, I just need to understand what ...
  • 5,245
4 votes
2 answers
472 views

Integrated GraphQL is not executed in Experience Editor

We use Sitecore 9.2, SXA 1.9 + JSS 12.0. As for the JSS, we are using Sitecore First approach. Some JSON renderings have integrated GraphQL queries. The Jss site was created trough JSS Tenant/JSS ...
4 votes
1 answer
736 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 ...
  • 293
4 votes
1 answer
1k views

How to extend SXA components scripts?

I need to overwrite/extend the component JavaScript (e.g.: script for the Carousel which is located here /sitecore/media library/Base Themes/Components Theme/Scripts/component-carousel) files to add ...
3 votes
1 answer
1k 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) ...
  • 3,727
3 votes
2 answers
450 views

How does the SXA Datasource Workflow work?

In SXA 10 I can see a new way to use workflows on datasource items of a page. This is described here. If I assign the page template to a workflow and set it up as in the documentation, it does not ...
  • 5,245
3 votes
1 answer
280 views

Set a particular path as datasource location for image field in SXA instead of entire media folder

For an image field in a template, I set a particular folder location as a source. I want to redirect the user to that folder to select the image and hide other media items. When browsing the image ...
  • 161
3 votes
1 answer
2k 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 ...
  • 649
3 votes
1 answer
614 views

SXA rendering variants fallback

Does anyone know exactly how the fallback works on rendering variants in SXA? I was checking the default variant of the navigation, and I can see: Navigation title Title __Display name I assumed ...
  • 19.6k
3 votes
2 answers
2k 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
4 answers
883 views

SXA How to create site using wizard

I tried to create a new SXA site but do not see the "Site" insert option on the Site Folder parent item. When I try to create it by navigating to the branch template /sitecore/templates/Branches/...
3 votes
1 answer
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
1 answer
535 views

SXA 1.8 Link field class ignored from rendering variant

I have created a link rendering variant and put in css class of "btn login-button" However in my markup where the link is using that rendering variant this does not appear <div class="component ...
  • 1,353
3 votes
2 answers
2k 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 ...
  • 19.6k
3 votes
1 answer
1k 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
1 answer
495 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 ...
  • 649
2 votes
2 answers
782 views

In Sitecore SXA how do I change the datasource from page for a rendering that belongs to partial design?

We want content authors to edit content on the page without having to add the rendering each time on the page level. For this we are thinking of partial design.Our blog partial design needs fields ...
  • 21
2 votes
1 answer
342 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 ...
  • 19.6k
2 votes
1 answer
477 views

Sitecore Dictionary Labels in SXA Rendering Variants?

How do I make use of Sitecore Dictionary Labels in SXA Rendering Variants? I want the CTA Text to come from Dictionary. It will have two texts namely "View More" and "View Less" in 3 languages.
2 votes
2 answers
433 views

Engine ProxyService shopcontainer threw an exception of type 'System.MissingMethodException'

Software used-> Sitecore Commerce version 9.2, VS2019 We are using Unchase OData Connection service to generate/update service proxy in VS2019. Official OData provider for VS2017 (OData v4 Client ...
2 votes
1 answer
1k views

Is there a way to get a user object in Scriban?

I was trying to display user information inside a Scriban template (SXA variant). I managed to write a context function that gives me the full name of the user (or any profile property I put in ...
  • 19.6k
2 votes
2 answers
333 views

Does Sitecore SXA supports personalization between rendering variants?

I have come across the situation where we want to implement personalization between the rendering variants for a given rendering. I know we can do the personalization between the renderings but I'm ...
2 votes
1 answer
2k views

Rebuilding Indexes with SOLR throws Exceptions

I set up a fresh Sitecore 9.1 with SXA on my local machine. When rebuilding the indexes, I get the following messages: (Core) 19676 14:50:03 WARN Could not compute value for ...
2 votes
2 answers
3k views

Video url with Image type Field

I have a carousel with Images and videos. The Image added appears but not videos. I am trying to assign a Video(mp4)media type using a Image Field type. When I am try to click the Browse and select a ...
  • 1,056
2 votes
1 answer
570 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 ...
2 votes
1 answer
372 views

SXA & Language fallback in list components

I have a website with SXA (1.7.1) and language fallback setup up. It all works fine for regular components (eg. carousel or a custom component made by us) but lists (eg. Link List) won't pick up ...
2 votes
1 answer
589 views

Custom template standard values (SXA): add a custom variant to a page content control

I created a custom template to use with the SXA carousel component. On the standard values > presentation > details, I selected the Page Content control and I want to use a custom variant (which is ...
  • 175
2 votes
2 answers
6k 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
1 answer
358 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 ...
  • 17.3k
2 votes
1 answer
3k views

Component list for SXA

I've been tasked with coming up with a user manual that shows the current components we have on sitecore 8 and compares them to the components available for sitecore 9 sxa. However I haven't been ...
  • 29
2 votes
1 answer
1k views

How do you create a scriban function which implements the Content Search API?

I've seen examples such as here on how to create a custom Scriban function. How would I go about implementing one which supports the Content Search API like that shown here? Example: Function called ...
  • 17.3k
2 votes
1 answer
843 views

How to create a variant of a composite rendering?

I have been trying to create a variant of Tab component, where I can insert additional placeholder for it. But there isn't an folder for variants of the Tab component. Is it possible and if so, how ...
2 votes
1 answer
511 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
1 answer
265 views

Using Sitecore SXA Location Search with Azure Search

Our Sitecore Application(9.0.2 with SXA 1.8) is hosted on Azure PaaS and we intend to use Azure Search as the Search provider for our application. One of the Features that we want to implement is ...
2 votes
1 answer
194 views

How to create an anchor tag of General Link field

We are getting results through Content Search API and getting the General Link field value into it. We would like to add an anchor link based on a general link field value. Do we have the default ...
  • 402
2 votes
1 answer
1k views

Unable to export query result to a file from Sitecore Powershell scirpt with Out-Download command

I have a simple powershell script which uses Out-Download command to export the query result to .xlsx file. However, it doesn't seem working. The same scenario as well if I used the download button ...
  • 181
2 votes
2 answers
1k 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 ...
1 vote
1 answer
453 views

Component's personalization rule applies only once

In our solution we're using custom personalization rule to show/hide components based on some criteria. This rule works fine but only for the first time the user visits the page after it's published ...
  • 11
1 vote
1 answer
107 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 ...
  • 17.3k
1 vote
2 answers
146 views

How do I render a Google static map with rendering variants?

I'm looking to generate something like the following using Google Static Maps. How would I go about setting this up with rendering variants?
  • 17.3k
1 vote
1 answer
290 views

Unable to get Rendering datasource with query like local:/Data/ Teaser 1

I am trying to get all rendering datasources added to an item. I used the below code var renderings = InnerItem.Visualization.GetRenderings(InnerItem.Database.Resources.Devices.GetAll().Where(d =&...
1 vote
1 answer
605 views

Is there a way to render scriban templates without the use of SXA Rendering Variants?

I would like to do some quick prototyping of scriban templates but have found constantly changing the rendering variant and refresh the page to be more time consuming than I would like. Is there a ...
  • 17.3k
1 vote
2 answers
258 views

Deploying SXA 10.2 XM Single with Sitecore Azure Toolkit 2.7 - The path '' is not valid for the 'dbDacFx' provider

When I attempt to deploy a Sitecore 10.2 XM0 topology with JSS 19.0 and SXA 10.2 configured as modules, I receive this error during the SXA deployment step: { "status": "failed"...
1 vote
1 answer
589 views

Create custom facet for Sitecore SXA search filter

I have to apply the SXA search Checklist filter component on a search result by the product type (which is a single line text field). Can anyone please provide any information or useful links on how ...