Questions tagged [sxa]
Anything related to the Sitecore Experience Accelerator (SXA)
1,312
questions
0
votes
1
answer
93
views
What this code means when I duplicate a rendering
Can someone please explain me on some example, what these lines of code means. I duplicated the rendering and now I see this code, and I am so confused by it.
What is the meaning of Html.Sxa()....
1
vote
1
answer
282
views
Clearing Sitecore cache on publish for specific items
I want to clear custom cache when items at specific path are published. Here is what I tried so far.
Solution 1:
I created a custom event handler for publish:itemProcessed and publish:itemProcessed:...
2
votes
1
answer
276
views
Disable webedit for sc_field in Scriban?
I have a multi-line text field that I am rendering using scriban.
the Field Content is an address
some building, some floor
some street
PO box somePOboxNumber
somecountry
How can I render this field ...
1
vote
2
answers
87
views
Exporting a theme in a non-minified way
When I am trying to export the theme site in Sitecore 9.3 I get the pre-minified version of css, and pre-minified version of js. How can i export the theme that would contain the normal version of the ...
1
vote
2
answers
240
views
SXA out of the box Gallery component is not working as expected
I am using Sitecore 9.3 and SXA 9.3.
I am trying to add SXA Gallery rendering to a page but I am unable to add images from experience editor into the gallery component.
Step1: Dropped the rendering on ...
0
votes
1
answer
293
views
Sitecore 10.2 ARM Template based install on Azure XM Small throws exception Could not load file or assembly Sitecore.Analytics, Version=17.0.0.0
Using the walk through Walkthrough: Deploying a new Sitecore environment to the Microsoft Azure App service all packages chosen for XM only. However I get this error
This is not an XM Install, wonder ...
1
vote
1
answer
148
views
Rendering variant does not render data if template is changed
Scenario: I have a template that has shared fields, now I got the requirement to provide multilingual support in few components. I can't change the shared field because data should be shared in other ...
0
votes
1
answer
47
views
Best practice to create a template similar to existing but with different "Shared" value
I am using SXA Map component on my page and using one template "Office POI". This template have shared fields like Street, City, Pin etc. Items created on this template works perfectly on ...
1
vote
1
answer
42
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
0
answers
107
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":"...
1
vote
1
answer
421
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
1
answer
898
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
1
answer
53
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 ...
1
vote
0
answers
30
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
0
answers
89
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
0
answers
117
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
3
answers
651
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 ...
1
vote
1
answer
340
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
1
answer
99
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 ...
1
vote
1
answer
174
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 ...
1
vote
2
answers
330
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
1
answer
28
views
How to get missing Redirects functionality not available in upgraded 9.3 installation working
According to Sitecore Docs v9.3 should have the ability to do redirects ootb.
However, it is not available and doesn't exist in the content tree anywhere.
We started out with v9, I believe. (before I ...
0
votes
0
answers
19
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
0
answers
63
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
0
answers
148
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
0
answers
289
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
1
answer
386
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
1
answer
99
views
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
1
answer
778
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
0
answers
43
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
1
answer
243
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
1
answer
101
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 (...
1
vote
1
answer
506
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
0
answers
183
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
1
answer
111
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
1
answer
20
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 ...
1
vote
0
answers
71
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
1
answer
78
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 , ...
2
votes
1
answer
67
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
1
answer
183
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
1
answer
116
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
1
answer
191
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
1
answer
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
1
answer
64
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 ?
3
votes
1
answer
903
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
1
answer
332
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
0
answers
76
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
2
answers
105
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
2
answers
187
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
3
answers
173
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 ...