Documentation

landing.landing.publication

Scope: landing Permissions to execute: for all

landing.landing.publication(lid)

The method publishes landing page. Returns true on success or an error.

Parameters

Method Description Available from version
lid Landing page ID

Example

BX24.callMethod(
	'landing.landing.publication',
	{
		lid: 351
	},
	function(result)
	{
		if(result.error())
		{
			console.error(result.error());
		}
		else
		{
			console.info(result.data());
		}
	}
);


© «Bitrix24», 2001-2024