People who code: we want your input. Take the Survey

Questions tagged [sxa]

Anything related to the Sitecore Experience Accelerator (SXA)

Filter by
Sorted by
Tagged with
0
votes
1answer
285 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 ...
3
votes
1answer
360 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
135 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
155 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
39 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 ...
-1
votes
1answer
76 views

Css not reflecting in sitecore modal window [closed]

I am opening a modal window using <a href="@Url.Action("SearchModal", "Myctrler",new { id =itemVal })" onclick="window.open('@...
0
votes
0answers
119 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
50 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.
4
votes
0answers
2k 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 ...
3
votes
0answers
87 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 ...
1
vote
3answers
174 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 ...
1
vote
0answers
51 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
127 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
vote
1answer
431 views

Error while rendering view: '/Views/SxaLayout/SxaLayout.cshtml' on CD but not on CM

I'm using sitecore 9.1.1 and SXA 1.8.1. I have a scaled environment. I have multiple sites: one shared site where I have my rendering variants, and another two sites. I'm using query in the rendering ...
1
vote
0answers
23 views

SXA Unrecognized Guid format on certain URL path

Our site has language embedding enabled, so our site URL is https://{siteUrl}/en But when I mistakenly omitted en and typed a path (which is a two-letter word, e.g. https://{siteUrl}/gg it throws the ...
0
votes
1answer
67 views

Removing datasource version of the page when we remove page version in Sitecore 9.1.1

I have added datasource version of the page through programming. When I am adding any version of the page then it will automatically add version for the datasource items in Sitecore 9.1.1. Queries : ...
1
vote
0answers
47 views

Components do not save in specific dynamic placeholder

We are using sitecore 8.2 and recently added SXA sites. The existing site has a dynamic placeholder setting section-content*, which stopped working after we added SXA sites. When I looked for "...
1
vote
1answer
119 views

Model.VariantFields return null when creating custom SXA rendering with variants

