landing.site.getPreview
landing.site.getPreview( id )
Method returns site preview image URL (index page preview). Site must be available for reading.
Parameters
Parameter | Description | Version |
---|---|---|
id | Site ID |
Example
BX24.callMethod( 'landing.landing.getPreview', { id: 1817 }, function(result) { if(result.error()) { console.error(result.error()); } else { console.info(result.data()); } } );
© «Bitrix24», 2001-2024