Questions tagged [sxa]

Anything related to the Sitecore Experience Accelerator (SXA)

Filter by
Sorted by
Tagged with
0
votes
1answer
145 views

Missing exception - Sitecore.XA.Foundation.Abstractions.Services.IContentTestingService.GetMultivariateTestDatasource

I was extending Sitecore CopyGlobalDatasource functionality. It was working fine, but recently I can see issue while browsing any page through the Experience Editor. Seems like missing method or ...
1
vote
1answer
66 views

Insert two values in SXA custom search query token (ResolveSearchQueryTokensProcessor)

I am working with a custom SXA search query token. I want to Insert with two different values. foreach (var val in values) { args.Models.Insert(i, this.BuildModel(itemFieldName, val)); } args....
1
vote
1answer
48 views

xConnect facet value persistence in multisite, when trying to open both sites in the same window but diff tabs

I have county-specific multisite and configured correctly in site settings, As mentioned below. Secondly, on the home page, I'm using some contact from the custom facet, and the source of data is ...
0
votes
1answer
26 views

Sitemap is showing Virtual folder name after the language code in Sitecore 9.0.1 with SXA 1.7

I am using Sitecore 9.0.1 with SXA 1.7. We have created one site where the languages used are "zh-CN" and "en" and configured the site to use virtual folder "/cn". When ...
0
votes
0answers
38 views

Pagination is not working with Page List

I am working on Sitecore.NET 9.1.1 (rev. 002459). Yes I have added unique List Signature fields value in both PageList and Pagination components. I have created a Page Design which has column splitter ...
1
vote
1answer
52 views

Bucketing rule is not working

I have created a bucket without any rules set i.e. it's structure is default. Now I am trying to create the rules for the bucket but the latest rule is not getting synced. I tried with both i.e. out ...
0
votes
1answer
116 views

How to get Variants field for Page Content

I'm extending the SXA Accordion component to add a header to the accordion. Ok, derive a template from Accordion template, add the Page Component to the presentation details for the standard values, ...
0
votes
2answers
146 views

Sitecore Form default CSS and JS not loading

I have a Sitecore Form that is working fine on one SXA site. However, if try to use the same form on another site then on the click of submit button, it's redirecting to the Formbuilder page. Also, I ...
0
votes
0answers
24 views

Sitecore Experience Editor url redirecting to wrong url [closed]

I am trying to open the page in experience editor the url building is https://sc93.sc/site1/?sc_mode=edit&sc_itemid=%7b233DA4CE-7075-4B44-9820-29AC7BE88910%7d&sc_lang=en&sc_version=1&...
6
votes
1answer
220 views

Good workflow for SXA powershell scripts

I am trying to find a good way to work with PowerShell scripts that we use for SXA such as for scaffolding. I have tried the PowerShell ISE client that was build into Sitecore but sometimes the UI ...
0
votes
0answers
23 views

Wrong url of partial design from page from Experience Editor Tab

When I am opening my partial design directly in experience editor it's redirecting to https://sc93.sc/site1/?from=2021-01-01&to=2021-12-31&languages=English where site1 is the virtual folder ...
1
vote
1answer
59 views

SXA CLI skips uploading pre-optimized-min.css.map, says “Incorrect File Name.”