I created custom SXA rendering with variants but Model.VariantFields return null. my controller public class NotificationController : VariantsController { protected NotificationRepo ...
0
votes
0answers
25 views

Testing in partial designs

We are trying to create a test inside of a partial design to see if it is possible. We can add the tests without issues. But after I push save, all the datasources turn to an empty Guid.
3
votes
1answer
51 views

How to disable the animation of SXA image gallery in mobile

I have added the Sitecore sxa image gallery. My requirement is to hide the pop up which comes in the mobile view on double-tap of image. I have tried with event.preventdefault ,.stop(),event....
0
votes
2answers
48 views

Updated field in rendering variant not working

The requirement was to show the last updated date and time of the item in the page. So I tried to create a rendering variant of page content with field as Updated (which is there for every item ...
1
vote
1answer
66 views

cannot add version to item null exception when adding contact to a list

I am trying to create a list using a CSV file, but somehow, I cannot do so because of the underlying issue. I understand that he is trying to create an item and a version, why does it fail? How can I ...
1
vote
1answer
59 views

Json Reference field in Json Variant return Error when the Reference Field Is empty

I am using SXA Json Content to create API. In the JSON Variant, I used Reference Field to display Drop Link Field in the data. But when the DropLink field is empty, the API returns error. So I need to ...
1
vote
0answers
29 views

SXA Filter API ignore the custom index

I'm using Sitecore 9.1 and SXA 1.8, I've created custom index for my site and it's working fine, the SXA OOB Search results API is using the custom index which is right But the SXA OOB Search filters ...
0
votes
1answer
78 views

Sitecore SxA Composite Layout not adding custom css and js

We have created a custom Accordion Module. Therefore, we also changed the Accordion MVC Layout.cshtml for Accordion Items. But our custom theme doesn't appear in the head nor does the js show up. What ...
1
vote
0answers
38 views

JSON Layout outputting json content inside a div

Using a Sitecore 9.1.1 site with SXA 1.8.1 - I added a new page and changed the Layout via Presentation Details to use the JSON Layout option. I was then able to open in experience editor and see the ...
2
votes
1answer
72 views

Use site specific search indexes configured on SXA site item in Content Search API

When making Content Search API calls, Sitecore resolves the index based on certain logic which is very well explained here. In SXA, we do have an option to configure the indexes on the site item, ...
1
vote
1answer
99 views

Editing JSS SXA route fields in Experience Editor

Using a JSS site deployed on SXA 9.3, is it possible to edit route fields in Experience Editor ? I have assigned simple fields to the route template and in Experience Editor I have tried using the ...
2
votes
3answers
214 views

SXA Navigation Component Set start node to the current page

I am using sitecore 9.3 with SXA, i want to know if there is a way to set the start node of the navigation component to the current page so that it can render the navigation dynamically instead of ...
1
vote
0answers
36 views

SXA Theme doesn't load with Snippet in Experience Editor

I am using SXA 9.1.1 I have created a theme and it works fine with my pages. But when I go to Data-> Snippets and open a snippet in Experience Editor, then my theme doesn't load. Maybe it loads the ...
1
vote
2answers
121 views

301 Redirects for Non SXA site in a Sitecore SXA instance

I have a Sitecore instance with both SXA and Non SXA sites. I want to implement 301 redirects for both the sites. For the SXA site, I'm able to do it through the SXA Redirect Map but how do I perform ...
3
votes
1answer
113 views

Custom variant component is not showing component variant selection in Experience Editor

I created a custom variant component following this guide. I couldn't find the "Component Variant" selection of my custom variant component in Experience Editor. Is there any additional ...
5
votes
1answer
50 views

What is the use of empty partial design, which comes by default in SXA

Whenever we create a new site in SXA, by default there is an Empty partial design gets created and there are no components added to it. What is the actual purpose of empty partial design? can we ...
1
vote
0answers
61 views

Is there a way to access all of a page's components?

I want to create a custom scriban Processor and I need to access all of the renderings that have been put on the page. Is there a way to access that data?
1
vote
0answers
47 views

Add extra columns to the customer entity

We recently migrating our current sitecore site to SXA with commerce. I have a user registration/login feature in the site. I want to extend the customer entity (Commerceuser) with some additional ...
0
votes
1answer
139 views

Missing exception - Sitecore.XA.Foundation.Abstractions.Services.IContentTestingService.GetMultivariateTestDatasource

I was extending Sitecore CopyGlobalDatasource functionality. It was working fine, but recently I can see issue while browsing any page through the Experience Editor. Seems like missing method or ...
1
vote
0answers
189 views

Sitecore SXA export failing with error - startIndex cannot be larger than length of string

I don't think this is self signed certificate issue I have alreacy set name="XA.Feature.CreativeExchange.SkipServerCertificateValidation" value="true" Here is the stack trace of error from logs ...
2
votes
1answer
64 views

How to increase max column/row of column/row splitter

Currently, I only can create 8 column/row for each column/row splitter. Is there any way to increase the max # of column/row I can add in column/row splitter?
2
votes
0answers
49 views

Different logo image for different viewports in SXA

I want to have different logo image for mobile and desktop. I created partial design for header and added image component for logo. Now if I can select logo image in that which will be common for all ...
0
votes
1answer
43 views

xConnect facet value persistence in multisite, when trying to open both sites in the same window but diff tabs

I have county-specific multisite and configured correctly in site settings, As mentioned below. Secondly, on the home page, I'm using some contact from the custom facet, and the source of data is ...
0
votes
1answer
43 views

How do you reverse sort and hide the count from the SXA dropdown fiilter?

Can the following two be answered without requiring code changes? How to hide/remove the inside dropdown count number? How to sort the year lastest on top?
1
vote
1answer
85 views

SXA Creative Exchange Import triggered via SPE not working

I was trying to set up a CI/CD according to the documentation, where I planned to trigger a Creative Exchange Import via Sitecore Powershell Extensions Web Api. https://doc.sitecore.com/developers/...
2
votes
1answer
48 views

Was Asset Optimizer's optimized.min having multiple language version intentional?

Last night we encountered a yellow page that reads "Unrecognizable Guid format" and upon investigating, we found out that the web DB has an optimized min that has an English (United States) version ...
1
vote
1answer
46 views

How do I filter results using the SxaTags field while in the Content Editor search UI?

Sitecore 8.2.7 + SXA 1.7.0 I've created a new Facet entry like the following: Then I'm testing the search on a folder marked as an item bucket: The facet never appears: What should I try next? ...
1
vote
1answer
77 views

SXA JSON results count is not in the response

I'm using Sitecore 9.1 and SXA 1.8, I created a JSON result and configured it as below: The JSON result response doesn't contain the results count, as in SXA search result component request-response, ...
0
votes
1answer
92 views

SXA search - Accordion Items are not shown up after indexing even in scope query when we provide template name

I am trying to make my accordion items (data source is in Data node) searchable. I tried adding _searchable to the accordion-item, but I guess it is not getting indexed. As I try to add it using ...
1
vote
1answer
94 views

SXA Search box - add SXA token support to Rendering parameter for SearchPageResults

We have an SXA Search box defined on a partial design in our Master Shared site. The problem is we need to have the SearchPageResults rendering parameter field use a query to pull the search results ...
1
vote
0answers
63 views

Sitecore Spell checker neglect search scope

I'm using Sitecore 9.1 and SXA 1.8, I'm using Solr spell checker feature to fetch suggestions for a SXA search box that I use, the source of the suggestions is the field you specify in the ...
1
vote
1answer
259 views

404 error page intermittently returned for SXA XML sitemap

Sitecore 9.1 SXA 1.8 When trying to access the XML sitemap on our website, a 404 page is returned about 25% of the time. It works 75% of the time. We have a multisite configuration, with an XML ...
2
votes
1answer
94 views

Embed query text in no results view text and result count text for SXA Search results component

Using Sitecore and SXA 9.3 For search, we need to include the query text in the result count message as well as the no results message. For example; for a search of 'bananas' it should say "5 results ...

1
3 4
5
6 7
22