0

I was following the official documentation (https://doc.sitecore.com/developers/sxa/18/sitecore-experience-accelerator/en/build-a-rendering-that-includes-variants.html) and trying to create a custom SXA rendering with variants.

Everything looks pretty straightforward, we just have to implement different base classes in order to make it work with variants.

The only piece of data that I'm missing is on which DLL am I supposed to find those variant types since they are not on Sitecore.XA.Foundation.MVC?

1
  • 1
    I am not sure what exactly you are asking about but there are two DLLs related to variants: Sitecore.XA.Foundation.Variants.Abstractions, Sitecore.XA.Foundation.RenderingVariants Commented Feb 20, 2019 at 0:44

1 Answer 1

2

So there it is a list of SXA variants types and their namespace/DLL.

  • VariantsController
    • Sitecore.XA.Foundation.RenderingVariants.Controllers, Sitecore.XA.Foundation.RenderingVariants
  • VariantsRepository
    • Sitecore.XA.Foundation.RenderingVariants.Repositories, Sitecore.XA.Foundation.RenderingVariants
  • VariantsRenderingModel
    • Sitecore.XA.Foundation.Variants.Abstractions.Models, Sitecore.XA.Foundation.Variants.Abstractions

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.