landing.repo.getList
Scope: landing Permissions to execute: for all
landing.repo.getList(params)
The method is used to retrieve list of blocks for the current application.
Parameters
Method | Description | Available from version |
---|---|---|
params | Optional array, with optional keys:
|
Entity fields
Field | Description |
---|---|
ID | Record ID |
XML_ID | Unique record code. |
APP_CODE | Current app code. |
ACTIVE | Active state (Y / N). |
NAME | Name. |
DESCRIPTION | Description. |
SECTIONS | Symbol codes of categories. |
PREVIEW | Preview image. |
MANIFEST | Manifest. |
CONTENT | Content. |
CREATED_BY_ID | User ID who created a record. |
MODIFIED_BY_ID | User ID who modified a record. |
DATE_CREATE | Date when created. |
DATE_MODIFY | Date when modified. |
Example
BX24.callMethod( 'landing.repo.getList', { params: { select: [ 'ID', 'NAME', 'MANIFEST' ], filter: { '>ID': '1' } } }, function(result) { if(result.error()) console.error(result.error()); else console.info(result.data()); } );
© «Bitrix24», 2001-2025