General principles of working with the user fields
There are several rules on how to work with user fields for all CRM entities:
- To execute correctly the methods that work with user fields and which have userfield in their titles, "User can edit Settings" access permission shall be granted for corresponding CRM role.
- To get field names in the current account language for the methods that work with user fields, the following must be added in the filter:
'LANG' => 'en'
- To correctly update multiple fields, such as telephone number or e-mail, the current value ID must be passed to CRM, for example:
"PHONE": [ { "ID":245570, "VALUE": "555100501888", "VALUE_TYPE": "WORK" } ],
© «Bitrix24», 2001-2024