Using Default Searches
Default searches can be configured on specific pages in the EUI to determine the records that are displayed. For example, when a user clicks a page, you might only want to display records that are assigned to them.
Updating the Default Search
To update the default search, you can use an existing saved search or create a new saved search.
- Navigate to the table that contains the records on which you want to run the search.
- Hover over the down arrow on the Search drop-down. Note the name of the search you'd like to use as the new default search, or click New to create a new saved search that you want to use.
Navigate to the EUI Templates table.
Edit the .html record that corresponds to the page in the EUI on which you'd like the search to run.
By default, the .html records you need to edit are named after the page titles in the EUI. For example, the My Service Requests page is
my_servicerequests.html, the My Incidents page is
my_incidents.html, and so on.
Locate the line of code beginning with
#setthat lists the current default search:
($defaultsearch=in the first line, replace the name in quotation marks with the name of the new default search.
- In the last line of the code block shown above, ensure
$defaultsearchis listed in the second set of quotation marks after
- Click Save. The default search is now updated.