In Creatio, you can expand the out-of-the-box set of Freedom UI page components with custom components.
Creatio lets you implement the following custom component types:
- Custom component based on a classic Creatio page element. Supported in Creatio 8.0.2 Atlas and later.
- Remote module. Supported in Creatio 8.0.3 Atlas and later.
To implement a custom component based on a classic Creatio page element:
- Create a custom component.
- Add the custom component to the Freedom UI page.
1. Create a custom component
- Create a module schema. To do this, follow the instruction in a separate article: Client module.
-
Implement a custom component.
-
Add a dependency on the @creatio-devkit/common library to the AMD module.
-
Declare the component class.
-
Register the component.
-
Register the web component as a view element.
-
2. Add the custom component to the Freedom UI page
-
Add the custom component module to the AMD module declaration as a dependency.
-
Add the configuration object of the module that contains the custom component to the viewConfigDiff schema section.
View the configuration object of the module that contains the UsrCustomViewElement custom component below.
View a detailed example that implements the custom component in a separate article: Implement a custom component based on a classic Creatio page.
1. Create an app
- Create a custom Requests app based on the Records & business processes template. To do this, follow the procedure in the user documentation: Create a custom app.
-
Open the Requests form page page in the workspace of the Requests app page.
The Requests form page page includes the Name field by default.
-
Add an account field:
- Add a new field of the Dropdown type to the Freedom UI Designer’s workspace.
-
Click the
button on the Freedom UI Designer’s action panel and fill out the field properties in the setup area:
- Set Title to "Account."
- Set Code to "UsrAccount."
- Select "Account" in the Lookup property.
- Clear the Enable adding new values checkbox.
-
Add a tab that contains the history of the selected account.
- Add a new Tabs layout element to the Freedom UI Designer’s workspace.
- Delete the Tab 2 tab the Requests form page page includes by default.
-
Click the
button on the Freedom UI Designer’s action panel and specify "Account timeline" in the Title tab property in the setup area.
- Click Save on the Freedom UI Designer’s action panel.
2. Create a custom web component
- Go to the Configuration section and select a custom package to add the schema.
-
Click Add → Module on the section list toolbar.
-
Fill out the schema properties in the Module Designer.
- Set Code to "UsrTimelineModule."
- Set Title to "Timeline module."
-
Implement a custom web component.
-
Add the @creatio-devkit/common, Base7xViewElement, and ckeditor-base modules as dependencies to the AMD module declaration.
-
Declare a custom UsrTimelineModule web component class.
-
Register the UsrTimelineModule web component on the page.
-
Register the usr-timeline web component as a visual element.
Complete source code of the page schema -
- Click Save on the Module Designer’s toolbar.
3. Add the custom web component to the Freedom UI page
- Open the UsrRequests_FormPage schema of the Freedom UI Requests form page page in the Configuration section.
- Click the
button on the Freedom UI Designer’s action panel. This opens the source code of the Freedom UI page.
-
Add the custom web component.
-
Add the UsrTimelineModule module of the custom web component as a dependency to the AMD module declaration.
-
Add the configuration object of the UsrTimelineModule module with the custom web component to the viewConfigDiff schema section.
Complete source code of the page schema
-
- Click Save on the Client Module Designer’s toolbar.
Outcome of the example
To view the outcome of the example:
- Open the Requests app page and click Run app
- Click New on the Requests app toolbar.
- Enter "Request’s name" in the Name field.
- Select an account in the Account field, for example, "Accom."
As a result, Creatio will display the Account timeline tab of the selected "Accom" account on the request page.

Freedom UI Designer will display a stub in place of the custom web component.
