Skip to main content

Create Models in Interface

Create two models namely 'LeaveRequests' and 'VisibleLeaveDetails'.

To do so, right-click on the Model folder within the created interface and select Add.

Create LeaveRequests Model​

  1. In the property pane that appears, provide values the following:
    • Name: LeaveRequests
    • Is Array: Yes
    • Type: LeaveApplicationVM
    • Initialize as New Object: Yes
  2. Click Save to finish.

Create VisibleLeaveDetails Model​

  1. In the property pane that appears, provide values the following:
    • Name: VisibleLeaveDetails
    • Is Array: No
    • Type: Boolean
    • Default Value: None
  2. Click Save to finish.

LeaveRequests model configuration

VisibleLeaveDetails model configuration