On Sitecore 10.1, we have a pretty standard SXA CLI setup. in gulp\config.js the following settings are set for Css handling. css: { path: ['styles/**/*.css','styles/**/*.css.map'], ...
0
votes
1answer
26 views

Including the solr field in search result along with item fields in the Search result rendering variant

I am using sxa search result for rendering the service items which contain coordinates(lat-lang). We have got a new requirement where the same services may be available in different locations. Hence ...
0
votes
1answer
34 views

Rich Text from partial design not editable on page [duplicate]

I have added rich text component on partial design and assigned that partial design to page design and further added that page design to page. However, when I tried to edit the rich text field from ...
0
votes
1answer
38 views

SXA Optimized Items Not Created Completely. Core Database error

In 9.3 we are seeing the base themes not always generating the optimized items. The weird thing it will create the item, but never have the code attached. We see the following in the logs. Why is the ...
0
votes
1answer
40 views

Sitecore Sxa Checklist Filter Multiple selection not showing result

I have a multilist field Services in sitecore which I have added in solr index as stringCollection using the below configuration. <field fieldName="servicetitles" returnType="...
0
votes
1answer
45 views

How do you reverse sort and hide the count from the SXA dropdown fiilter?

Can the following two be answered without requiring code changes? How to hide/remove the inside dropdown count number? How to sort the year lastest on top?
2
votes
1answer
49 views

Was Asset Optimizer's optimized.min having multiple language version intentional?

Last night we encountered a yellow page that reads "Unrecognizable Guid format" and upon investigating, we found out that the web DB has an optimized min that has an English (United States) version ...
0
votes
1answer
29 views

How to Evaluate EnableRule field of Sitecore Rendering variant

I have got a scenario that I put some conditions in EnableRule field in rendering variant field. If rule is true then it should render mapped field value and if false it should render some default ...
0
votes
0answers
20 views

Error Rendering Sitecore.LayoutService.Presentation.JsonDataRenderer: Object reference not set to an instance of an object

I am using Sitecore 9.0.1 with SXA 1.7 . I am getting below error when I change my SXA page from Default to JSON content. I have used SXA rendering variants on the page those variants are working fine ...
0
votes
1answer
92 views

SXA search - Accordion Items are not shown up after indexing even in scope query when we provide template name

I am trying to make my accordion items (data source is in Data node) searchable. I tried adding _searchable to the accordion-item, but I guess it is not getting indexed. As I try to add it using ...
0
votes
1answer
43 views

Apply a CSS class to every alternative div using Sitecore SXA

I need to create an SXA component in which I need to apply a specific CSS class to each alternative div. The component should read the item from a multi-list and then render the HTML and apply a ...
0
votes
1answer
42 views

What is the benefit behind Local Datasource relative paths instead of using the Item ID

Could anyone shed some light on the reasoning behind the Local Datasource mechanism where it will use the local datasource path in the layout xml instead of the datasource item ID? e.g. local:/Data/...
0
votes
1answer
560 views

Bind JSON data in the rendering variants using custom SXA component

Recently I was building a custom SXA component and I have made that by cloning the Default Event List Component given by SXA . I have to get the data in json format from a controller and bind it with ...
0
votes
1answer
29 views

Collection was modified; enumeration operation may not execute

We are installing Sitecore 9.3 SXA Vanilla instance and after completing the installation I have created an aspx page that will be executed from PowerShell and that will install some packages on the ...
0
votes
1answer
50 views

SXA Search scope dynamically passing facet information

We have a requirement where we need to display the first two news items (sorted by time) and along with it there will be a link to view the rest of the news as well (this is page 1). If they click on ...
0
votes
1answer
50 views

How can I get to my site settings in my content tree from a scheduler class?

I am trying to get to my site settings item in my tree to see what office id I need between my US site and my CA version. I have tried Sitecore.Context.Site but since this is a scheduled task it comes ...
1
vote
0answers
19 views

Is Donut caching in SXA with Forms supported?

I have come across an issue where if I configure a form on a page. How renderings are nested: Column Splitter (main) Container (/main/container-9/column-2-7) Sitecore Form Wrapper (/main/container-9/...
-1
votes
1answer
112 views

Field rules in Search Scope is not working with tags field of my pages

I am using SXA Sitecore 9.3, my requirement is to get search result based on SXA tags on the pages, for which I have applied query and rule in search scope. But the tag result is not accurate, even ...
0
votes
0answers
65 views

Handling error pages SXA with IIS

I am looking to configure error pages on SXA. I read the following topic and configured it accordingly: https://techknowlodgey.wordpress.com/2020/05/09/error-handling-with-sxa/ I have generated a ...
8
votes
1answer
153 views

Export does not include an index.html file

When exporting a site for agencies, the resulting zip file does not contain an index.html. Versions: Sitecore 8.2 (rev. 160729) Sitecore Experience Accelerator 1.0.0 for 8.2 Sitecore PowerShell ...
0
votes
1answer
145 views

Insert taglist Component inside search result rendering variant

Can taglist component be used inside search result rendering variant? I tried to use it with in search result rendering and it is just keep spinning and not showing any results. In the console, I am ...
0
votes
2answers
500 views

How to add SXA license to Sitecore instance?

I am newbie to Sitecore. I have Sitecore Experience Platform running on my development machine. I need to set up Sitecore Experience Accelerator for this instance. I have installed required packages ...
1
vote
1answer
62 views

How to create a custom facet for a Time range for an SXA search filter

I have a search result component showing all the events. The requirement is to add a CheckList filter to filter the events that have their event date before 9AM and after 9AM. How can I create a ...
1
vote
2answers
75 views

How to use multiple models in Sitecore view

We would like to use multiple models in Sitecore SXA view like MVC. Is it possible? We have one custom model and one default model. Models : Custom model @model Sitecore.XA.Foundation.Mvc.Models....
2
votes
1answer
62 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, ...
0
votes
0answers
14 views

Sitecore A route named 'sitecore_graphql_/api/xx' is already in the route collection. Route names must be unique. Parameter name: name [duplicate]

I am new for Sitecore JSS. I am using Sitecore 9.3/SXA/JSS - I am not able to login into my Sitecore after deploying UI components. I am getting "Sitecore A route named 'sitecore_graphql_/api/xx' ...
0
votes
1answer
265 views

Change the rendering of SXA Search from a page to overlay

I'm trying to view the search results of a search box in a popup not in a page, I've created an overlay with a search results rendering in it and then choose it as the "Search result page", the ...
0
votes
1answer
222 views

SXA exported HTML - asset URLs broken

Exporting an SXA 1.8 site (SC9.1) with Creative Exchange generates the static files, however the asset URLs in the exported HTML contain hyphens, whilst the folder structure from the zip file contains ...
0
votes
1answer
228 views

Partial design content not appearing in Page design

Using Sitecore 9.2 and SXA 1.9, I've created a Partial design which appears OK in the Experience Editor. I've then added the Partial design to a Page design but when I view that Page design in the ...
0
votes
2answers
53 views

Sitecore container with variants to change background color

I'd like to build a component in Sitecore that I can drag other components into when using Experience Accelerator, just like the out of the box container component. I'd also like to add variants on ...
0
votes
0answers
20 views

Sitecore SXA custom Error Page folder is not getting created in the Website root folder

I am using Sitecore 9.0.1 with SXA 1.7 .I wants to create a Error Pages for my site and followed the documentation https://doc.sitecore.com/developers/sxa/18/sitecore-experience-accelerator/en/...
0
votes
0answers
29 views

Reusing JSS Components in SXA site

I have setup a sample Angular JSS app, created a few ng components and deployed it to Sitecore instance which has a SXA site already present I am now looking at how I can re-use or integrate my new ...
0
votes
1answer
50 views

Edit sitecore sxa sitemap

I want to add an alternative link to one of the URLs on the generated sitemap.xml by SXA is there away to do that manually? I have referred to that question but I think there may be a simpler way to ...
1
vote
2answers
259 views

Working with chinese language with the SXA Search Component

We have an issue, where we have content in multiple languages, and we are doing a basic keyword site search using the SXA Search Component. As far as I can tell (from the search.log), the SXA Search ...
0
votes
1answer
61 views

SXA Extending Component Search URL

Working on Sitecore 9.3. What I'm trying to do is edit a base .js file, being component-search-url.js. Specifically, I want to update the setEndpoint function to always return the endpoint. Currently ...
0
votes
1answer
63 views

Partial design and page design not adding in home page

I have just started working with sxa. I installed sxa 1.8 with sitecore 9.1. I have created one header partial design and one landing page design. I have selected this page design into home page of my ...
2
votes
1answer
78 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 ...
1
vote
2answers
60 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?
0
votes
0answers
14 views

Render the Link text of a Sitecore General Link field using scriban script in SXA [duplicate]

I have a template which has a General Link field CTA. Raw Value for CTA Field: <link text="Learn More" anchor="" linktype="internal" class="" title="&...

1
2 3 4 5
22