Questions tagged [sxa]

Anything related to the Sitecore Experience Accelerator (SXA)

Filter by
Sorted by
Tagged with
-1
votes
0answers
11 views

Update validation for SXA items

I am using sitecore with SXA, I want to add validation for SXA promo item, i need to know the best way to do this For more clarification, i want to add required validation on "PromoText" ...
0
votes
1answer
29 views

SXA Search Algorithm and behaviour

I am facing the below issues and want to understand the behavior of SXA OOTB search box and search results When searched with special characters, those gets replaced by blank space, if I search for &...
0
votes
0answers
17 views

Sitecore Redirect Item in analytics

I tried to add a redirect item that navigates to external URLs, I want to know the number of times the user clicks on the redirect item. I checked the dashboard but I can't find the redirect item ...
0
votes
0answers
17 views

Sitecore SXA search for redirect item

I am using Sitecore 9.3 with SXA and using the SXA search box and search results. I have redirect items under my home node, but when I try to search the redirect item name in the search box, it doesn'...
1
vote
1answer
40 views

Custom SXA search query Token is not behaving as expected

I have being working on Sitecore 93 SXA, and I'm creating a sxa search query token by extending pipeline ResolveSearchQueryTokensProcessor referring this blog to get the date field of item and compare ...
0
votes
1answer
23 views

Filter search based on the page field of date type

In SXA Sitecore 93 I have a requirement to show items in search result, where date field on page is only greater than current date. I am trying to create a custom sxa token just like we have: ...
3
votes
1answer
36 views

How does the SXA Datasource Workflow work?

In SXA 10 I can see a new way to use workflows on datasource items of a page. This is described here. If I assign the page template to a workflow and set it up as in the documentation, it does not ...
0
votes
1answer
31 views

Updating Snippet Strips Content

I'm working with a snippet that has a class that can be applied to it to make it full width. This snippet represents a carousel with some predefined slides. Upon creating it, things look fine in the ...
0
votes
0answers
42 views

Clear cache on all SXA sites

I am usnig sitecore 9.3 with SXA, i am creating two site grouping which are having different login pages for the same site. when i publish items from master to web database cache is cleared for only ...
0
votes
0answers
16 views

Sitecore context at SignalR Hub Methods. How to detect current site or context database

I have sitecore 9.3 with SXA and GlassMaper, and I am using SignalR for some reason, and I have created a custom Hub , but at server methods that SignalR calls from client side, it is no sitecore ...
1
vote
1answer
34 views

2 SXA sites on same Azure app service need different federated authentication providers

