Posts Tagged ‘SXA Rendering Variants’

Creating C# Helpers for SXA Rendering Variants Before Scriban

Need some C# help inside your SXA rendering variant? You’ve come to the right place. This blog post will explain how you can employ the use of a C# helper class in your rendering variant. You should only use this sparingly. If you find yourself overusing C# here, you should consider implementing your component as […]

Person designing a website for Accessibility

Sitecore Experience Accelerator (SXA) 9.3: Scriban Template in Rendering Variant

One of the main features in Sitecore SXA 9.3 is the introduction of Scriban Templates. This will replace the legacy NVelocity Template engine that was being used previously with SXA. Scriban is very efficient when it comes to performance and flexibility.     We can define HTML structure using Scriban with usage of extra properties. […]

Token

Sitecore Experience Accelerator (SXA) Rendering Variants: Using Custom Tokens

We have learned the basics of SXA’s Rendering Variants feature, and have seen how useful the feature is in terms of changing the appearance of our Components. This is very helpful when we want to use the same rendering to display different fields and many other properties like CSS Classes, HTML wrapper element, Data attributes, […]