I have two different page types in the Sitecore 10.2 SXA search scope. So template1 contains sdate field and template2 contains edate field for date. I need to point the facet to both the fields in order to implement date range and sort by.

I tried using this field by adding sdate,edate in facet but did not work.

enter image description here

Can anyone help here?

1 Answer 1


This is not possible just out-of-the-box. What is mostly done in cases like this is to create an extra index field (ComputedIndexField) that will contain sdate or edate (depending on the template). This way you can use that field in the facet.

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.