Versions Compared
Key
- This line was added.
- This line was removed.
- Formatting was changed.
The <activityFeed> tag is intended for enabling the Activity Feed functionality on forms for the portal or agent views.
Available attributes:
Attribute | Type | Mandatory | Description | ||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
sysId | String | N | Specify the record ID on which the activity feed widget is enabled.
| ||||||||||||||||||||||||||||||||||||||||||||
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 in the example below. The following parameters can be defined:
|
There are two ways to receive the attribute values from the URLs:
- On the specific record page, the attribute values are populated automatically.
- When a specific URL is provided, the attribute values are populated out of GET-parameters.
Example for case 2
- An example of a provided URL is the following: https://instance.example.com/?table_name=user&record_id=161416916116380709.
- The table_name and record_id parameter values are obtained from 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.
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
<activityFeed tableName="user" sysId="161416916116380709"></activityFeed> |
Redefine styles of classes
The style of the following classes used in the config attribute can be redefined: