Questions tagged [sxa]

Anything related to the Sitecore Experience Accelerator (SXA)

Filter by
Sorted by
Tagged with
1
vote
1answer
16 views

What is PageOrMediaPredicate and other Predicate in Sitecore SXA search library

We have customized SXA search in our project. There are few predicates from SearchService of Sitecore.XA.Foundation.Search dll used. To enhance the performance I was trying to cache query to avoid ...
0
votes
0answers
19 views

Deploying SXA 10.2 XM Single with Sitecore Azure Toolkit 2.7 - The declared parameter 'Application Path" is not recognized

Installing XMScaled with modules is not working as expected. This did not work for XMSingle too. Followed the Walkthrough and inputs from Sitecore Azure Quickstart Templates {"code":"...
0
votes
0answers
25 views

Sitecore SXA Cache not working for just one component

I have a page with few components on it, I have enabled caching for all the components and testing it using below line <!-- Cache Test for <Component Name>: Time = @System.DateTime.Now....
0
votes
0answers
34 views

Cannot read properties of null (reading '1')

I am getting this error when I am trying to create a new theme using SXA CLI. ? Enter your login sitecore\admin ? Enter your password [hidden] ? Specify theme path. Root is Themes folder(format <...
1
vote
1answer
30 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 ...
2
votes
1answer
19 views

How do you copy Latitude Longitude from the old SXA fields to the new Coordinate fields?

We are upgrading from an older SXA for Sitecore 8.2.7 to SXA 9.3. We would like to keep the Latitude and Longitude values intact but we have hundreds of items with this data. How can I migrate these ...
0
votes
0answers
16 views

Pass the api model to components added in the scribans placeholder

We have created a custom scriban processor which gets the data from an external api and the model also got registered with scriban runtime. We have defined the scriban variant to use the custom ...
1
vote
0answers
17 views

Difference between scriban import and add

we are currently building a foundation in Sitecore SXA to process the external data using scriban context. Since we are to new scriban world and tried to understand how scriban processors are adding ...
0
votes
0answers
16 views

Modifying SXA checklist Filter facet

I have added the checklist filter from the SXA search component. I have to modify the dropdown by entering the box and autocompleting. I would like to modify like the below one without typing a word ...
0
votes
0answers
19 views

Extend AssetLinksGenerator.GenerateLinks to serve .gz files

My site is performing very slow. Google Page Speed suggests to use a few optimization algorithms, one of them is GZip. I have created some theme assets using this algorithm and imported my theme. Now ...
1
vote
0answers
24 views

SXA Scriban Dynamic Placeholders

I am trying to render a dynamic placeholder with the Scriban as follows: {{ sc_placeholder 'section' }} and I would expect it to add a number to the key i.e. section-3, etc, but this is what I see as ...
0
votes
1answer
24 views

How to make language embedding when hit the domain of site

I am using Sitecore with SXA, I need to embed a language to the URL. I know I can do it from configuration to make the languageEmbedding=always, but what I need is to add the language when I hit the ...
0
votes
0answers
21 views

sort search results by date not working after creating specific index to our site

we working with Sitecore 10 and sxa search components, in news listing page we get news ordered by date field, and it was working fine, but after creating a custom index to our site, the search ...
0
votes
0answers
16 views

SXA doesn't remove comments and line breaks during minification

I have enabled minification globally as well as in Page Designs. JS and CSS files are getting concatenated but I can see comments and line breaks in optimized.min.js. Here is global settings under /...
0
votes
1answer
27 views

How to upload single file into theme

I wanted to change one js file from theme so I downloaded it. Now when I made those changes I am not able to see any option to upload it. Can someone please guide me on this? Update As Raman ...
0
votes
1answer
27 views

SXA checklist filter has an issue with facet values that contain spaces

I am trying to create an SXA checklist filter with multiple selections that reads from a list facet. This facet reads from values that may contain spaces (ex: Action Recommended), however the search ...
0
votes
2answers
65 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"...
0
votes
0answers
16 views

Multiple root nodes for DropTree [duplicate]

I am using SXA and have multiple sites, I want DropTree to have two data sourcesas below. /sitecore/content/Tenant1/SiteFolder/LocalSite1/Data/SomeFolder /sitecore/content/GlobalSite/Data/SomeFolder ...
1
vote
0answers
15 views

Error on sxa watch [Cannot read property 'jsPath' of undefined]

I set up my project with Creative Exchange Live using SXA CLI, the command "sxa build" works but when I try to use "sxa watch" or "sxa upload" I have this below. I ...
1
vote
0answers
30 views

Geolocation not working on Local [closed]

I have configured a page for personation based on GeoIP but it doesn't work on my local. I have used a chrome extension to fake IP address. I can see Sitecore.Analytics.Tracker.Current.Interaction.Ip ...
0
votes
0answers
52 views

Add favicon icon in media item

Is it possible to add favicon icon on media library items in Sitecore 9. When we are trying to open any media item through page such as opening a .pdf link on new tab then favicon icon does not show. ...
8
votes
1answer
106 views

Disable Analytics/Tracking For each SXA site

I am using Sitecore 10.1 and I have a situation where I need to disable analytics and personalization or can say xConnect for a particular SXA site. Is that possible to keep the setting for each site ...
0
votes
1answer
27 views

SXA- Get the content from third party API

We have requirement to create a dynamic Pages in SXA. This dynamic page will have a template. These template will have a page design with partial designs. All of the partial designs get the content ...
0
votes
1answer
32 views

Search Result Listing Get index of an item using Scriban

I have a Search Result Listing Variant created using Scriban. This will render a card from each of the items got from the scope query. However, I want to get the index of items at the scriban template....
0
votes
0answers
14 views

How to get group by results in sitecore sxa search results component

I Have a locations page with 3 filters, country, state and brand Even markup also has group by structure, need to show all locations under each country title. My question: How to apply group by for ...
2
votes
1answer
44 views

Where are my SXA items?

Running 10.2, I followed the SXA installation instructions and installed: Powershell Extensions 6.3 Sitecore Experience Accelerator 10.2.0 rev. 04247 If I go into /templates, then SXA stuff is there,...
1
vote
1answer
68 views

Site clone script running for hours

I have started cloning a SXA site but it's shows "running script..." on UI. I checked few things Checked logs, found this line Job ended: SPE - "Clone Site" - sitecore\Admin (...
0
votes
1answer
61 views

NullReferenceException for placeholders in Experience Editor

I am facing an issue with Experience Editor. Each placeholder is throwing null reference exception. e.g. @Html.Sitecore().Placeholder("body-top") I tried removing this placeholder but it ...
1
vote
0answers
41 views

Error during creation of SXA Tenant in Sitecore 9.3

Powershell scrips for the creation of Tenant accidentally stopped to work I click the right mouse button on the content item and select "Insert>Tenant" I fill the name of a tenant and ...
0
votes
1answer
22 views

VelocityContext in Sitecore 10.1

When migrating from Sitecore 8.2 to 10.1. I have encountered the error in VelocityContext This is the code. public class AddTemplateRenderers : IGetTemplateRenderersPipelineProcessor { public void ...
0
votes
1answer
11 views

Paging for Site Manager

I have few sites but I can't see all of them on the same page in Site Manager. There are presented in 2 pages but I don't see any option to go to page 2 which make hard to manage sites. Is there any ...
0
votes
1answer
23 views

Information disclosure security issue

There is one security issue reported by Qualys scan. When we hit the url - https://hostnamecd/api/sitecore/image, it shows the page shown in below screenshot. Instead, it should result in custom 404 ...
1
vote
0answers
29 views

"Cannot use import statement outside a module"

When running gulp I get the following error: My node version is 17.1.0 Gulp CLI Version is 2.3.0 Local gulp is 4.0.2
0
votes
1answer
28 views

Share Index across multiple site

We are using SXA to build 4 sites under same talent for example site A , B , C and D. We have requirement to show the news articles created under any of these sites to be shown to rest of the sites , ...
1
vote
1answer
21 views

Nothing happening when running "sxa init"

hoping someone can help. I have successfully installed the SXA CLI as the pre-perquisites to setting up an SXA theme in Sitecore 10.1, I'm following the next steps but hitting a snag I think when ...
0
votes
0answers
29 views

How to display the JSON content of a SXA page in a sequential order in Sitecore 9.0.1?

We have a Sitecore SXA website. Sitecore version is 9.0.1, SXA version is 1.7. I am fetching the json data of a page by using default Sitecore resolvers and appending ?sc_device=json. But ...
0
votes
1answer
30 views

Specify default rendering for placeholder in partial design

We have a partial design with an empty placeholder that is being pre-filled with one of its allowed renderings upon page creation. It is not clear where exactly it is being specified for this ...
0
votes
1answer
36 views

Sitecore SXA Search Results Filter number of fields returned in SOLR response

I am using Sitecore 10.1 with SXA, I have a page that contains search results component and I have noticed that the query that is generated and run on SOLR is retrieving all the fields in the response....
0
votes
1answer
37 views

SXA watch CLI only minify and upload CSS only. JS and Scriban does not work

sxa watch All -d AND gulp, only track css. It says its watching js and scriban but when I save a js or scriban, CLI does not throw a response. Am I missing something ? This is my config: Sass (working)...
0
votes
1answer
27 views

Assign different theme for Header

Is it possible to add different theme for Header and different theme for body / main content..? In SXA, it is allowed to do it but in Header partial view using Experience editor and shows that theme ...
0
votes
1answer
36 views

Can we add or delete data directly into database through Sitecore SXA? [closed]

Can we add or delete data directly into database from programming in Sitecore SXA? Can we add .edmx in Sitecore and perform create/update/delete operation through it ?
2
votes
1answer
122 views

How do you get value of item tag in scriban template

Sorry this is probably a dumb question but I am a bit stuck in here and I can't find suitable solutions in google. Basically I have an item or a page with a Tagging on it. But I can't seem to get the ...
0
votes
1answer
51 views

Clone of a rendering in SXA not showing Variant

In Sitecore SXA, I've created a clone of a rendering called "Page Content". But when I add this on a page, it doesn't render the data. When I checked its presentation details I found that ...
0
votes
0answers
27 views

Synchronizing theme changes with Creative Exchange Live

I set up my project with Creative Exchange Live using SXA CLI, everything works when I use "sxa watch" my files are well compiled and send to the server. The issue is when I try to get the ...
0
votes
2answers
30 views

Semantic Tag Based Sxa Search not showing result on solr search service

I am using Sitecore 10.1 with Sxa on solr 8.4.1. The sxa scopes based on templates having any semantic tag is showing result in build query, but not on page preview nor published page. Example query : ...
1
vote
2answers
64 views

How to create a custom Site template in Sitecore SXA?

In Sitecore SXA when I right-click on a tenant, it should have an option to add an eCommerce site. So, when a user clicks on the eCommerce site it should run the same PowerShell script that is run ...
0
votes
3answers
83 views

How to add a sitenames in the dropdown filter of an Experience Analytics in Sitecore 9.0.1

I am using Sitecore 9.0.1 with SXA 1.7. I want to show the list of Sitenames inside the dropdown filter of an Experience Analytics . How can i achieve this? By default it is showing All sites and ...
0
votes
1answer
55 views

SXA Content Tokens in Layout Service

I'm attempting to use a Content Token named BrandName in a Page Title field in a multi-site headless solution (Sitecore 10.1.1 Headless 18). The hope was that I could setup the Standard Values for ...
0
votes
0answers
25 views

How to make api call and render the response data in component? [duplicate]

I am new to sitecore so I am using sxa to make a widget this widget data like name and date comes from public api, so my goal is to make api call get the response and use the response in my created ...
2
votes
1answer
41 views

SXA OOTB Social Share Heading Tag

I am using SXA 9.3 with my Sitecore 9.3 instance. For the Social Share component, there is a model property HeadingTag in the view file(snapshot attached below) for which there is no field shown in ...

1
2 3 4 5
23