Note: Nintex Apps data centers are located in West US and Australia (AUS). In-region processing of Nintex Apps data is only available in these regions.

UI-Only Fields and Models

UI-Only ("user interface-only") fields hold data values that react to user input or interact with queried data. They work with data values that:

  • are entered by users in runtime,
  • result from data queried by the user, or
  • are predetermined by the builder

The data in UI-Only fields is essentially temporary; as their name implies, they are not stored in any connection and do not persist across page loads. If the user refreshes the page, the data in a UI-Only field is lost.

Note:  UI-Only fields are often used on UI-Only models. These models do not connect to any external system, but instead serve to store temporary values at runtime, but they do not save that data.

UI-Only fields can enhance the user experience in a number of ways:

  • Create a custom formula field that interacts with data in real-time on a screen-by-screen basis:

    • Display a field that shows the sum of all projected amounts for recent sales opportunities displayed on a Table component. If the fields used to create this sum are affected by filters or conditions, the UI-Only summary field updates to reflect these changes in real-time. Because this sum only needs to provide real-time information about what the user currently viewing, a UI-Only field is perfect for the job.
  • Create on-screen checkboxes that trigger action flows and conditional rendering:

    • Show or hide component elements (such as a Form section by setting a UI-Only toggle.
  • Provide user-friendly fields that automatically transform data:

    • Have a component that needs to react to, or alter, values input by the user? A UI-Only field can do just that.

More UI-Only field use cases.

Add UI-Only fields

Note:  Remember, the data captured in UI-Only fields is not attached to the records on the page. For a field that stores and tracks data, create a new custom field from within the connection.

Add to a UI-Only model

A common way to use UI-Only fields is by creating a UI-Only model and adding UI-Only fields to it. By doing this, you can sensibly organize those fields, whether using one model for all of needed UI-Only fields or create separate models for different uses. This also avoids creating "dummy models" attached to existing connections.

To create a UI-Only model:

  1. In the Elements pane, navigate to the Models tab.

  2. Click add Add Model and configure:

    • Connector: UI-Only.
  3. Select the new UI-Only model and click Fields.

    • Click add Add Field.

      Important:  UI-only field Ids cannot contain spaces. If spaces are needed, use them in the field's label.

UI-Only models also support the use of model conditions and model actions.

Important:  Model conditions on UI-Only fields require the field to have a value by default. If the UI-Only field doesn't have a value by default —for example, a UI-Only field filled in by the user at runtime—the model condition will not work correctly.

Add to other models

You may also add UI-Only fields to any other model, regardless of connector. To do so:

  1. Create a model or navigate to an existing one.

  2. Within the model, click Fields.

    • Click add Add Field.

      Important:  UI-only field Ids cannot contain spaces. If spaces are needed, use them in the field's label.

Note: 

In Nintex Apps, models load in the order they are listed in the models tab, with models at the top of the list loading first. Some models are dependent on others for data. In these situations, dependent models must load after their primary models. This is critical when using UI-Only fields: having a field that references a model that hasn't loaded yet will cause errors.

Here's an example: If an Accounts model loads before a Contacts model, but there's a reference on that Accounts model (for example: a condition or a UI-Only field) to the Contacts model, Nintex Apps is forced to access data that hasn't loaded yet —which leads to errors on the page.

Properties

New UI-Only fields have metadata properties—information that describes what the data is, and is used for. Once a UI-Only field has been added to a model, it must be configured using the field's metadata properties.

To access and update the UI-Only-field's metadata properties, click the UI-Only field from the Fields list under the model name in the Elements pane.

UI-Only Fields and Display types

When you create a UI-Only field, you can set the field's Display type property to determine how the raw data will be displayed to the end user.

Troubleshooting