crm.timeline.comment.fields
Scope: catalog Permissions to execute: for all
crm.timeline.comment.fields()
The method returns list of fields for timeline comment.
Parameters
No parameters.
Fields
Field | Description | Type | Note |
---|---|---|---|
ID | Identifier. | integer | Read only. |
CREATED | Date when added. | datetime | Read only. |
ENTITY_ID | Element ID to which comment is binded. | integer | Invariable\Required |
ENTITY_TYPE | Type of element to which comment is binded.
Values:
| string | Invariable\Required |
AUTHOR_ID | Author. | integer | Invariable |
COMMENT | Comment text. | string | |
FILES | List of files. | attached_diskfile | Array with values, described based on rules provided here. |
Example
BX24.callMethod( "crm.timeline.comment.fields", {}, function(result) { if(result.error()) console.error(result.error()); else console.dir(result.data()); } );
© «Bitrix24», 2001-2024