Documentation

Methods to work with Block Entity

Methods that are used to work with Blocks.

Method Description Available from version
landing.block.clonecard Clones block element.
landing.block.removecard Deletes block.
landing.block.updatenodes Updates block content.
landing.block.changeNodeName Changes a tag name.
landing.block.updateattrs Updates block node attributes.
landing.block.updateStyles Updates block styles.
landing.block.getcontent Gets block content.
landing.block.getlist Gets list of landing page blocks.
landing.block.getbyid Gets block by the ID.
landing.block.getmanifest Gets manifest of specific block, already located on a landing page.
landing.block.getmanifestfile Gets block manifest from repository.
landing.block.getrepository Returns block list from repository.
landing.block.uploadfile Uploads image and binds it to the specified block.
landing.block.updatecontent Updates content of the already published landing page block.
landing.block.addcard Fully duplicates the work of landing.block.clonecard but provides an option to insert a card with content that was already modified.
landing.block.updateCards Updates block cards in bulk.
landing.block.changeAnchor Changes symbol code of anchor.


© «Bitrix24», 2001-2024
Up