Record types make it easy to work with data throughout your applications. Once you've configured your record type, you can use it to power interface components, pass data in a process model, and display record data in sites. You can even allow business users to leverage your record data in Process HQ.
This page explains the different places where developers and business users can reference record data. See Interface Recipes to learn how to achieve common user-interface designs using records.
Tip: Review your record type's security to ensure the right users can view the right data.
There are numerous interface components that allow you to use a record type as the data source. These records-powered components make it quick and easy to build powerful reports and interfaces:
You can easily pull record data into a read-only grid by choosing the record type as the grid's data source. Records-powered grids allows you to reuse features configured on your record list such as user filters, search configurations, record actions, and export to Excel.
By default, the grid will apply the record list style and format. You can then customize your grid by creating new grid columns, where you can reference record fields or related record fields, and apply different display options to present your data.
In expression mode, you can configure the grid's data source using a!recordData or a!queryRecordType, and use fv!row with bracket notation to pass the record field values into the grid.
The event history list component allows you to display your record events in a list or in a timeline format. This component makes it easy to view your business operations at a glance, especially when you leverage the generated Event History record type to configure it.
It's easy to build powerful reports when you use a record type as the source of your charts.
Simply choose your chart, and specify the record type to use as your data source. Appian will then query your data for you and automatically display the results in the chart. You can then modify the chart's grouping and measures to determine what data to query from the record type and how to display the results on the chart.
If your record type leverages record type relationships, you can easily reference related data by hovering over the relationship name in the list of available record fields.
Tip: If you start building your chart and find that you need to calculate or summarize your existing data to display the right information, consider creating custom record fields on your record type to calculate these values and store them in a new record field.
Once you add a related action or a record list action to your record type, you can reuse these actions in any report or form using the record action component.
This component gives you the flexibility to display record actions anywhere on the page, and even change the way the button appears on the interface.
With a record action component, you can easily add a list of record actions, and even reference record actions from different record types.
See a!recordActionField() and a!recordActionItem() to learn how to configure a record action component.
After you configure your record views, you can easily link to these views using record links. For example, in your Customer record list, you could add a record link on the name
field and use fv!identifier
to pass in each customer's ID. Now, when a user clicks on the customer name, the link will go to the Summary view associated with each customer. Consider using the targetLocation parameter to ensure the link opens a site page that is predictable and familiar to your users.
1
2
3
4
5
6
7
8
9
10
a!linkField(
links: {
a!recordLink(
label: fv!row[recordType!Customer.fields.name],
recordType: recordType!Customer,
identifier: fv!identifier,
openLinkIn: "SAME_TAB"
)
}
)
Record links can be used in tags, charts, grids, hierarchy browsers, images, link fields, milestones, pickers, and rich text. Using record links, you can allow users to easily discover more information with minimal effort.
See the record link component for more information.
The record picker allows users to select one or more records from a record type using an autocompleting picker. This component is particularly useful when building forms to update or add new information to a record.
For example, if you want to create a form to capture new orders, you can add a record picker on your form so users can select their customer name from the Customer record type. This prevents users from manually entering a customer name each time they create a new order, and it provides an alternative to building and maintaining a constant to display a list of all customer names.
See the record picker component for more information.
The following selection components can be configured with a record type as their data sourceāa faster and simpler method than building a query or mapping parameters one by one:
These components are perfect for letting users pick a value from a set of record data.
Record types can be used as variables in a process model. This allows you to use record data in your process model as a process variable or an activity class parameter.
You can use record types as process variables to manage the full lifecycle of your business data and power a variety of workflows. For example, record data can be used to:
See Create a new record using a process model for an example.
In sites, you can associate record types with site pages.
When a site page is associated with a record type, the user sees the record list for the associated record type when accessing that page.
To associate a record type with a site page:
When you associate a record type with a site page, you can choose whether or not to show the News view on the records displayed on the site.
By default, a site is configured to show record news. This means that each record will have a view that displays the 20 most recent news events related to the record. However, the News view will only display on the site if Show News view is selected for the record type object.
See Define Record Views to learn more about configuring the display of default record views.
Process HQ is a unified, self-service workspace that provides business users with unprecedented visibility into their enterprise so they can make data-driven decisions and improvements.
In this workspace, business users can explore and analyze data from your synced record types using:
Tempo is an end-user workspace where users can explore the records, reports, tasks, and actions that make up their enterprise. In Tempo, record types are displayed as a list of cards on the Records tab. Each record type has an associated icon and color.
By default, Tempo will display a preconfigured record type called Users. This record type contains a directory of all Appian users. To make changes to the Users record type, see Modify the User Record Type.
Users can click a record to view the record list.
By default, new record types do not display on the Records tab in Tempo.
To display record types in Tempo:
Select the Show this record type on the Records tab in Tempo checkbox.
Note: As a best practice, you should hide a record type that defines reference or supplemental data that is only created and managed in the context of another record type. Hiding a record type does not prevent users from viewing a record's list or views in Tempo.
Where to Use Records