Documentation

landing.block.getmanifest

landing.block.getmanifest(lid, block,params)

This method gets manifest for a specific block, already located on a landing page. Returns block manifest or an error.

Parameters

Method Description Available from version
lid Landing page ID
block Block ID
params Parameters: edit_mode - Edit mode enabled (1) or disabled (0 - by default)

Example

BX24.callMethod(
	'landing.block.getmanifest',
	{
		lid: 313,
		block: 6102,
		params: {
			edit_mode: 0
		}
	},
	function(result)
	{
		if(result.error())
		{
			console.error(result.error());
		}
		else
		{
			console.info(result.data());
		}
	}
);


© «Bitrix24», 2001-2024