Documentation

landing.template.getlist

landing.template.getlist(params)

This method is used to retrieve list of templates

Parameters

Parameter Description Available from version
params Optional array, with optional keys: select, filter, order, group, which contain the values of the entity main fields table.

Example

BX24.callMethod(
   'landing.template.getlist',
   {
      params: {
         select: [
            'ID', 'TITLE'
         ],
         filter: {
            '>ID': 0
         },
         order: {
            ID: 'DESC'
         }
      }
   },
   function(result)
   {
      if(result.error())
      {
         console.error(result.error());
      }
      else
      {
         console.info(result.data());
      }
   }
);


© «Bitrix24», 2001-2025