Showing posts with label Sitecore SXA. Show all posts
Showing posts with label Sitecore SXA. Show all posts

Wednesday, 19 February 2025

Sitecore Audit :: Excessive use of variants definitions :: Catch with PS Script

Continuing on this series of a useful Sitecore PowerShell scripts that you will need while working on a Sitecore Audit, in this post we will discuss how you should not have excessive use of rendering variants, For Sitecore SXA best practices, it's recommended to limit the number of rendering variants to 15 or preferably below 10 to maintain a manageable and efficient development process. will explain in this post why? and if you're performing a sitecore audit, how you can catch that with simple PowerShell script, keep reading!! 




Tuesday, 1 October 2024

Sitecore SXA virtual media folder :: Customized!!

 If you worked with Sitecore SXA before, you must be familiar with the virtual media folder concept, mainly the folder that you usually see with the name "Media" under each website you create under your tenant, but have you ever tried or needed to create such folder out of a tenant with a different name than MEDIA as example, lets say to make it easier for your content author to get into a long path folder. not? then don't try, its not going to work! interested, keep reading! 



Tuesday, 20 August 2024

Sitecore SXA Code Datasource :: Caching!!

In this quick blog post I wanted to share my experience working with code: datasource type, if you didn't hear of this type of datasource in Sitecore with SXA, this blog will be a good article to go through, in addition I wanted to share how we can configure datasource caching OOTB and in some cases using custom code if needed, interested, keep reading! 


Sunday, 24 May 2020

Sitecore XA ::Custom Search Results Using Scriban

In a recent project I was working, we used Sitecore Experience Accelerator (SXA) out of the box search renderings, but we needed to have control over the html of the search results, we started looking of how to implement this and we ended up using the new SXA 9.3 variant option Scriban to create a variation of the search results, in this post will show you how you can accomplish this in no time. 

Sunday, 15 March 2020

Sitecore Scriban Extension - How To Control a Link Field!

In this post I will show you a couple of custom Scriban extensions that I needed to create on a recent project I was working on, first example is how you can get an item URL counting for server URL / Site resolving and another example of how you can pull a link of a link field. Before that if you're new to Scriban, take a quick look for this post, I'm sure you will find it useful. 

Thursday, 20 February 2020

Sitecore SXA Scriban

I have been working on a new Sitecore 9.3 implementation with Sitecore Experience Accelerator (SXA) 9.3 recently and I got chance to work with some interesting new stuff that I would like to share with you in a couple of blog posts, I expect you will find these very useful and fun, SXA 9.3 came with a lot of new features and enactments, one of these new features is using Scriban Templateting in rendering variants, so, in this post will give an introduction of what is a rendering variant? and what is Scriban? and on the next posts will show you how we can build a custom extensions for Scriban.