Documentation

landing.site.getPreview

landing.site.getPreview(
    id
)

Method returns site preview image URL (index page preview). Site must be available for reading.

Parameters

ParameterDescriptionVersion
idSite 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-2022
Up