Questions tagged [sxa]

Anything related to the Sitecore Experience Accelerator (SXA)

Filter by
Sorted by
Tagged with
3
votes
1answer
125 views

How do you detect Edit Mode in the Experience Editor with Scriban?

Is there a function that I can use in the Scriban template to implement conditional logic based on the fact that the page is opened in the Experience Editor? Something like the below: <div class=&...
3
votes
1answer
432 views

Running SXA Creative Exchange Import on build and release pipelines (CI / CD)

How do I build the front end static assets for a SXA web site in my build pipeline, and then import into Sitecore in the release pipeline ? I would like to run unit tests, code scanning, and produce ...
3
votes
1answer
1k views

Error in Sitecore 9.2 and SXA 1.9 - Could not load type “Sitecore.Jobs.Job” when creating new Tenant

To replicate: Download and install Sitecore 9.2 Initial Release using "Graphical setup package for XP Single" option, which will install Sitecore.NET 9.2.0 (rev. 002893) Download "Sitecore Experience ...
3
votes
3answers
963 views

OWIN sign-in links only working for SXA sites NOT configured in MapEntry of IdentityProvidersPerSite

On Sitecore 9.0.1 and SXA 1.6 I'm trying to get federated authentication to work for website visitors using OWIN WSFed following this guide in a multi-site SXA solution. I've gotten everything to ...
3
votes
4answers
719 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
2answers
3k views

How do I get my custom css class to show up in SXA?

I have created a new theme in my SXA website (by duplicating the Basic Theme) and I have been able to switch to the new theme in Experience Editor. I've decided to add a background image to the body ...
3
votes
1answer
706 views

Why can't I select a page in my website when using SXA?

I have created a new SXA site (using Sitecore Experience Accelerator 1.1 rev. 161004 for 8.2.zip) and I've created several different pages (inside of Content Editor). I'm trying to use the Navigation ...
3
votes
1answer
107 views

How to I use file based Scriban template development with SXA Creative Exchange?

