Skip to main content

Embedded list component

Level: beginner

Use the Embedded list component to add embedded list. Before you use the component, make sure that the Freedom UI page schema includes the data source. Learn more: Operations with data for Mobile Creatio.

View the example of a configuration object that adds embedded list below.

Example of a configuration object that adds embedded list
{
"type": "crt.Detail",
"items": "ItemAttribute",
"title": "Contact in opportunity",
"itemLayout": {
"type": "crt.ListItem",
"body": [
{
"value": "\$Contact"
}
]
},
"editColumns": [
{
"columnName": "Contact"
}
],
"tools": [
{
"type": "crt.Button",
"text": "Add",
"menuTitle": "Select",
"menuItems": [
{
"type": "crt.MenuItem",
"caption": "By filter",
"clicked": [
{
"request": "crt.CreateActivityParticipantDetailRequest",
"params": {
"attributeName": "ActivityParticipantDetailV2EmbeddedDetail",
"filtersConfig": {
"filterAttributes": [
{
"loadOnChange": true,
"name": "ParticipantFilterAttribute",
}
],
}
}
}
]
},
{
"type": "crt.MenuItem",
"caption": "All",
"clicked": [
{
"request": "crt.CreateActivityParticipantDetailRequest",
"params": {
"attributeName": "ActivityParticipantDetailV2EmbeddedDetail",
}
}
]
},
]
}
]
}

string type

Component type. crt.Detail for the Embedded list component.


string items

The attribute from the viewModelConfig schema section.


string title

The component title.


object itemLayout

Configuration object that configures parameters of component to display in the Embedded list component.

Parameters

Name

Description

string type

The component type to display in the Embedded list component. In most cases, crt.ListItem.

array of objects body

Parameters of the crt.ListItem component type.


array of objects editColumns

List of editable columns.


array of objects tools

List of embedded Freedom UI Mobile components. For example, buttons. Embedded components are displayed in the top right of the Embedded list component.


See also

Operations with data for Mobile Creatio