Documentation

crm.lead.details.configuration.forceCommonScopeForAll

The method forces general lead details for all users

Note that configuration for repeat lead details can differ from configuration for common lead details. Use the parameter leadCustomerType to switch between configurations for lead details.

Parameters

Parameter Description Available from version
extras Extra parameters. leadCustomerType parameter for deals can be specified here with values as follows:
  • 1 - common leads,
  • 2 - repeat leads

Example

//---
//Set general lead details for all users.
BX24.callMethod(
    "crm.lead.details.configuration.forceCommonScopeForAll",
    {},
    function(result)
    {
        if(result.error())
            console.error(result.error());
        else
            console.dir(result.data());
    }
);
//---


© «Bitrix24», 2001-2024