Skip to content

Format number in VBCS page using functions

You can use oj-input-number tag for showing formatted number and use convertor options But when using above component only for read-only purpose to show some values in grid or table, it doesn’t make sense to use input fields. Instead we can use oj-bind-text field and pass data using following javascript function. The JavaScript function will… Format number in VBCS page using functions

Validations in groovy for business object

We can write simple or complex validations at business objects level in groovy For all these we can use validations using groovy. General idea is to create a object function using groovy to validate and use this object function in before insert trigger or before update trigger. Let us say we have a Business Object… Validations in groovy for business object

How to rename file in MFT

In MFT, when file is moved from source to transfer, we can rename the file. This will be useful in scenarios when the file name is different than what is expected Sometime during decryption the extension is lost, we can add a different extension Sometimes we have to append a source to handle files from… How to rename file in MFT

To show loading spinner in VBCS

Users can add the following html code in designer to add a loading spinner in vbcs. On button click they can call component ( #loading-dialog ) and select open method. Now loading dialog is shown, they do some action and after action is completed, they can call component ( #loading-dialog ) and select close method.… To show loading spinner in VBCS

Commonly used Buttons in VBCS

Button is element for user to interact. On button click we can call some rest API or show some message. Link for viewing the buttons code with styles – https://khalil232.com/apps/ojet-apps/?ojr=button Here are few buttons which I regularly use Code for button with icon Toolbar buttons Add row, Edit Row, Delete Row buttons ( generally used… Commonly used Buttons in VBCS