---
schema_version: "1"
id: d817dfc2cc23e40bddf5149b27582ac62a75c87412fa8e3e311ee8c8cd770a76
title: Set Up the Search Tab in the Field Service Mobile App
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/service/264-0-0/mfs_search.md
canonical_url: https://help.salesforce.com/s/articleView?id=service.mfs_search.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: c50a13e77cf1dba6457603f5ea93e0f4148106403dc5eb355bbc3e9047815003
description: Let mobile workers search for records in the Field Service mobile app.
products:
  - Field Service
release: "264"
---
# Set Up the Search Tab in the Field Service Mobile App

Let mobile workers search for records in the Field Service mobile app.

### Required Editions

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small edition"><colgroup><col></colgroup><tbody><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Available in: both Salesforce Classic (not available in all orgs) and Lightning Experience</td></tr><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">The Field Service core features, managed package, and mobile app are available in <strong>Enterprise</strong>, <strong>Unlimited</strong>, and <strong>Developer</strong> Editions.</td></tr><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">To access the Field Service mobile app, users need the Field Service Mobile user license.</td></tr></tbody></table>

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small permission">
        <colgroup>
          <col style="width:50%">
          <col style="width:50%">
        </colgroup>
        <thead class="slds-text-title_caps ">
          <tr class="">
            <th scope="colgroup" class="slds-cell-wrap" colspan="2" style="text-align:center;vertical-align:top;" id="d104547e78">User Permissions Needed</th>
          </tr>
        </thead>
        <tbody>
          <tr class="">
            <td data-label="User Permissions Needed" class="slds-cell-wrap" style="vertical-align:top;" headers="d104547e78 ">To customize tabs:</td>

            <td class="slds-cell-wrap" style="vertical-align:top;" headers="d104547e78 ">Customize Application</td>

          </tr>
        </tbody>
      </table>

1. [Set up the user permissions](https://help.salesforce.com/s/articleView?id=service.mfs_builder_setup_perms.htm&release=264.0.0&type=5 "Let mobile users see the configuration.").
2. Add the Search component.
    1. In Field Service Mobile App Builder, drag **LWC Attributes** to the bottom bar. See [Work with Tabs in the Field Service Mobile App Builder](https://help.salesforce.com/s/articleView?id=service.mfs_builder_tabs.htm&release=264.0.0&type=5 "Choose tab types and their placement, and add other customizations to create workflows optimized for your mobile app users.").
    2. For Lightning Web Component, select **Search**.
    3. Give the tab a label and select an icon. The mobile worker sees the label and icon in the Field Service mobile app. For example:
        
        ![Search tab in the Field Service Mobile App Builder](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-service-support_field_service-264-0-0-production-enus/3f7dceb9-dd70-454a-b49e-bbb4526a158d/support_field_service/images/mobile_app_builder_search.png)
    4. Click **Save** and then click **Publish**.
3. The component searches in these objects, listed in the order they appear: Service Appointment, Work Order, Work Order Line Item, Asset, Contact, Account, Product Item, and Resource Absence.
    
    Determine which fields are searched and shown in the search results.
    
    1. The search bar at the top of the component lets users enter free text. The component then searches in all the fields that are in the object’s search layout. To determine which fields are searched, from Object Manager, select the **Service Appointment** object, and then click **Search Layouts**.
    2. In the row of the required profile, click the arrow and select **Edit**.
    3. The component searches in all of the fields in the Selected Fields list. Review the fields in the list and add or remove fields accordingly.
    4. The first five fields are shown in the search results. Determine which fields are shown by reordering the fields.
        
        The top two fields are shown in the collapsed mode. The first field is the title of the search result, and the second field appears below it. The next three fields are seen only in the expanded mode. For example, if the fields are sorted in the order shown in this example, these fields are shown in the collapsed mode and the expanded mode.
        
        ![Search layout modes](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-service-support_field_service-264-0-0-production-enus/3f7dceb9-dd70-454a-b49e-bbb4526a158d/support_field_service/images/search_layout.png)
    5. The component’s Filter By option lets you select any of the object’s fields that are in the page layout. Review the fields in the object’s page layout and add or remove fields accordingly.
    6. Repeat steps a. to e. for the remaining objects that the component searches in.

Keep these considerations in mind.

- The search results show only the first 50 records that were modified in the last 2 years, based on the last modified field on the record. Older results aren’t shown.
- The component searches in a set list of objects: Service Appointment, Work Order, Work Order Line Item, Asset, Contact, Account, Product Item, and Resource Absence. You can’t remove or add objects to this list.
- When the mobile worker is offline, the component searches only in cached records. To make relevant records available offline, make sure you add them to the briefcase.
- When the mobile worker performs a search, the results are retrieved from the server and cached. If the information changes on the server and the mobile worker then performs the same search, they don’t see the updated information, because the information was already cached. When the data cache policy expires, the search can retrieve the updated information.
- The component retrieves only records that the user has access to. When a mobile worker searches for service appointments, only appointments that are assigned to them are retrieved.

#### See Also

- [Customize Tabs with the Field Service Mobile App Builder](https://help.salesforce.com/s/articleView?id=service.mfs_builder.htm&release=264.0.0&type=5 "The Field Service Mobile App Builder is a point-and-click tool that lets you configure custom tab navigation and give users quick access to screens and records based on their role.")
- [Search for Records](https://help.salesforce.com/s/articleView?id=service.mfs_search_user.htm&release=264.0.0&type=5 "Use the Search tab to search for records.")