Using Sitecore 9.01 and SXA 1.6 , we are trying to create search scope that filter News item based on their dates , so each News item has start and End date and we need to display only not expired news item ex : NewsEndDate >= Today

is there a way to achive that , we are think of Computed filed to mark each news item as Expired or not

  • 2
    You would have to update this computed field periodically in order to get this feature working (not impossible but not perfect). In 1.6 there is no feature that let you solve this problem. If SXA upgrade is possible in your case you could wait for 1.7. There is one feature that could be used to implement this. If no one will provide any answer I will create one after release. – Alan Płócieniak Apr 22 '18 at 17:20
  • Do you find a way other than Computed Index Field? – NAli May 25 '18 at 6:26
  • @AlanPłócieniak dose this feature exists now in SXA 1.7.1 ? – user1534066 Oct 16 '18 at 14:06
  • @user1534066 yes. I think you should fina an answer here sitecore.stackexchange.com/questions/14148/… – Alan Płócieniak Oct 16 '18 at 15:40

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.