0

I have requirement to show the query results based on the logged-in user-profile details, I was able to pass the query token field value dynamical by following the code.

How to write a SXA search scope query in this format

[Company A OR Company B OR EMPTY] AND [Country A OR Country B OR EMPTY]

3
  • I'm not sure if I get your point... SXA is not using a custom query builder or something similar. If you are not able to compose search query like that in clean sitecore, then you won't be able to do it in SXA either (we are using the same field for queries). Aug 17 '20 at 8:03
  • I want define in scope like +(country A || Country B) +(Company A || Company B)
    – KARASH
    Aug 17 '20 at 12:41
  • You can check the post switchit.com/blog/sitecore/…
    – Amit Kumar
    Aug 17 '20 at 18:22

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.