Feed component
Feed is a component that enables internal and external users to post and read comments that support rich text and user mention via "@." Learn more: Feed (user documentation).
View an example of a configuration object that sets up the Feed component below.
viewConfigDiff: /**SCHEMA_VIEW_CONFIG_DIFF*/[
{
"operation": "insert",
"name": "Feed_6m476f2",
"values": {
"layoutConfig": {
"column": 1,
"colSpan": 1,
"row": 1,
"rowSpan": 1
},
"type": "crt.Feed",
"feedType": "User",
"primaryColumnValue": "$Id",
"cardState": "$CardState",
"allowExternalPost": false,
"entitySchemaName": "UsrTest",
"dataSourceName": "PDS",
"visible": true,
"isReadOnly": false
},
"parentName": "GeneralInfoTabContainer",
"propertyName": "items",
"index": 0
}
]/**SCHEMA_VIEW_CONFIG_DIFF*/,
string type
Component type. "crt.Feed" for the Feed component.
string feedType
Define the feed content source.
Available values
Record | Display feed messages related to a specific record. |
User | Display feed messages related to a specific user. |
string primaryColumnValue
Bind the feed to the primary key value of the record.
string cardState
Bind the feed behavior to the current card state.
boolean allowExternalPost
Whether to allow messages from external users. By default, "false."
Available values
true | Enable to send messages from external users. |
false | Disable to send messages from external users. |
string entitySchemaName
Specify the schema of the object whose records are linked to the feed.
string dataSourceName
Define the data source used by the Feed component. "PDS" refers to the page data source.
boolean visible
Whether to display the Feed component. By default, "true."
Available values
true | The feed is visible. |
false | The feed is hidden. |
LayoutConfig layoutConfig
Specify the component position and size.
Parameters
number column | The column number where the component starts. |
number colSpan | The number of columns the component spans. |
number row | The row number where the component starts. |
number rowSpan | The number of rows the component spans. |
boolean or string isReadOnly
Whether to display the Feed component in read-only mode. By default, "false." To ensure feed messages are displayed correctly, bind the appropriate attribute to the isReadOnly property. When the bound attribute value changes, the component fields are shown or hidden automatically. Available in Creatio 8.3.1 and later.
Available values
true | Adding new feed messages or comments is locked. Only the Like button remains available. |
false | Adding new feed messages or comments is permitted. |
See also
Overview of Freedom UI Designer and its elements (user documentation)