---
title: "Using Default Searches"
canonical: "https://help.agiloft.com/space/HELP/43716050/Using+Default+Searches"
format: markdown
---
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.

> ℹ️ **Prerequisites**
> ℹ️ 
> ℹ️ Before making changes to the EUI, we recommend that you have a basic understanding of the following topics:
> ℹ️ 
> ℹ️ - HTML
> ℹ️ - CSS
> ℹ️ - [Macros, methods, and conditionals](https://agiloft-public.atlassian.net/wiki/spaces/HELP/pages/43715704), as they're used in the EUI
> ℹ️ 
> ℹ️ For more information on HTML and CSS, visit [W3 Schools](https://www.w3schools.com/).

# Updating the Default Search

To update the default search, you can use an existing saved search or create a new saved search.

1. Navigate to the table that contains the records on which you want to run the search.
2. Click the Search drop-down menu. 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.
3. Navigate to the EUI Templates table.
4. Edit the .html record that corresponds to the page in the EUI on which you'd like the search to run.
5. Locate the line of code beginning with `#set` that lists the current default search:
6. Following `($defaultsearch=` in the first line, replace the name in quotation marks with the name of the new default search.
7. In the last line of the code block shown above, ensure  `
      $defaultsearch` is listed in the second set of quotation marks after  `
      #ew_table`.
8. Click Save. The default search is now updated.

> Macro (hide-if)
> 
> #### Related articles
> 
> > Macro (contentbylabel)