Questions tagged [sxa]

Anything related to the Sitecore Experience Accelerator (SXA)

Filter by
Sorted by
Tagged with
2
votes
2answers
62 views

How to load search result based on user location by default

I want to load the search results by user’s current location by default or first time when user lands on the page. Does Sitecore supports this feature OOTB or or any custom solution available? I’m ...
1
vote
0answers
38 views

SXA Toolbox does not appear

I tried creating a new tenant with a new site, only using the basic2 theme. The site has no components. This happens with all created tenants. 20352 09:26:49 ERROR Application error. Exception: ...
1
vote
0answers
19 views

Adding bulk slides to SXA Gallery component

In our Sitecore structure we have several property types which are buckets and contains properties Test is a property which takes its gallery data from /Data/Gallery. Since property items are ...
2
votes
0answers
79 views

Responsive Image List in Rendering Variants

Background : I am using SXA 1.9 and Sitecore 9.2 to learn SXA. I am following youtube videos on SXA Rendering Variants by Short, ad-hoc, unofficial Sitecore SXA channel. On the blogs template, there ...
0
votes
1answer
56 views

List Facet using the index field is Empty

We are trying to create a ListFacet (dropdown filter) using the Computed Index field. These are the checklist that we have in place The Computed field contains values in the index file. Created a ...
0
votes
1answer
67 views

SEO friendly Search Result implementation

I would like knowing if anyone has implemented Search Result page with other filters in SXA supporting "Querystring" (serverside) instead of "Hash" (AJAX) to achieve SEO. OOTB SXA search component ...
0
votes
1answer
45 views

Customize the Location finder component

