Hopefully a quick question.
Using a standard search widget, is it possible to log the user who performs the search along with the search criteria they’re using? We’d like to maintain an audit trail of searches to ensure the application isn’t being used irresponsibly.
I’ve had a look at all the config options for the search page/elements and can’t find anything that would support this.
There is no native functionality for recording search criteria.
However if you are familiar with Code Studio, you could create a Widget on the same page and with the same base object as the Listing. It can access an array of any submitted search filters, as well as details of the currently logged in user. With this data you could prepare and log whatever details you wanted to as a record in a new Object for this purpose. The widget doesn’t need to show anything on the frontend page, so would effectively be hidden.