Documentation

crm.contact.details.configuration.get

The method gets configuration for contact details. Reads personal configuration for specified user or general configuration, specified for all users.

Parameters

Parameter Description Available from version
scope Configuration scope of application. Available values:
  • P - personal configuration,
  • C - general configuration
userId User ID. Indicates current ID if not set. Only required when getting personal configuration.

Example

//--
//Get personal configuration for contact details for user with identifier 1.
BX24.callMethod(
    "crm.contact.details.configuration.get",
    {
        scope: "P",
        userId: 1
    },
    function(result)
    {
        if(result.error())
            console.error(result.error());
        else
            console.dir(result.data());
    }
);
//Get general configuration for contact details.
BX24.callMethod(
    "crm.contact.details.configuration.get",
    {
        scope: "C"
    },
    function(result)
    {
        if(result.error())
            console.error(result.error());
        else
            console.dir(result.data());
    }
);
//---


User Comments

User comments are not part of official documentation. Use information provided by other users in the comments at your own risk.

The User Comments section is not to be used as a feature discussion board. Only registered users can post comments. Your comment will be visible once it has been approved by the moderator.
© «Bitrix Inc.», 2001-2019, «Bitrix Inc.», 2019