landing.template.getSiteRef
landing.template.getSiteRef(id)
The method receives list of included sections for site. Keys of returned array are the included section IDs and values - page IDs.
Parameters
Parameter | Description |
---|---|
id | Site ID. |
Example
BX24.callMethod( 'landing.template.getSiteRef', { id: 1 }, function(result) { if(result.error()) { console.error(result.error()); } else { console.info(result.data()); } } );
© «Bitrix24», 2001-2025