Documentation

landing.demos.getSiteList

The method is used to get list of available templates for creating both system and partner sites.

Parameters

Parameter Description Available from version
type Type of template (page: standard sites, store: online stores)

Example

BX24.callMethod(
   'landing.demos.getSiteList',
   {
      type: 'page'
   },
   function(result)
   {
      if(result.error())
         console.error(result.error());
      else
         console.info(result.data());
   }
);


© «Bitrix24», 2001-2024