Type parameters
-
T: ItemData
Hierarchy
-
BaseItem
- LineItem
- LineChannelItem
- LineClientItem
- LineSessionItem
- LineMetricItem
- LineMessageItem
- DigitalSign
- EntitySignItem
- SignProviderItem
- Item
- BaseApplicationItem
- UserItem
- UserGroupItem
- OrganisationStructureItem
- FileItem
- FileVersionItem
- ImageItem
- DirectoryItem
- ReplacementItem
- ReminderItem
- ProcessInstanceItem
- ProcessTaskItem
- StatusHistoryItem
- MailMessageItem
Properties
Readonly data
Values of object’s fields.
Readonly fields
Description of the object’s fields.
Methods
normalize
-
Delete duplicate data in arrays.
The method deletes duplicates in fields that store arrays of links to system objects (users, files, app items, or documents). For example, you can call this method after bulk editing data within an object.
const app1 = await Context.data.app1.fetch(); const app2 = await Context.data.app2 .fetch(); app1.data.executors.push(app2.data.executors); app1.normalize(); // Now we need to go over the elements in the new array app1.data.executors .forEach( ... );
Returns void
Interface of the basic system object
All the system objects extend the base object.