Recent items in search component

  • 1
  • Question
  • Updated 3 years ago
  • Answered
Has anyone come up with a way to show recent items in the search in a similar approach to the standard SFDC search?

When I've added it to the Search component as a return object, I just get a spinning circle...
Photo of Joe Ort

Joe Ort

  • 2,266 Points 2k badge 2x thumb

Posted 4 years ago

  • 1
Photo of JD Bell

JD Bell, Senior Product Engineer

  • 3,226 Points 3k badge 2x thumb
Unfortunately, the RecentlyViewed object does not appear to support SOSL FIND queries. See the following:

It'd be nice if the search component reported something back for these sorts of errors, though, even if only to the console log.
Photo of Pat Vachon

Pat Vachon, Champion

  • 44,426 Points 20k badge 2x thumb
Any plans to remedy this since RecentlyViewed can be used for a model?