🚧 Beta
This is a beta version and subject to change without notice.
To define a custom field, you need to add a customFieldDefinitions array to your iris app manifest:
customFieldDefinitions: [
{
type: 'STRING',
entityType: 'ASSET',
key: 'myKey',
title: 'String Field',
uiEditable: true,
uiVisible: true
}
]-
typedefines the custom field type (see below for all options). -
entityTypedefines what type of entity a custom field can be used on. Currently onlyASSETandACCOUNTis supported. -
keydefines the programmatic name of the field and cannot be changed after it has been created. -
titledefines the UI visible name of the field. -
uiEditable/uiVisiblecontrols how the field will be shown in the manager UI. This does not limit how the field is used inside the tile.
Apart from the these standard properties, some field types have extra properties defined below.
All custom fields defined by a tile will be owned by the tile, and the tile developer should consider existing data when changing field definitions.
📌 All custom fields defined by an app will be owned by the app, and the app developer should consider existing data when changing field definitions.
