Overview of Methods
Scope:
depending on the placementWho can execute the method: any user
Applications that have access to the placement scope can register their own types of custom fields.
Currently, cloud accounts support the use of such fields in both the new and old detail forms of CRM entities. Applications can create custom fields of standard types as well as those registered by the application itself. Account administrators can create fields of any registered types, including field types registered by applications. When registering a type, the application specifies the handler address that will open in a frame at the location of the field output, and further operations are virtually indistinguishable from those of a standard widget.
|
Method |
Description |
|
Register a new type of custom fields |
|
|
Retrieve a list of types of custom fields registered by the application |
|
|
Modify the settings of a type of custom fields registered by the application |
|
|
Remove a type of custom fields registered by the application |
Additional Information
-
Example of embedding in the tutorial Embed a widget in a lead as a custom property
-
You have registered a new type of custom fields. If, when trying to create a field with the new type, userfieldtype.list returns your new custom field type and you still encounter an error:
Error! 400: ERROR_CORE: Invalid custom type specified. (400), it means that the application is not fully installed. Call the method app.info and ensure that the result returnsINSTALLED = true. If the application has an interface, to complete the installation, you need to execute the following js code on the application page:
BX24.init(function(){
BX24.installFinish();
});
Local applications refer to applications that are described and added directly to a specific Bitrix24.