1

It may be a very basic question as I'm beginner in sitecore SXA.

Is there any possible way to build the SXA custom component using Glass Mapper?

Thanks

  • I don't see any reason why this could be a problem. I saw few people doing it so short answer is YES, it is possible, – Alan Płócieniak Jan 8 '18 at 10:27
  • Thanks Alan Płócieniak , If you have any example, can you post it here.. – Ananth Ananthakrishnan Jan 8 '18 at 10:30
  • Yes it is possible - not sure how to combine it with variants though.. – Gatogordo Jan 8 '18 at 11:09
  • 1
    The question should be less of "can you" and more of "should you" - The SXA helpers etc... work off the item a lot - so if you are using any of those, Glass kinda gets in the way - you have to pass the item through anyway. So why bother with the mapping parts - feels like you are duplicating effort at that point. If you are not using variants, then it would probably be ok. But if its variants, I don't see the point. – Richard Seal Jan 8 '18 at 14:56

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.