Skip to content

The Customizations.js File

As the business grows, its requirements evolve, differing across various enterprises. To ensure the application aligns seamlessly with these evolving needs, the CoB Platform provides a mechanism that empowers developers possessing basic programming skills to write code capable of supporting these requirements.

TIP

This tutorial assumes that you have set up the cob-cli. If you haven't plase refer to Interacting with a CoB Server for guidance.

To initiate the registration of a business customization, you need to:

  1. Create a new file in /recordm/custumUI/js/customizations

  2. Initiate your code Javascript file with:

javascript
cob.custom.customize.push(function (core, utils, ui) {

... multiple customization functions

})
  1. Register your custom javascript file at /recordm/custumUI/js/customizations2.js

TIP

As additional customizations are introduced, managing them becomes more challenging. A beneficial approach that has facilitated our progress is to create a javascript customization file per definition.

Following is a list of JavaScript functions that will enable you to achieve custom modifications in the CoB Platform: