Questions tagged [sxa]

Anything related to the Sitecore Experience Accelerator (SXA)

Filter by
Sorted by
Tagged with
0 votes
0 answers
30 views

Upgrade the Jquery and Bootstrap Versions in Sitecore 9.3

We are using Sitecore 9.3 with SXA. In the quality scan report, it was found that jQueryand Bootstrapversions being used are vulnerable and it was suggested to upgrade the versions of both as stated ...
user avatar
0 votes
1 answer
33 views

How to select all languages when creating a package?

Are all languages of specific item selected by default, when creating a package (not by default, but if the item exist for that language then it is selected automatically) if I do not have a language ...
user avatar
  • 329
1 vote
1 answer
47 views

Error when adding scriban template to rendering variant migrated from 9.1.1 to 10.2

I'm currently in the process of upgrading our solution from Sitecore 9.1.1 to 10.2. Our solution has a number of nVelocity templates that I need to replace with scriban templates. I've also already ...
user avatar
  • 13
0 votes
1 answer
41 views

Issue running Non-SXA site on an SXA installed Sitecore instance

We are trying to pretty much lift and shift an old on prem Sitecore 7.2 site to Sitecore 9.3 in Azure. The environment is provided to us by a different team. When they installed the 9.3 instance, they ...
user avatar
  • 113
0 votes
1 answer
45 views

Unit Test in Sitecore 9.3 SXA

I am working on upgrading a project from Sitecore 8.2 to 9.3. Few tests are failing and throwing NullReferenceException at Sitecore.XA.Foundation.Mvc.Repositories.Base.FillBaseProperties(model). While ...
user avatar
1 vote
0 answers
24 views

Sitecore - Edge Based Personalization - Move personalization to be handled by CDN

I recently asked about the personalization, and why it fails sometimes when using Cloudflare caching. I come to the conclusion that the way we have set up the personalaztion is that is based on using ...
user avatar
  • 329
0 votes
2 answers
43 views

Sitecore SXA redirect code functionality

I would like to add class name in redirect url anchor tag. Is it possible ?? Could someone let me know how redirect url create a anchor tag and where is the code of it?
user avatar
  • 139
0 votes
0 answers
28 views

How to hide toggle filter based on search result item in SXA

I have created a search page using all SXA search components. How to hide toggle filter based on search result item in SXA. I want to show toggle filters only for some specific results, not for all ...
user avatar
0 votes
0 answers
35 views

Access SXA dictionary values in view through Glass Mapper [duplicate]

I am trying to access SXA dictionary values in the .cshtml file through Glass Mapper. Is it possible to do so?
user avatar
  • 39
0 votes
0 answers
41 views

Add a message in experience editor if datasource is not selected for a component in toolbox SXA

I need to add a message stating "Select the data source" in Experience Editor programmatically for Content Authors when the data source is null or the model is empty. I'm using the SXA ...
user avatar
  • 39
0 votes
0 answers
32 views

Object reference not set to an instance of an object - Speak Layout

I recently made some changes inside the bin file, basically I needed to manually upload some dll files. Well, this made my environment get this error that I will show you. I also had to change the web....
user avatar
  • 329
0 votes
2 answers
42 views

When i publish the item I do not see changes (missing component on certain language)?

