Questions tagged [sxa]

Anything related to the Sitecore Experience Accelerator (SXA)

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

SXA JSON Results don't read from custom index

I'm using Sitecore 9.1 and SXA 1.8, I've created custom index instead of "sitecore_sxa_web_index", the Search Results component fetch data from the custom index and works fine, but the JSON ...
0
votes
0answers
10 views

load css and js only for Experience Editor in SXA

I have some css and js file in Sitecore, that I want to be loaded only in Experience Editor mode. Any way of achieving this in SXA?
0
votes
1answer
19 views

ERROR An item with the same key has already been added

Working with sitecore 9.1.1 and SXA 1.8.1. The below error suddenly appeared on the CD URL. Server Error in '/' Application. An item with the same key has already been added. Below is the stack ...
2
votes
1answer
20 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 ...
1
vote
1answer
55 views

Enabling Caching.CacheKeyIndexingEnabled.ItemCache causes error message on save and publish

Upon saving the home item I see the following error: Could not find configuration node: databases/database[@id='staging'] There are no files on the system (config, yml) that contain "staging&...
0
votes
1answer
29 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
20 views

Can we use SXA Search Functionality with JSS pages

With Sitecore 9.2 and JSS, can we use the SXA search functionality and configuration (scopes and boosting etc.) with JSS ? Has anyone done this or did you encounter any specific issues?
0
votes
0answers
16 views

We are working on Azure Search and we want to limit the search results to certain fields in Sitecore [duplicate]

We are working on Azure Search and we want to limit the search results to certain fields in Sitecore. I have created a patch file where we have mention the limit fields. But, still the search is ...
0
votes
1answer
32 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
1answer
33 views

How to write a for each inside template of a rendering variant

Inside a rendering variant I added a template. Inside that I want a for each loop. Can anyone please suggest if it's feasible. Sitecore 9.2
0
votes
0answers
11 views

Is it possible to display only a selected list of SxaTags in Sxa Filter Dropdown using SxaTags Facet without additional EnumList/computed fields?

Scenario: I have the Tags Folder under Data/Tags -> categorized to Authors, Categories, NewsTypes etc.. and have been using these ootb sxatags to tag various pages across a site for search pages , ...
0
votes
0answers
43 views

Sitecore 9.3 with sxa installation is displaying placeholder having empty data binding

My installation has Sitecore 9.3 with SXA. Master page on page have a placeholder and that placeholder is bind to view rendering. View rendering(*.cshtml) contains @Html.Raw with binding to an empty ...
1
vote
0answers
36 views

Snippet is not copying the renderings, while copying from global to local datasource

