Questions tagged [sxa]

Anything related to the Sitecore Experience Accelerator (SXA)

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

The script added inside the multiline text field is getting deleted by itself in Sitecore 9.0.1

I am using Sitecore 9.0.1 with SXA 1.7. I have created a Multiline text field and it has a script inside it. The script inside is getting deleted by itself after some time. Any solution for this and ...
0
votes
0answers
21 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 =&...
0
votes
0answers
32 views

Experience Editor issue in JSS + SXA + .NET Core Rendering Host solution

I am running Sitecore Helix.Example for Sitecore.JSS + .Net Core Rendering Host. In addition it is wrapped with SXA to be able to use all SXA advantages like multisite management and so on. In normal ...
1
vote
1answer
59 views

Setup a content test failed with NullReferenceException

I am new to Sitecore. We are using Sitecore SXA and Sitecore 9.3. I need to set up a simple A/B rendering test. When I provide a variation for the test in Experience Editor and click ok (see Picture ...
1
vote
2answers
52 views

Site specific source for droptree field type

I have an sxa multisite solution where a template has been used across 2 sites. The template has a droptree field with source in template as /sitecore/content/tenant/site1/data/tag. However, when I ...
0
votes
1answer
45 views

Visualization.GetRenderings returns empty string using local: data source

I am trying to index rendered content. I am using the following plugin. It works with a global data source, however, it does not index rendered content if the data source is local (local:/Data/Rich ...
4
votes
1answer
41 views

Is there a way to parse Sitecore DateTime field type value in a particular Date or Time format directly in Scriban?

We are using SXA Rendering Variants with Scriban for our websites. In order to format the value of Sitecore field type DateTime in Scriban I am using `{{ sc_field i_item 'Date' [ [ 'format', 'd\nM,\...
2
votes
2answers
95 views

Using Page designs or Partial Designs in SXA JSS Site

We have built out a JSS tenant and creating pages that are rendered with React with Sitecore 10.1.1 in integrated mode (Sitecore first). Basic layouts and placeholders are working as expected. We are ...
1
vote
1answer
36 views

How to expose Sitecore SXA website content in JSON format to third party using custom API?

We have a Sitecore SXA website. Sitecore version is 9.0.1, SXA version is 1.7 We have to share the website content to third party in JSON format using custom API. So third party will consume this API ...
0
votes
0answers
91 views

Sitecore SXA dynamically changing presentation at runtime

I have a Sitecore 9.2 SXA solution currently holding five Sites. Let's say Tenant Corporate Site1 Site2 Shared Site3 Site4 All Sites are accessible, except for Shared, where there's a source of ...
0
votes
0answers
68 views

Images not showing on preview mode in sitecore 9.1.1

I have a website on sitecore version 9.1.1 and sxa 1.8 Several components and pages contain image fields, when I open the page in edit mode everything looks fine but when I open the page in preview ...
0
votes
1answer
21 views

Editing SXA Searchbox rendering parameters thru powershell

I am trying to update the 'Search results signature' and Suggestion mode of SXA Search box rendering of items thru below powershell script but it is adding new parameter at the bottom instead of ...
2
votes
1answer
37 views

Handling multiple language versions of an Item in Scriban

Let's imagine I have an item with in three language versions: en, jp and es. My goal is to render a block which will display all 3 language versions of the item's 'Description' field. So, I would go ...
0
votes
1answer
43 views

XM 10.1.0 & 10.1.1 + JSS & SXA - Could not load file or assembly 'Sitecore.Analytics, Version=16.0.0.0'

Vanilla Sitecore 10.1+ install with JSS 16 and SXA 10.1 installed. After the initial install, I'm able to navigate to the Launchpad normally. After a period of time or unknown trigger, I'm unable to ...
1
vote
0answers
35 views

Base partial design order

We have two base partial design. First partial design used to set the logo and navigation and the second partial design have log + navigation + breadcrumb, so we use the base partial design feature in ...
0
votes
1answer
34 views

Add query string to all Media item in Sitecore SXA 9.3

Is there any way by which I can add a query string in each media item requested in SXA include CSS, js, images, fonts, etc. Current URL - http://us.dev.local/-/media/base-themes/core-libraries/...
0
votes
0answers
34 views

Rendering Parameters values being null after sitecore upgrade

We have upgrade Sitecore solution from 9.1 to 10.11, as part of upgradation we had upgraded Sitecore databases and solution. We have around 80 plus sites and we are using sxa. Let me describe about my ...
0
votes
1answer
61 views

Add site module error

I am trying to add an SXA module on a site node. Right-click site node > Scripts > Add site module. I am getting the below error in SPE logs. 19528 00:27:22 INFO Script item set to master:\...
0
votes
0answers
45 views

Browser is unable to load pdf documents from Azure CDN

we are getting an error when the browser is trying to download pdf documents. we are getting an error i.e. Failed to load the document. This error we are getting for pdf files that are greater than ...
0
votes
1answer
29 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 ...
1
vote
1answer
80 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
61 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 ...
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 ...
0
votes
1answer
36 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
32 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
33 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
35 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
44 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 ...
1
vote
1answer
31 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/...
0
votes
0answers
73 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 ...
2
votes
2answers
88 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'], ...
1
vote
2answers
94 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....
3
votes
1answer
108 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
2answers
88 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
21 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
40 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 ...
2
votes
1answer
119 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 ...
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="&...
0
votes
1answer
47 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
36 views

Sitecore sxa custom filter based on content tree multiple node selection as datasource

We have a specific requirement in sxa search, we want to create a facet based on datasource selected from one of the treelist field which hold some node from content tree, for example Article and ...
0
votes
1answer
55 views

How link is created in CTA link in Sitecore sxa? [closed]

We would like to understand how Sitecore SXA create a link for CTA link component ? We use CTA link in Sitecore and add link through Internal Link and provide Query string value here. When we check ...
0
votes
1answer
30 views

Media handle hash not being generated

I am using Sitecore 9.1.1 with SXA 1.8.1. I am trying to generate the image URL with hash programmatically. I tried the following code but the HashingUtils does not seem to be working - the image URL ...
0
votes
0answers
34 views

Installing SXA on Sitecore 10.0 in Azure Appservice

I have a development instance of Sitecore 10.0 running in Azure Appservice. I would like to add the SXA package. I downloaded it from (In the Download options for Azure AppService section): https://...
1
vote
2answers
62 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
1answer
31 views

SXA Search box is not showing Predictions for Chinese language in Sitecore 9.0.1

I am using Sitecore 9.0.1 with SXA 1.7 and Solr 6.6.2. I have added a search box component and search result component on the same page for a chinese language and also selected the ShowPrdeictions ...
-5
votes
2answers
52 views

Please tell me steps to create two sites under single Tenant(including IIS configuration) sitecore SXA [closed]

What are the steps to create multiple site under single tenant in Sitecore SXA and required configuration in IIS?
0
votes
0answers
19 views

SXA Overlay slow to close

has anyone else noticed that if you open and close an overlay multiple times on a page, it gets slower and slower to close? I have a simple "Link" which opens a overlay - this works fine ...
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=&...
0
votes
0answers
18 views

Sitecore Form Custom validation script in Chinese language is not working after adding the form inside Sitecore Form Wrapper

I am using Sitecore 9.0.1 with SXA 1.7. I have created one form using Sitecore Form interface in chinese language and created one landing page and through experience editor under the main section i ...

1
2 3 4 5
22