I have 2 SXA sites running on the same Azure app service. Both sites require Okta federated authentication (OIDC). Is it possible to have more than one IdentityProvidersProcessor (1 for each SXA site ...
0
votes
0answers
26 views

No Results in Scope query(Build Search Query displaying no results)

I am adding scope into site under tenant in sitecore 9.3, When I build query in Build Search Query, it always shows 0 results. I also inherited templates from _Searchable template. Indexes also added ...
0
votes
1answer
37 views

How to trigger or refresh the search results on the basis of a session variable?

I have a page with the SXA search result component. I want to refresh the search result on the click of a button. Please let me know if it is possible. Thanks
0
votes
0answers
22 views

Is it possible to Nest Partial Designs in Sitecore SXA?

Has anybody ever put one partial design inside of another one? We are on Sitecore 9.3.0
0
votes
1answer
33 views

what are the opensource libraries used in SXA [closed]

I am using Sitecore 9.3 with SXA and i want to know the opensource libraries that are used by SXA, any advise?
0
votes
1answer
28 views

What does the switchableLinkProvider do and how should it be used?

SXA comes with a linkProvider called the switchableLinkProvider. I have seen the official doc about custom link providers in SXA but I don't need a custom link provider, I just need to understand what ...
0
votes
1answer
22 views

Partial Design Site Specific content

We have a shared SXA site that has a partial design for header , the header partial design contains logo and login rendering competent , we need to use this partial design in two other sites and ...
0
votes
0answers
32 views

Linking JSON Multilist Reference to Multilist doesn't pull items back

I am currently configuring a JSON Multilist Reference so that I can have a sub-array in my JSON Device of objects. For example, my desired JSON should be like: { "data" : { "...
0
votes
1answer
37 views

SXA Variant Switcher

we have a requirement to allow end user to Switch between two view ( list view and grid view ) for a media library images , we setup the render variants for these views but my question is how to ...
2
votes
1answer
32 views

Cannot search sxatags to find related items - 'undefined field sxatags'

Sitecore 9.3 with SXA. I'm trying to utilise sxa tags from the inherited _Taggable template to programmatically find related items with similar tags to the context item. That SXA template is /sitecore/...
0
votes
0answers
52 views

Html.RenderFormScripts not loading scripts for sitecore CD when using with Rendering variants

In an sxa site, I have a custom sxa component with a placeholder item to load the form. In the page using this component, I have added a 'Sitecore form Wrapper'=>'Mvc Form' component using ...
0
votes
1answer
65 views

How to include all children of path on Unicorn serialization?

We've been working on refactoring a sitecore solution to bring it in line with helix principles. One of the main initial offenders was the placement of a lot of serialisation in the project folder. ...
0
votes
0answers
18 views

inserting tenant error sitecore 9.2 SXA 1.9

When I try inserting a tenant this error appears I tried reinstalling SXA but no difference happens CodeBeside class "Cognifide.PowerShell.SitecoreIntegrations.Applications.PowerShellRunner,...
2
votes
1answer
43 views

How do you count the number of children in a Scriban template?

Given a page or item, how do I count the number of children? {{ i_page.children }}
0
votes
0answers
30 views

Different Page size for Desktop and Mobile in SXA

I am using Search Results component for creating blog list using SXA. I want to load first 10 results in desktop/tablet and first 5 results in mobile device on page load. Also on click of load more, ...
1
vote
1answer
42 views

Run setting value of config file on ContentDelivery server only

We would like to run particular setting value on ContentDelivery or ContentManagement server only in Sitecore 9.1.1. Config file <configuration xmlns:patch="http://www.sitecore.net/xmlconfig/&...
0
votes
0answers
31 views

How to fetch getitem detail in Sitecron execute method

Would like to fetch item details through getitem() method in Sitecron job execute method. However, We are unable to fetch it. Sitecron job execute method: public void Execute(IJobExecutionContext ...
1
vote
1answer
44 views

How to get Media URL with custom width and media protection hash using Scriban

I need separate image fields for mobile and desktop and trying to render it using Scriban in picture tag as below. Current Scriban code: <picture> <source srcset="{{ i_item....
0
votes
2answers
49 views

Read site setting in rendering variant template

I want to read a site setting property (defined in Setting/Site grouping/'Sitename') in a SXA rendering variant template. Is this feasible in sitecore 9.2?
1
vote
1answer
36 views

I need to add SXA Page Content component to standard values of template

I created a custom template to use with the SXA Page Content component. On the standard values > presentation > details, I selected the Page Content control and I want to use a custom variant (...
1
vote
1answer
30 views

How do I resolve the objectToSwitchTo error in Sitecore 9.3 with SXA on the ContentDelivery server?

I'm currently experiencing an issue in SXA where the log reports an error and no search results are returned. 3764 08:00:38 WARN Results endpoint exception Exception: System.ArgumentNullException ...
0
votes
0answers
45 views

How to add multiple field in search result facet

I am using sxa search result component My Requirement is to sort the result by 2 field, one field check box named isimportant with high priority and second is updated date with low priority. I have ...
0
votes
1answer
31 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 ...
1
vote
2answers
48 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
58 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
47 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
60 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
38 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
29 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
17 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
44 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
39 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
15 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
46 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 ...
0
votes
1answer
60 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
44 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
64 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. ...
1
vote
1answer
53 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
103 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
79 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 ...

1
2 3 4 5
19