Custom Components
CMDBuild allows administrators to create custom UI components, import them through the Administration Module, and use them in contextual menus and form widgets within the Management Module.
Contextual Menus
This function allows defining custom components used in contextual menus for both desktop and mobile interfaces.
The associated JavaScript implementation can be uploaded directly from this section.
Available operations:
- create a new custom component
- search existing custom components
- edit a custom component
- delete a custom component
- disable a custom component by marking it as inactive
Each custom component requires the configuration of the following metadata.

General Properties
The following information is required:
- ID component: identifier automatically assigned by the system when the component is created. This field is read-only
- Description: description of the custom component
- Active: enables or disables the custom component

File
The following files can be uploaded:
- Desktop ZIP file: contains all implementation files for the desktop interface
- Mobile ZIP file: contains all implementation files for the mobile interface. This option is available only when mobile support is enabled
Form Widgets
This function allows defining custom form widgets for data cards in both desktop and mobile interfaces.
The associated JavaScript implementation can be uploaded directly from this section.
Available operations:
- create a new form widget
- search existing form widgets
- edit a form widget
- delete a form widget
- disable a form widget by marking it as inactive
Each form widget requires the configuration of the following metadata.

General Properties
The following information is required:
- ID component: identifier automatically assigned by the system when the widget is created. This field is read-only
- Description: description of the form widget
- Active: enables or disables the form widget

File
The following files can be uploaded:
- Desktop ZIP file: contains all implementation files for the desktop interface
- Mobile ZIP file: contains all implementation files for the mobile interface. This option is available only when mobile support is enabled
Script
This function allows defining custom scripts used by Formula attributes.
See Formula attribute.

General Properties
The following information is required:
- Name: script name
- Description: script description
- Active: enables or disables the script
Script
This section allows the administrator to write the Groovy script that implements the desired logic.
