Overview of Methods

We are still updating this page

Some data may be missing here — we will complete it soon.

Methods for working with Blocks.

Scope: landing

Who can execute the method: any user

Method

Description

Version

landing.block.clonecard

Method for cloning a block card.

landing.block.removecard

Method for removing a block.

landing.block.updatenodes

Method for changing the content of a block.

landing.block.changeNodeName

Method for changing the tag name.

landing.block.updateattrs

Method for changing the attributes of a block node.

landing.block.updateStyles

Method for changing the styles of a block.

landing.block.getcontent

Method for retrieving the content of a block.

landing.block.getlist

Method for obtaining a list of blocks on the page.

landing.block.getbyid

Method for retrieving a block by its identifier.

landing.block.getmanifest

Method for obtaining the manifest of a specific block already placed on the page.

landing.block.getmanifestfile

Method for retrieving the manifest of a block from the repository.

landing.block.getrepository

Method returns a list of blocks from the repository.

landing.block.uploadfile

Method uploads an image and associates it with the specified block.

landing.block.updatecontent

Method updates the content of a block already placed on the page to any arbitrary content.

landing.block.addcard

Method fully replicates the work of landing.block.clonecard but allows inserting a card with modified content right away.

landing.block.updateCards

Method for bulk updating block cards.

landing.block.changeAnchor

Method changes the symbolic code of the anchor.

landing.block.getContentFromRepository

Method retrieves the content of a block from the repository "as is" before adding the block to any page.

18.7.500