Documentation

Deleting embedding locations

Deleting is done via the method landing.repo.unbind with passed location embedding code. Deletes all embedding locations by this code. When application registers several locations with various paths, specific location can be deleted by passing an embedding location.

Example

BX24.callMethod(
   'landing.repo.unbind',
   {
      code: 'LANDING_SETTINGS',
   },
   function(result)
   {
      if(result.error())
         console.error(result.error());
      else
         console.info(result.data());
   }
);


© «Bitrix24», 2001-2022
Up