I am using SXA Sitecore 9.3, I have a requirement of using a snippet inside the tab content-section for multiple pages. Whenever I add a tab in new page and then add the snippet (from the global data ...
0
votes
0answers
36 views

Sitemap in SXA JSS Site

We are using REACT App in the front end and using capabilities of Sitecore JSS(12.0) for headless view and SXA(1.9). I have configured settings to get sitemap settings (by inheriting sitemap template ...
0
votes
1answer
27 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 on the basis of sxa tags on the pages, for which I have applied query and rule in search scope. But the tag result is not accurate, ...
0
votes
1answer
53 views

SXA Boosting by multiple query

I'm using Sitecore 9.1 and SXA 1.8, I'm using SXA boosting rule of where the field contains Search Box query, this rule doesn't work when the Search Box query is multiple words that are not in order. ...
0
votes
1answer
28 views

Error in Add-SiteModule Script

I am trying to add a New Site Module to the Website, and it is working fine for the first time. But when I try to create a second Module and try to add it, it is giving me error. Please see below the ...
0
votes
0answers
65 views

404 error handle in Sitecore SXA

I am using Sitecore SXA and handling page not found through by default functionality in SXA by going on below path: /sitecore/content/{tenant name}/{sitename}/Settings > Error handling tab > and ...
0
votes
1answer
44 views

Sitecore OpenGraphs Meta Tags rendered in body

Sitecore OpenGraphs Meta Tags rendered in body in html, and I need to render these meta tags in "head", Note: Open Garaph rendering in Metadata partial design in head placeholder so is ...
0
votes
0answers
17 views

SXA Number Boosting rules

I'm using Sitecore 9.1 and SXA 1.8, I'm using SXA boosting rules for boosting results, but the field I'm using is not String type, it's Number type, so I used the Numbers operators instead of the ...
1
vote
0answers
18 views

Hide component through personalization in Experience editor through programming? [duplicate]

I would like to hide SXA component through personalization rule through programming. Is there any way to hide component through programming?
0
votes
1answer
37 views

Sitecore form default css and js not loading

I have a sitecore form that is working fineon one sxa site. But however if try to use same form on other site then on click of submit its Redirecting to Formbuilder page. Also i check in page source ...
1
vote
0answers
36 views

Sitecore SXA Preview Item error

I am using sitecore 9.3 with SXA and i faced an issue while trying to preview an item but i am not sure what can be the root cause of this it happens appears several times, any one has faced this ...
0
votes
2answers
57 views

Manage different css folder for one sxa site

I have a sxa site with two different type of pages. Both pages have different layouts. I want to have different css and js folder for each page. Any way of achieving this in sxa
0
votes
1answer
57 views

Boost search results by field value

I'm using Sitecore 9.1 and SXA 1.8, Is it possible to boost the search results by a specific field value, what I see in SXA boosting rules that you adjust boost by adding a value statically, I want ...
0
votes
0answers
35 views

How to build Sitecore SXA Scope Search query with comoperations

I have requirement to show the query results based on the logged-in user-profile details, I was able to pass the query token field value dynamical by following the code. How to write a SXA search ...
1
vote
1answer
39 views

How do I change http cache control options when a page contains personalized components?

I am using Sitecore 9.3, sxa. I want to change the Http Header cache-control to no-store when an page or item on that page has been personalized. How do I go about doing this? Any articles/blogs or ...
0
votes
1answer
30 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
90 views

SXA Search is unable to return result with '/' and/or '&' in Facet value

I have a sxa search component with multiple facets. In one of the facets, there is an entry that has a filter value of "Corporate / M & A". It yield no result when I choose the facet ...
0
votes
1answer
27 views

Custom Bucketing structure is never being hit

I have created a new Rule action on which to create a bucketing structure which takes in a selected date field and build the structure off of that date field. However, this rule is never hit. I have ...
1
vote
0answers
37 views

Exact search in Azure search in Sitecore SXA

Using azure search in Sitecore SXA 1.7 and it is not fetching exact result likewise if we are using "Test data" in search box then it is showing result based which match "Test data ...
1
vote
0answers
42 views

How to hide rendering component in Experience Editor in Sitecore SXA?

I have a page with 3 datasource rendering. 1st datasource rendering has 3 number version, 2nd datasource rendering has 2 number version, 3rd datasource rendering has 1 number version I am hiding 3rd ...
0
votes
1answer
67 views

Null checks in Scriban

I want to check for null values in Scriban. {{ if (o_model.address.id) }} <div style="text-align: center;"><h5>Address {{ o_model.address.id}}</h5><br /></div> ...
0
votes
0answers
34 views

Can we create multiple ActionResults in Sitecore SXA custom controller rendering?

Per Sitecore SXA documentation, in SXA custom controller, we have to override the GetModel() method and we call repository to get the model. I would like to create multiple Action Results in Sitecore ...
1
vote
1answer
47 views

Making config settings configurable for user

I am using Sitecore 9.3, SXA. I want to make some of the current config settings configurable from within Sitecore. I have created a template with all of the fields (e.g. MediaResponse single text ...
0
votes
0answers
30 views

Clone SXA Carousel; Unable to change the Carousel Slide Item rendering variant

I'm working to create a clone of the Carousel Composite component. I've been able to update the Datasource and Rendering parameter templates for my use cases. However, I'm unable to change the ...
0
votes
0answers
7 views

Login with social media account [duplicate]

how can I allow users to login through their social media accounts ?!! as I am using sitecore 9.3.
0
votes
1answer
43 views

Unable to export query result to a file from Sitecore Powershell scirpt with Out-Download command

I have a simple powershell script which uses Out-Download command to export the query result to .xlsx file. However, it doesn't seem working. The same scenario as well if I used the download button ...
2
votes
1answer
75 views

Using Model in Scriban template

Is it possible to use the current Model in Scriban? I have a CutomHeroViewModel public class CustomHeroViewModel : VariantsRenderingModel { public string HeroTitle { get; set; } public string ...
0
votes
1answer
55 views

Using List<string> in SXA rendering variant

I have a CustomHeroViewModel class public class CustomHeroViewModel : VariantsRenderingModel { public string HeroTitle { get; set; } public string HeroDescription { get; set; } public List&...
1
vote
1answer
54 views

Use SXA rendering variant for dynamic object

In my Sitecore 8.2. I have a rendering that has a Multilist called Fields. This Multilist is pointing to the Fields folder in Sitecore. In the Fields folder, the content editor can create a new item. ...
0
votes
0answers
27 views

Sitecore SXA optimized files not created

I am using sitecore 9.3 with SXA, i enabled optimizer globally and for the page designs but the optimized file is not created for each theme under "BaseThemes". Optimization enabled as per ...
0
votes
1answer
27 views

Css not reflecting in sitecore modal window

I am opening a modal window using <a href="@Url.Action("SearchModal", "Myctrler",new { id =itemVal })" onclick="window.open('@...
0
votes
0answers
73 views

Search checklist field data in the Content search API in Sitecore SXA

I would like to search checklist data through the Content search API in the Sitecore SXA. However, it is not searching any data based on checked value in checklist field. Sharing code : Template: Name ...
0
votes
1answer
33 views

How to render datasource version after page load through programming in Sitecore SXA?

How can we render datasource version of the page through programming in Sitecore SXA ? Based on page version we want to render datasource item version on a page in experience editor.
3
votes
0answers
570 views

SXA Video, Youtube doesn't show thumbnail on mobile?

I am using a Video component and I've created a couple examples, 1 video uses a YouTube source, the other uses a video in the media library. On mobile devices, the Youtube video doesn't show the ...
2
votes
0answers
54 views

Sitecore SXA override Search Controller

I am using Sitecore 9.3 with SXA search components (search box, search results, filters and paging) and needs to extend this to read data from custom API. What I have thought of is to clone the search ...
0
votes
3answers
64 views

How to check request id is a page id or datasource id in code in Sitecore?

I want to check requested item id is a page item id or datasource item id through code. For more clarity, I have a scenario in SXA where we need to check requested id is page id or datasource id. If ...
0
votes
0answers
27 views

Open graph URL does not contain language

I'm using Sitecore 9.1 and SXA 1.8, I want to embed the language in the og:url meta tag, I've checked the configuration of the LinkManager, languageEmbedding is set to true, but still it's not ...
1
vote
1answer
35 views

Redirect home item not working with SxA

We are using SXA 1.9 and I can reproduce the behaviour on a vanilla sitecore instance with SXA 1.9 installed. I've created a tenant called "my-tenant and" a site called "my-site" ...

1
2 3 4 5
19