Free cookie consent management tool by TermsFeed Create a Record View Interface [Interfaces]
Create a Record View Interface


A record view is defined on the record type object and is composed of an interface that displays information from a single record to end users.

This page describes how to create a read-only interface that you can use in a record view for a record type.

Note:  If your record type has data sync enabled, Appian can help you quickly create a record view and generate an interface with the right data for your end users. Learn how to generate a Summary view.

This read-only interface will display the data in each record. To pass record data into the interface, you'll define a rule input and set the type to a record data type.

Create a new interface with a rule input

To create the interface:

  1. In the Build view, click New > Interface.
  2. In the Create Interface dialog, configure your interface properties.
  3. Click CREATE.
  4. In the Select a Template panel, under PAGES, click One Column.

    Create Record Type/image 15

  5. Under RULE INPUTS, click New Rule Input .
  6. For Name, enter the name of the input. In this example, we entered purchaseOrder.
  7. For Description, enter a short description.
  8. For Type, enter the name of your record type. In this example, we used the Purchase Order record type.

For example:

screenshot showing the Edit Rule Input dialog with the Purchase Order rule input

Add test values to the rule input

Now that we have a rule input configured, let's add some test data to the interface. We'll configure a default test value to populate in our rule input. This test will simulate what happens when we connect our interface on our record type.

To add a test value to the interface:

  1. In the header bar, click TEST.
  2. For your rule input, enter an expression using a!queryRecordByIdentifier(). For example, to see the Purchase Order that has an identifier of 1, we can create an expression like this:

      recordType: recordType!Purchase Order,
      identifier: 1

    This expression will return a single record from the Purchase Order record type. If the Purchase Order record type had a relationship with other record types, we could reference the relationship in the fields parameter of a!queryRecordType to return related record fields as well.

  3. Click Set as default test values.
  4. Click TEST INTERFACE. You will now see record data populate in the RULE INPUTS pane.

Here's what our simple interface preview looks like with some test data:

screenshot of the view interface, showing 5 fields filled with test data

Connect components to the rule input

Now you can add components to your interface and connect those components to the rule input you created.

To connect your components to your record type rule input:

  1. From the PALETTE, drag a component onto the interface.

    Tip:  Because you want the interface to display read-only values only, consider using a rich text display component or a text component set to Read-only.

  2. In the COMPONENT CONFIGURATION, under Display Value, use the dropdown list to select a record field or a related record field from your rule input.
  3. Repeat the above steps for each component in your interface to connect them to the rule input.

What's next

Now that your interface is ready, use it to define a record view for a record type.

Create a Record View Interface