Documentation

Timeline entry logo

Scope: catalog Permissions to execute: for all

crm.timeline.logo.get

crm.timeline.logo.get(code: string)

Logo information.

Parameters

Parameter Description Type
code Logo code string

Method returns an array containing logo fields.

crm.timeline.logo.list

crm.timeline.logo.list()

List of available logos.

No parameters.

Method returns an array, containing list of all available logos. Each array element contains logo fields.

crm.timeline.logo.add

crm.timeline.logo.add(code: string, fileContent: string)

Add a logo.

Parameters

Parameter Description Type
code Logo code string
fileContent Logo file content, encoded in base64. File requirement: .png type, 60x60 pixels dimensions, transparent background.

Only CRM administrator has access to execution of this method.

crm.timeline.logo.delete

crm.timeline.logo.delete(code: string)

Удалить логотип.

Параметры

Parameter Description Type
code Logo code

If user logo is passed, it will be deleted.

Only CRM administrator has access to execution of this method.

Logo entry fields

Parameters

Parameter Description Type
code Logo code
isSystem If logo is a standard logo provided in the product, it will contain true; if logo was added by the user, it will contain false. bool
fileUri If logo was added by user, field contains path to logo image file. string

© «Bitrix24», 2001-2024