Documentation

landing.landing.update

Scope: landing Permissions to execute: for all

landing.landing.update(lid, fields)

This method updates landing page. If successful, returns True, or an error.

Parameters

Method Description Available from version
lid Entity ID
fields Modified entity fields

Example

BX24.callMethod(
	'landing.landing.update',
	{
		lid: 349,
		fields: {
			TITLE: 'My second page!'
		}
	},
	function(result)
	{
		if(result.error())
		{
			console.error(result.error());
		}
		else
		{
			console.info(result.data());
		}
	}
);


© «Bitrix24», 2001-2024