Documentation

landing.landing.markdeletedblock

Scope: landing Permissions to execute: for all

landing.landing.markdeletedblock(lid, block)

The method marks block as deleted, but does not delete it physically.

Parameters

Method Description Available from version
lid Landing page ID
block Block ID

Example

BX24.callMethod(
   'landing.landing.markdeletedblock',
   {
      lid: 627,
      block: 11923
   },
   function(result)
   {
      if(result.error())
      {
         console.error(result.error());
      }
      else
      {
         console.info(result.data());
      }
   }
);


© «Bitrix24», 2001-2024