crm.timeline.bindings.unbind
crm.timeline.bindings.unbind()
The method removes binding of a timeline record from CRM element.
Parameters
Parameter | Description |
---|---|
fields | Set of fields - array ("field"=>"value"[, ...]) type, containing field values. Required fields - OWNER_ID , ENTITY_ID and ENTITY_TYPE .
|
Fields
Field | Description | Type | Note |
---|---|---|---|
OWNER_ID | Record ID in timeline. | integer | Invariable\Required |
ENTITY_ID | Element ID, to which a timeline record is binded. | integer | Invariable\Required |
ENTITY_TYPE | Type of element to which comment is binded.
Values:
| string | Invariable\Required |
Example:
BX24.callMethod( "crm.timeline.bindings.unbind", { fields: { "ENTITY_ID": 10, "ENTITY_TYPE": "deal", "OWNER_ID": 1110 } }, function(result) { if(result.error()) console.error(result.error()); else console.info(result.data()); } );
© «Bitrix24», 2001-2024