---
sourceDocument: Yokohama Mobile Configuration and Navigation
sourceDocumentLink: https://www.servicenow.com/docs/r/yokohama/mobile

 Release :

    - yokohama

ft:locale :

    - en-US

ft:publication_title :

    - Yokohama Mobile Configuration and Navigation

ft:clusterId :

    - mobile

bundleId :

    - mobile

workflow :

    - evelopment, Data and Analytics


---

# Reference field attributes for input form screens in offline mode

# Reference
field attributes for input form screens in offline
mode {#ariaid-title1}

* Release version: Yokohama
* 
* Updated January 30, 2025
* 
* ![](https://www.servicenow.com/docs/portal-asset/ico-clock) 1 minute to read

Configure the fields that you want to use and the data you want to display in offline
mode by using various input attributes.
Note:  
* You must create an input form screen before you create variables and attributes. For information about creating an input form screen, see [Configure an input form screen](https://www.servicenow.com/docs/MX8ZnrAGF3~_S5hUjOM4Bw "Configure an input parameter so that your users can see a list of records from their mobile app. To access a record from the list, a user just has to tap the record name.").
* Offline mode is only available on the Mobile Agent app.
{#reference-fields-offline-attributes__ul_jgz_2kn_xvb}

## Reference inputs {#reference-fields-offline-attributes__section_itt_mzd_15b}

Use reference inputs for inputs that reference a field on a table. These inputs work like
[reference fields](https://www.servicenow.com/docs/access?context=c_ReferenceField&version=yokohama&pubname=yokohama-platform-administration&ft:locale=en-US) in the forms on your instance. You can configure your reference
input with conditions, reference qualifiers, and a search option to help your users find
what they need quickly.

You can use these attributes with reference inputs.  
Note:  
All attributes are case-sensitive.
{#reference-fields-offline-attributes__table_pn1_xdt_v4b__entry__2}

| Attribute | Description |
|-|-|
| SourceTable | The source table for your reference qualifier. |
| SourceFieldName | The field name of the referenced field in the source table. |
| TargetTable | The table you want to target for your reference qualifier. |
[Table 1. Required attributes]

{#reference-fields-offline-attributes__table_pn1_xdt_v4b}

The following additional attributes are optional:
{#reference-fields-offline-attributes__table_anh_jbw_b4b__entry__2}

| Attribute | Description |
|-|-|
| OfflineMobileViewId | Define the mobile card used to display reference field data in offline mode. The OfflineMobileViewId attribute takes precedence over the MobileViewId attribute. |
| EnableSearch | Option to determine whether the search bar displays. The value must be true or false. |
| OfflineConditions | Encoded query condition used to query the reference data. The OfflineConditions attribute takes precedence over the Conditions attribute. Note: This attribute can also be used when the Conditions attribute has a condition that cannot be supported in offline. |
| SearchType | Defines the query used for search. The value can be <kbd class="ph userinput">starts_with</kbd> or <kbd class="ph userinput">contains</kbd>. If this attribute is not configured, the instance uses <kbd class="ph userinput">starts_with</kbd> by default on the display label column. |
| OfflineFetchScript | Use to specify a list of Sys IDs for reference records. Using this attribute, you can define what records to cache while in offline mode. Reference fields can return many thousands of records, but only 1,000 records are supported to cache for offline mode. Use this attribute to define the specific records (1,000 or less) that you want to cache for use while offline. If this attribute is not used, then the first 1,000 records returned are cached. |
| OfflineMaxNumRecords | Defines the number of records that you can cache in offline mode. The maximum number is 1000. You can set a different value for each reference input. |
[Table 2. Additional attributes]

{#reference-fields-offline-attributes__table_anh_jbw_b4b}

