Documentation

entity.add

Creates data storage.

Parameters

Parameter Description
ENTITY Required. Storage string ID unique to this application (maximum length - 13 characters).
NAME Required. Storage name
ACCESS Description of storage access permissions.
Should be an associative array whose keys are access permission IDs and whose values are: R (Read), W (Write) or X (Manage).

Storage creator is automatically assigned the X permission.

Example

BX24.callMethod('entity.add', {'ENTITY': 'dish', 'NAME': 'Dishes', 'ACCESS': {U1:'W',AU:'R'}});



© «Bitrix24», 2001-2024
Up