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