Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Table of Contents

Introduction

With CRUD, one will not need to do all the manual wiring in constructing a CRUD entity.

This element provides a userview menu to show the datalist of your choice and selectable forms to associate with the datalist to perform CRUD operations.

CRUD Properties

Edit CRUD

Image Removed

Figure 1: Screenshot showing CRUD taken from the sample HR Expenses Claim app

Image Removed

Figure 2: CRUD Properties

NameDescriptionScreens (Click to view)
Custom ID

Item link slug. Optional field.

Info
titleUnique field

Value defined here must be unique to the rest of the Userview Menus as the first matching name will be called upon.

Ensure that value defined here is unique to other userview menus in the app, since the first matching/conflicting ID will take precedence in page loading.

Image Added

Figure 1: CRUD Properties


Image Added

Figure 2: Sample CRUD in runtime

LabelThe userview menu labelLabelMenu label. Mandatory field.
ListDatalist to load. Mandatory field.
Form (Add)

Target form to open when adding new record.

Optional field.

If this attribute is not mapped, then ability to Add is disabled.

Form (Edit)

Target form to open when editing existing record.

Optional field.

If this attribute is not mapped, then ability to Edit is disabled.

Image Removed

...

UI

List

NameDescriptionScreens (Click to view)
Show Number of Rows In Menu
Show Number of Rows In Menu.


Infonote
titlePerformance Warning

Additional query will be performed to return record count every time the Userview userview loads.

Image Added

Figure 3: UI - List Properties

Button Position

Available options:

  • Top Left
  • Top Right
  • Bottom Left
  • Bottom Right
  • Top Left & Bottom Left
  • Top Right & Bottom Right
Selection Type

Available options:

  • Multiple
  • Single
Selector Position

Available options:

  • Left
  • Right
  • Both let & right
  • No
Edit Link Label
Edit Link Button Label to show in listing.
New Record Button Label
New Record Button Label to show in listing.
Delete Button Label
Delete Button Label to show in listing.
Show Delete Button?
When checked, the delete button will be shown, effectively enabling the deletion capability.
If "Show Delete Button" is enabled, the following options will be shown:
  • Delete Associated Grid Data?
  • Delete Associated Child Form Data?
  • Delete Files?
  • Abort Related Running Processes?

Read more in Delete Action.

Custom Header
Custom Header in HTML to show above the listing.
Custom FooterCustom Footer in HTML to show below the listing.

...