I am having this weird bug where I published my changes but I do not see those changes for that specific item on the site, and I also have this weird issue that in certain languages (in this example ...
user avatar
  • 329
0 votes
1 answer
41 views

Experience Profile 403 error

The Experience Profile shows the correct data with no console errors when I logged into Sitecore for the first time but refreshing the page gives the error An error has occurred. The only way to see ...
user avatar
0 votes
1 answer
23 views

Clear extra Sitecore SXA html tags from the site pages

I have SXA site pages and I need to clear the extra Sitecore html tags (script,link). After div tag Specification: Sitecore SXA 10.2 Can anyone provide any help ?
user avatar
  • 39
1 vote
2 answers
91 views

Could not find configuration node: databases/database[@id='test']

When I try to make a package from package designer, I am getting this error Could not find configuration node: databases/database[@id='test']. I may know why this happens, and the reason for that is ...
user avatar
  • 329
0 votes
3 answers
71 views

How to deploy the site modules from one environment to another?

I recently asked the question about the deployment of certain items from one environment to another. But the question I have now is how to deploy the site modules? I want to choose the path of making ...
user avatar
  • 329
2 votes
1 answer
58 views

How to set CMS field value for Robots.txt

Using Sitecore 10.1 with Commerce 10.1 There is a field Robots Content in this item - /sitecore/content/Sonic/EchoPark/Settings. This is a container setup and creating a file is not an option. I want ...
user avatar
  • 2,573
0 votes
0 answers
27 views

Add associated content not showing after adding new component on the page

I have a bug in Sitecore 9.3 SXA, where after I added the new component page, the associated content will not show for me or the content editors to add the datasource. I have to manually do that after ...
user avatar
  • 329
2 votes
1 answer
48 views

Creative exchange object null reference error

We have upgraded to Sitecore 10.1 from Sitecore 8.2. The Creative Exchange feature is giving object null reference error in web database when creating a new site using powershell script. How to ...
user avatar
0 votes
0 answers
39 views

Read SXA Search Scope in Code

everyone , I've to read the SXA search scope in my code. I am using the search result component on my page and added some custom filters in the search scope. So I need the applied search filter on my ...
user avatar
0 votes
0 answers
32 views

How to bind a modal to CTA Link of data source item in Sitecore SXA

The client does not want to create and assign 20 modals on presentation details for different data source items on the listing page. How we can bind one modal to the data source location so that it ...
user avatar
0 votes
3 answers
62 views

$name is getting indexed

We are on Sitecore 10.1 and Solr 8.4. We are using Filter (Checklist) component and found out $name is showing on the page. Upon checking the Solr, the $name is getting indexed as well. This is the ...
user avatar
0 votes
2 answers
70 views

Context is null in GlassMapperConfigurator

I'm trying to access Sitecore 10.2 model fields using Glass.Mapper.Sc.92 version 5.8, and registered all Glass.Mapper services in GlassMapperConfigurator class. However facing the "Context is ...
user avatar
  • 39
2 votes
1 answer
63 views

How to increment value and use it in sc_placeholder

Is it possible in Scriban to use the value from the variable, and then increment it and then use that value inside the sc_placeholder If it is not possible using the basic default Scriban, maybe ...
user avatar
  • 329
3 votes
4 answers
210 views

Remove Breadcrumb last node link

We are using the Sitecore SXA Breadcrumb component. It is showing perfectly fine on the page, however the last node (current page) is showing as a link. We don't want to show the last node as link. ...
user avatar
  • 139
2 votes
1 answer
61 views

Sitecore item data fetch on the basis of language if wrong language append goes to 404 page

I am getting stuck with an issue, I have a Multilanguage site that is based on SXA. Rather than going to change via language drop-down, I am going to change language via URL. Please see the steps ...
user avatar
0 votes
1 answer
73 views

Need sample Sitecore PowerShell script to add components to any SXA page dynamically

We are looking for a Sitecore PowerShell script using which we can assemble/add components directly to an SXA page. I am able to add an SXA page, then add a Container component (under the page ...
user avatar
2 votes
1 answer
105 views

Breadcrumb link customize

We are using Sitecore SXA and adding breadcrumb component from the toolbox. It is working fine , however, we need to remove Home link from the breadcrumb: For example : Home > Test > Test Data ...
user avatar
  • 1
0 votes
0 answers
23 views

How to check the length of selected items in for loop using Scriban? [duplicate]

Is there a way to check how many items are selected from Treelist using Scriban? What I want to do is that if there is only one item selected then display something, if there is more than two then ...
user avatar
  • 329
0 votes
2 answers
70 views

Is custom view rendering possible in Sitecore SXA?

I have tried clone rendering of inbuilt promo component in Sitcore SXA ,that is a controller rendering. Is it possible to create a custom view rendering? If yes, then how to access the SXA model ...
user avatar
  • 39
0 votes
2 answers
128 views

Scriban Rendering Parameters - how to get the value from Droplist?

I am trying to get the value from the Rendering Parameters in Scriban in order to render some new logic. Basically, I want to allow the content editors to choose what colour of the button they will ...
user avatar
  • 329
0 votes
1 answer
105 views

Sort order in template

How can we implement sort order functionality in template in Sitecore SXA? For example : We have three item in Sitecore Content editor : **Name** **Sort Order** Test 1 1 Test 2 2 ...
user avatar
  • 1
0 votes
1 answer
51 views

Unable to make Visual studio model fields editable in experience editor for Sitecore SXA

I'm using a custom Sitecore SXA controller rendering for the first time with Visual Studio and I want to make the model fields in the .cshtml view file editable in Sitecore Experience editor. Is there ...
user avatar
  • 39
1 vote
2 answers
261 views

How can I display the MP4 General Link Field?

I want to display the MP4 video inside the file and I was trying to do it, but I get the issues when I try to display the field inside the component. Here is the template: So is it possible to get ...
user avatar
  • 329
1 vote
2 answers
46 views

How to choose image/video from treelist in SXA?

Is there a way to make a datasource template that will have a treelist where you can choose the image or video (it can be two seperate treelists) and the display those images or videos in the code (....
user avatar
  • 329
0 votes
0 answers
22 views

Can we convert <link> tag into anchor tag? [duplicate]

Is it possible to convert <link text="TEST" anchor="" linktype="internal" class="" title="" target="_blank" querystring="" id=&...
user avatar
  • 1
0 votes
1 answer
40 views

How to form a Page URL of wildcard item in scriban

I have created a variant to list down data source items using result variant selector and all these data items will need to point to wildcard content item .How to form URL of wildcard item in Scriban?
user avatar
2 votes
1 answer
62 views

How to create an anchor tag of General Link field

We are getting results through Content Search API and getting the General Link field value into it. We would like to add an anchor link based on a general link field value. Do we have the default ...
user avatar
  • 1
1 vote
2 answers
32 views

How to fix weird bug with <option> tag in Experience Editor?

Does anyone get this weird issue when you are using <select> input tag, and inside the selec tag the the <option> tag. Everything works perfectly fine in Preview Mode but inside the ...
user avatar
  • 329
0 votes
2 answers
46 views

Sxa custom search token query Wrong date format

I have added a new sxa token processor to filter the passed date events, This is my Code protected virtual SearchStringModel BuildModel(string fieldName) { Log.Info($"SXA_Token ...
user avatar
1 vote
1 answer
42 views

How to add dynamic placeholder to a SXA Rendering Variant?

Is there any way for me to add placeholders programatically inside the SXA rendering variant. I have tried using the * at the end of the name of placeholders but I keep getting some weird errors and ...
user avatar
  • 329
0 votes
2 answers
38 views

SXA seach Scope is not returning result in Search result component

I just added conditions in the search scope. I could see the result in the backend, but the same is not returning the search result component. If I remove the date condition, it is returning the ...
user avatar
2 votes
1 answer
90 views

How to get the value from rendering parameters from VariantListsRenderingModel?

How to get the value from this type of model in the code. I have a simple carousel and I can get values easily from fields now I just want to get the Rendering Parameters for this specific rendering. ...
user avatar
  • 329
0 votes
2 answers
51 views

How to display English (region) language code on some of the pages?

How to get the English (region) - English (region) language code from Sitecore? I want to display the language code (EN for example) on some of the pages inside the <div> tag for example <...
user avatar
  • 329
0 votes
1 answer
41 views

How do you create a dynamic copyright year in the footer using SXA?

I'm looking to build a new site and want to make the copyright something Content Editors do not have to worry about. Is there a way in SXA to automate the year?
user avatar
  • 16.4k
0 votes
2 answers
82 views

Sitecore SXA Multi Language Canonical Best Practice

I'm working on Canonical implementation on SXA, Sitecore 10.2. Self referencing canonical is working fine, So I have a doubt on Multi language Canonical url. I have a page like this one www.myhome.com/...
user avatar
2 votes
3 answers
99 views

SXA Search Result Sort Order

Is there any way to do the sorting by Sitecore content tree order? I am working on Sitecore SXA components to build the page. I am using search scope for list down the result. I have created the new ...
user avatar
0 votes
0 answers
35 views

How to have shared layout for specific page?

I am trying to achieve the shared layout for all the languages of the item. Basically, I have a project where a multiple pages are already made, and for 8 languages. Now I need to change every page (...
user avatar
  • 329
4 votes
1 answer
68 views

Is it possible to show shared site rendering variant at the top of variant drop down?

Is it possible to show shared site rendering variant at the top of variant drop down? Currently, We have rendering variant in shared site and actual site and it is showing actual site rendering ...
user avatar
  • 1
1 vote
1 answer
36 views

What is the best possible way to change Bootstrap version in SXA?

Is there any easy way or what is a good way to change the Bootstrap version in SXA. I have used the 4.6.1 for my frontend design, but I know SXA uses the 4.3.1 version. The way I did it is that I made ...
user avatar
  • 329

1
2 3 4 5
24