Recent items in search component

  • 1
  • Question
  • Updated 2 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,256 Points 2k badge 2x thumb

Posted 3 years ago

  • 1
Photo of JD Bell

JD Bell, Senior Product Engineer

  • 2,996 Points 2k 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 mB Pat Vachon

mB Pat Vachon, Champion

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