User Define Control (UDC)

You can create a user control by placing the developed app in the UDC folder. A UDC can define properties to be externally bindable or publish events and APIs.


Create User Define Control


Export property

When using UDC, you can publish externally accessible properties.


Export event

You can publish events that are available externally to your user controls.


How to use user-defined controls (UDC)

UDC created as above can be used within the same project.


How to use User Controls (UDC) within Grid

Text displayed in grid's view mode

General controls User Define Control(UDC)
Priority

1. Control.text

2. Control.value

1. UDC.getText() - Automatic creation when UDC is created

2. UDC.value - A value that is invisible to the UDC, but is bound to UDC.value by the grid cell's columnName, mergedColumnName properties.


Difference between UDC and embedded apps

User Define Control(UDC) Embedde App
loading time Use canned apps as a single control Like an iframe, the app is fetched and loaded at the time the screen loads.
Property & Event Since it is a pre-prepared app, you can set properties and events right away. Because it is loaded dynamically, it is not possible to access and set properties or events at design time, but can be set after the app is fully loaded through events.
Usage example Control rules that are widely used globally within a project can be created and reused as UDC, enabling more convenient and faster development. You can use embedded apps when configuring pages, such as dynamically replacing apps shown on the screen.