5 Modification of Base Web Component

This topic provides the systematic instructions to perform the basic operations on the selected records.

This feature of OBX enables users to create extensions which helps to modify the behavior of existing component. Modification of Base Web Component serves the one of the most common use cases from extensibility perspective. There are few important points which should be remembered before modifying the behavior of existing components.

Important Points:
  • Addition of fields can be done on various locations of base screen, but this make break the CSS if not handled properly (Responsive Behavior). In such cases it is always recommended to put additional fields at the bottom of other fields.
  • Wherever possible, use Data-segments to add additional field.
  • In use case where you want to hide the fields from existing screen, always check whether the field is mandatory or not. If it is mandatory then it should set before making it hidden on the screen. If not done so service calls make break.
  • Above point is also valid in case where you want to disable a field on the screen.
Following are the uses cases which can be achieved using modification of existing component:
  • Addition of Fields
  • Hiding fields from screen
  • Defaulting values on screen
  • Disable field
  • Making Non-mandatory field Mandatory