We're in the process of establishing a new SXA solution. As part of that work we've established the necessary folder structure and procedures to use the SXA CLI to build and upload our theme (later, ...
3
votes
2answers
141 views

Sxa Tab is causing autoscrolling while redirecting to that page

I am using Sitecore 9.3 SXA, wherefrom main page on button click I am redirecting to the video page where we have SXA Tab component below the video. Upon redirecting, the page is getting scrolled to ...
3
votes
2answers
542 views

Sitecore Media Request Protection errors with CDN enabled

We have CDN enabled on our website and we are seeing lot of errors w.r.t Media request protection like below: ERROR MediaRequestProtection: An invalid/missing hash value was encountered. The expected ...
3
votes
1answer
476 views

Integrated GraphQL is not working correctly with JSS with SXA

I've been struggling for a few days to get JSS Integrated GraphQL running on an existing SXA project. To rule out any issues being introduced by this project, I decided to go right back to square one, ...
3
votes
2answers
260 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 ...
3
votes
2answers
151 views

How to have control over the section names in the SXA Toolbox?

I have a project with a defined folder structure for the renderings. I am in the process of adding SXA support and would like to create SXA Toolbox sections containing these renderings. By default, ...
3
votes
2answers
292 views

How to read a field in the variant template?

The requirement is to return the item id in the query string on button click. I added a template in the rendering variant and added the following line <a href="https://some url?itemid=$item.ID"&...
3
votes
1answer
195 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 ...
3
votes
1answer
534 views

Set custom rendering styles on an SXA component to be enabled by default

When adding a component to a placeholder, how would I go about setting default values for custom styles in the rendering parameters so that certain styles are enabled automatically for the user when ...
3
votes
1answer
394 views

How to change styling of OOTB components in SXA?

What is the best practice to change styling of OOTB components in SXA? Are we allowed to change main.css and also any component-{componentname}.css in our custom theme? Is this compatible with ...
3
votes
1answer
467 views

Newly created Site in SXA, publishing the full site gives error

When publishing the complete website, I am getting error. I have tried to find the solution but found so far that the configs might be corrupted. I have checked: Configurations are all set. The ...
3
votes
3answers
458 views

Prevent content authors removing html from the experience editor

I have been working on a Sitecore 9 migration project. The client told us to use the existing html and stylesheets and use SXA as much as possible. We have used RichText control in a few places but ...
3
votes
1answer
258 views

SXA Where to place custom module templates

I am extending the Sitecore SXA SiteMetadata module to add some new functionality. My new module is called Sitecore.XA.Feature.SiteMetadata.Custom. To me the logical place to put the templates would ...
3
votes
2answers
884 views

How to configure SXA Search Box to support tab or enter completion?

Here is what I have setup: Insurance Item Template: Title - Single-line Text InsuredStates - Multilist pointing to a list of states such as (Texas) Inherits from the _Searchable template in SXA I ...
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
2answers
1k views

SXA Value cannot be null. Parameter name: siteInfo

I have installed sitecore commerce on my local machine.I have also added Tenant and SXA Site. Everything worked fine until i encountered with an issue when i click on the site, i am getting the ...
3
votes
1answer
241 views

Sitecore Helper to render SXA Component inside cshtml

I need to render the Social Media Share component in the cshtml of Cloned Search Results, is there a Sitecore Helper to render a component in the view? I am using SXA 1.8 so I know that we have the ...
3
votes
1answer
168 views

Accessing Page Rendering Datasources in workflow action

Using Sitecore 9.1, SXA 1.8.1. I have a page with a link list clone. When I delete a link from that list and then publish via workflow the deletion is not propogated properly through to the web ...
3
votes
1answer
267 views

Enabling Item Language Fallback for SXA component datasources

In our Sitecore instance we have a number of different languages, and we have enabled item level language fallback. We have enabled item level fallback on all of our page templates, and this works as ...
3
votes
1answer
624 views

Sorting inherited template fields

I have a page template inheriting from base templates. But when I go to edit those from Experience Accelerator, Page metadata, Other dialog, they are in a strange order. It seems like its grabbing ...
3
votes
1answer
903 views

How to display page list based on query against a dynamic sxatag value

I want to have a list of articles that could be located anywhere throughout the website with a particular tag associated to it. I don't want to have to have a specific query for each and every tag ...
3
votes
1answer
310 views

Count of selected items in a MultiList

I need to view the number of selected items in a MultiList field using out of the box SXA (1.7) components(i.e. no custom coding). I tried doing this with a rendering variant NVelocity template using ...
3
votes
1answer
363 views

How to sort the pagelist items

sitecore sxa - I am using paglist for showing product lists with the help of query builder and variants. its not showing proper order list, When in the query builder, I see that sort is an option, its ...
3
votes
1answer
161 views

SXA Search results Tooltip

The SXA search results tool-tip contains the display name of the item as shown in image below I want to make the tool-tip reads its content from a specific field of the item template, as I have a ...
3
votes
2answers
738 views

Image not rendering in SXA PageList variant

I need to create an image grid, like this (image and title) using Sitecore's SXA 1.6. I took the approach of using a Page list component to implement this and gave it a media folder as a data source. ...
3
votes
1answer
364 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 ...
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
651 views

While deleting an item in item:created event i got exception

I am running on Sitecore 8.2 rev. 170728 with SXA 1.5 I have a requirement where we need to limit sub-items for an item. To implement it, I have created custom event handler that check the limit and ...
3
votes
1answer
556 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 ...
3
votes
2answers
257 views

SXA: Renderings disappearing from Available Renderings

When I am adding available renderings into SXA, they do show in the Experience Editor's toolbox but after a some time, they disappear (only one stays permanently in the folder, and it has the same ...
3
votes
1answer
186 views

SXA with Preprocessors?

For creative exchange exports and imports, is it possible to use a pre-processor such as sass or less? Is exporting and importing css files the only option?
3
votes
1answer
611 views

How to get the URL of the current item in the variant template?

I want the URL of the current item. I added a template in the rendering variant: <a href="https://current item url?itemid=$item.ID">Button text</a> What should I replace "current item ...
3
votes
1answer
588 views

Cache not being cleared when changing partial design

I have a component that is cacheable within a placeholder where another component is placed, which is an SXA component. When I try to remove the SXA component inside the placeholder, the cache doesn't ...
3
votes
1answer
220 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 ...
3
votes
1answer
643 views

How to create “Call to Action” with SXA?

We are using Sitecore 9 Update 2 with SXA 1.7.1. Call to Action component should contain Image, Text and Link components from SXA together. How to build this kind of component in SXA 1.7.1? Is ...
3
votes
1answer
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
2answers
278 views

System.InvalidOperationException value exception in Placeholder with SXA installed in Sitecore 9 update 1

Have you encountered this issue in SXA? To re-create the issue, In the Experience Editor Click Presentation Details > Click Final Layout tab > click Edit > click Placeholder Settings > click Add I ...
3
votes
1answer
637 views

Search results components

Is it possible to show different search results ( on the basis of templates) in different tabs (one tab for one template like article/blog/documents) in same page for same keywords using SXA search ...
3
votes
1answer
247 views

Events List Pagination

I am trying to add pagination for events list but it displays this message "There is no list on the page with the same signature" although the paging component and the events list are using the same ...
3
votes
1answer
496 views

SXA 500 error handling

I have set up Server Error Page Link field at SXA settings item, but it never redirect me to a page, in case of 500 error happen. (400 error works well) what I should do for make it work ? I know ...
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
76 views

Is it possible to have more than one token field in a rendering variant?

In SXA 1.8 I had a rendering variant with a VariantSection, with a style key on the Data attributes field, with value of background-image:url($(PromoImage));background-position: $(Horizontal Focal ...
3
votes
1answer
74 views

Pipe expression destination `string.empty` is not a valid function

I'm trying to do something like {{ "" | string.empty }} and get Pipe expression destination 'string.empty' is not a valid function I can see it is available here though https://github.com/...

1 2 3
4
5
22