2

I am using Sitecore 9.3 with SXA search components (search box, search results, filters and paging) and needs to extend this to read data from custom API.

What I have thought of is to clone the search results components and update the API calls for search box and filters. But I need to know whether there is any easier way to achieve this like only overriding the search controller?

  • What do you mean with "read data from custom api"? What do you have to achieve? – Gatogordo Jul 2 at 7:07
  • I need to get data from external source and append it to the search results items list that is returned from sitecore – NAli Jul 2 at 8:40
  • Append it as extra results? Or append extra data to the result items? – Gatogordo Jul 2 at 9:21
  • this means that i need to override the SXA search controller? – NAli Jul 2 at 12:28
  • 1
    @NAli, does this link help - sitecore.stackexchange.com/a/20182/4515? Basically you need to fetch search results from a custom API correct? – Paulson Maclean Jul 2 at 14:25

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.