We have a custom search page that makes use of the default components (search results, results count and page selector) along with the custom location finder (Location search box + services dropdown + ...
1
vote
1answer
133 views

Search with dropdown filter based on parent item display name

I am using SXA's search results and dropdown filter to be able to filter items on the search scope by their parent item display name. I have it sort of working by first creating a Computed Index ...
0
votes
1answer
77 views

Overlays not rendering

I created overlay content and added Rich Text component to it but when I preview it I see nothing rendered. as I added a component in the main placeholder. Is there any thing I missed.
0
votes
1answer
52 views

How do I enable captions for the YouTube videos when using the SXA video component?

Sitecore 8.2.7 : SXA 1.7.0 We would like to enable the captions auto generated by YouTube in the videos on our site. Is there a way to achieve this?
1
vote
1answer
47 views

Adding custom component into experience editor throwing error

I am using Sitecore 9.2, SXA 1.9. When adding custom component into Experience Editor getting below exception. Exception: System.Web.HttpUnhandledException Message: An unhandled exception occurred. ...
-1
votes
1answer
49 views

GetService<IMultisiteContext>() throwing error

While using GetService<IMultisiteContext>(), this error is occurring: The non-generic method IServiceProvider.GetService(Type) cannot be used with Type arguments. Code Snippet used: var ...
1
vote
1answer
54 views

How to access the Settings folder in an SXA Site programmatically?

I created a Tenant under which I have multiple Sites. I want to access the Settings folder of each Site and perform some action on it. This is the current structure: Tenant ABC contains Site ABC. ...
2
votes
2answers
88 views

How to pass values from variant to component

I created Rendering Variant contains component field , I want to pass values from variant like "$item.Name" in Rendering parameters for this component and read the value in component 's cshtml. Is ...
1
vote
1answer
54 views

How to append new url hash parameters on search button click?

We are extending the Location Filter rendering with distance and services dropdowns. On the search button click we need to append the distance and services filtering values to url as hash parameters. ...
1
vote
1answer
68 views

How to search any component's field value by using SXA search component?

I am newbie in SXA, working on Sitecore 9.2 SXA 1.9 . Here in my case i am using Carousal in one of page where trying to search by Slide Text field value but no record is coming. I have added ...
1
vote
1answer
77 views

How to write a custom controller for Sitecore SXA Search Box component?

We are using Sitecore 9.0.2, SXA 1.8.1 and Azure search. The SXA component Search Box works perfectly fine. In our application, we need to show the search results from other application along with ...
0
votes
3answers
293 views

Sitecore Powershell Extensions for Sitecore 9.2 [duplicate]

I ran into a problem installing SXA (Sitecore Experience Accelerator) 1.8 on a new Sitecore 9.2 instance. The problem is with SPE. The latest version of SPE on Marketplace is 5.0
9
votes
2answers
219 views

How can I get SXA login working with my Federated Authentication via IdentityServer?

Background We're building an internal site where all users are required to be authenticated. I've configured IdentityServer to connect to the organisation's Azure AD and this is working fine. When I ...
0
votes
0answers
99 views

ERROR Year, Month, and Day parameters describe an un-representable DateTime

We are receiving below errors during Indexing. We are on Sitecore 9 update-2, SXA 1.7.1 and using Azure search. The errors below seems related to SXA fields. Has anyone come across this issue? 10752 ...
0
votes
0answers
57 views

SXA Search Scope Query

I'm trying to get use a scope that looks at two folders and two templates. I want my query to return all items using template A from folder A and all items using template B from folder B. I'm using ...
0
votes
0answers
24 views

Geofiltering does not work on the Shared site setup using SXA 1.7.0

On the shared site setup, no search results being returned when Geofiltering is applied. On the page load, results are rendered on the page. We noticed the below search query being generated when geo ...
3
votes
1answer
117 views

Is there a smart way to pick up Page Design other than Template to Design mapping?

I would like to choose Page Designs to my pages not by mapping their Template to certain Page Design. I would like e.g.: to change page design when a certain field is empty. Is there such a way?
0
votes
0answers
27 views

How to index sxa tags in azure search and show them in rendering variant of search results [duplicate]

We are using SXA 1.8.1 , Sitecore 9.0.2 and azure search we want to show tags for each item in search results. I created tags under "Tag repository"(under system -> settings) item, the created ...
1
vote
1answer
30 views

Configure rendering variant parameter in a page content structure component in different sites

I'm using Sitecore 9.1.1 and SXA 1.8.1. I have the following structure: A shared site in which i create the page designs, partial designs and rendering variants. And I have another two sites: Site A ...
1
vote
1answer
30 views

Search Results caching

I cloned Search Results Component and when I edit any thing in cshtml inside else scope <div @Html.Sxa().Component(Model.Rendering.RenderingCssClass ?? "search-results testShaimaa", Model....
1
vote
2answers
91 views

Rendering Variant image field URL with height, width and request protection hash

I am following this blog on how to set a background image from a field on the context item: background-image: url($(Image)) However it only brings back the raw URL, excluding any height/width ...
3
votes
1answer
97 views

Sitecore Helper to render SXA Component inside cshtml

I need to render the Social Media Share component in the cshtml of Cloned Search Results, is there a Sitecore Helper to render a component in the view? I am using SXA 1.8 so I know that we have the ...
0
votes
0answers
19 views

Sxa Search Result infinite loop after adding social media share component

i added "search result component" to a page in sitecore and it returned data , till i added the "social media share component" in the search result variant , then it got stuck and entered an infinite ...
0
votes
1answer
82 views

Unable to add component in Sitecore SXA using Experience Editor

I have just installed the vanilla Sitecore 9.1.1 and SXA 1.8 on the local machine. Created the demo website. Upon adding any component in experience editor it throws below error. Error: 9188 09:38:...
0
votes
0answers
43 views

Sitecore.Context is throwing null on MVC form post request using SXA

I have created a custom MVC form with some fields on SXA custom page. on click of submit with empty field values ideally, the form should show validation messages. Here, I'm trying to do a post ...
0
votes
0answers
19 views

Choose Item Dialog box

I have sitecore power-shell and sitecore 8 with SXA module. I need to have a dialog box that will allow user choose Item from a tree. is it any way to do it ? not sure that standard dialog could do ...
2
votes
1answer
63 views

How do I enable the Internal Search reporting in Sitecore Analytics using the SXA search components?

We are using Sitecore 9.0 and the SXA search components. I have found a few articles that state that you need to register the button click event in the search page controller to turn this ...
1
vote
1answer
51 views

How do you configure the Tabs component to use a custom item template for the webedit button?

I have created a new item template but have not found a way for the new item web edit button (blue plus icon) to use my custom template. As you can see, I've created a new Tab item template as well ...
0
votes
1answer
39 views

Adding scaffolding PowerShell scripts after Branch creation in SXA

I am using SXA 1.8.0 with Sitecore 9.0.2 on multisite solution. I have a branch template for a page template which creates a few renderings data sources underneath this page, like that: Page Data ...
0
votes
0answers
32 views

SXA search events on microsoft EDGE not working properly

I'm using Sitecore 9.1 ans SXA 1.8, I made a script and used a SXA event as facet-data-filtered and results-loaded. On the EDGE browser the event was not working properly and when I changed the ...
2
votes
0answers
28 views

SXA Generate Multilingual Static Error Pages

I am using sitecore 9.1 with SXA 1.8 and when i tried to use the feature of generating static error pages in SXA, i found a folder created on the root of the iis site called "ErrorPages" and i found ...
0
votes
1answer
54 views

Branch Template $name item gives error in experience editor

I am using the below version of Sitecore: Sitecore.NET 9.0.1 (rev. 171219) When I am trying to access branch template $item which also have a presentation that leads error instead of open in editor ...
2
votes
0answers
104 views

Build Scope Query to Get First level of Children

I am using Sitecore 9.1.1 and SXA 1.8.1 I have an item called Seat, this item is a parent to many other items on multiple levels of two templates, Topic Details and Topic Listing. In Seat (my parent ...
3
votes
1answer
83 views

SXA Search Boosting rule not having affect on Azure site

I created a search scope for boosting based on a rule. I set the search box and search result scope to use this boosted search. Works completely as expected locally - but when I deploy to azure the ...
1
vote
0answers
44 views

Rendering Variants for non SXA Sitecore site?

I'm creating some new standard Sitecore components and really like how the rendering variants are used in SXA to differentiate between different component variations. Has anyone implemented anything ...
3
votes
2answers
65 views

How to have control over the section names in the SXA Toolbox?

I have a project with a defined folder structure for the renderings. I am in the process of adding SXA support and would like to create SXA Toolbox sections containing these renderings. By default, ...
2
votes
2answers
108 views

Does Sitecore SXA supports personalization between rendering variants?

I have come across the situation where we want to implement personalization between the rendering variants for a given rendering. I know we can do the personalization between the renderings but I'm ...
1
vote
1answer
56 views

Read tokens in VariantSection in SXA

I'm using Sitecore 9.1.1 and SXA 1.8.1. I'm trying to set href data attribute to a Variant section in a rendering variant. I tried to override the RenderVariantField class as mentioned in the ...
2
votes
1answer
54 views

Accessing Page Rendering Datasources in workflow action

Using Sitecore 9.1, SXA 1.8.1. I have a page with a link list clone. When I delete a link from that list and then publish via workflow the deletion is not propogated properly through to the web ...
1
vote
3answers
101 views

Render empty tags in SXA

For VariantTemplate, I want the tag to be empty and just want the value from the template. Even when selecting the empty tag, it renders a div in the site. I also changed the standard values of ...
1
vote
0answers
33 views

Is it possible to load sitecore themes before loading server side scripts?

In my application server side scripts are loading before loading scripts from Sitecore themes. Is there any possibility to load Sitecore themes first. I want to order the scripts of server end and ...
0
votes
1answer
56 views

Page Selector with search box not working properly

I'm using sitecore 9.1.1 and SXA 1.8.1. I have a page on which i added the following components: 1- search result 2- search box with suggestion mode "show search result as prediction" 3- Date Filter ...
0
votes
0answers
37 views

Autosuggestion not working in SXA 1.8.1

I'm using sitecore 9.1.1 and SXA 1.8.1. i'm trying to use the OOTB Autosuggest but i always get the below error. { "Message": "An error has occurred.", "ExceptionMessage": "Object reference not ...
2
votes
1answer
28 views

Hide components in preview mode when there are field validation errors

I am using Sitecore 9.0.2 with SXA 1.8.0. I extended the Required Field validator with the Result=CriticalError parameter, so the authors can see an alert each time they edit a page in Experience ...