Versions Compared
Key
- This line was added.
- This line was removed.
- Formatting was changed.
The Use the <activityFeed> tag is intended for enabling to enable the Activity Feed functionality on forms for widgets of the portal or agent views interfaces.
Available attributes:
Attribute | Type | Mandatory | Description | ||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
sysId | String | N | Specify the ID of the record ID on which the activity feed widget is enabledthat that has the Activity Feed widget.
| ||||||||||||||||||||||||||||||||||||||||||||
tableName | String | N | Specify the table system name (for example, "task") on which the Activity Feed widget should be enabled.
| ||||||||||||||||||||||||||||||||||||||||||||
config | String | N | Configure the Activity Feed. Describe the object in JSON format, as shown in the example examples below. The Define the following parameters can be defined:
| ||||||||||||||||||||||||||||||||||||||||||||
isAlwaysOpened | Boolean | N | Set the value to true to make the Activity Feed widget always open. If the widget is always open, it has no chevron |
There are two ways to receive the attribute values from the URLs:
- On the specific record page, the attribute values are populated automatically.
When
thea specific URL is provided, the attribute values are populated out of GET-parameters.
Note title Example
An example of
URL
: https://instance.example.com/?table_name=user&record_id=161416916116380709.
The table_name and record_id parameter values are
transferred from this URL.
- The table_name parameter value is mapped to the tableName attribute.
- The record_id parameter value is mapped to the sysId attribute.
Example:
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
<activityFeed tableName="user" sysId="161416916116380709"></activityFeed> |
{data.table_name} sysId={data.record_id} config={data.config}></activityFeed> |
The template above displays the following element on the page:
Image Added
Redefine class styles Anchor style style
style | |
style |
The style of the following classes used in the config attribute can be redefined:
Expand | ||
---|---|---|
| ||
|