LogoLogo
EN
EN
  • Release Summary
  • What's new in 5.0.23.04
  • Deprecated and Removed features in 5.0.23.01
  • Get started with Avalant ONEWEB
    • Get started with Avalant ONEWEB
    • Traditional Development vs Low Code
    • ONEWEB Concepts
      • ONEWEB Apps
      • ONEWEB AppSpace
      • ONEWEB Runtimes
      • ONEWEB Designer Studios
  • Install & Configure ONEWEB Platform
    • Install & Configure ONEWEB Platform
    • Plan your ONEWEB Installation
      • Design ONEWEB Architecture
        • Standalone Architecture
        • High Availability Architecture
        • Cloud Architecture
          • Container structure
        • Production vs. Disaster Recovery vs. Testing Environment
        • ONEWEB Server Configuration
        • Monitoring in ONEWEB
      • Sizing Consideration
        • CPU Sizing
        • Memory Sizing
        • Storage Sizing
        • Network Sizing
      • Check Prerequisite for ONEWEB Installation
        • Hardware Requirements
        • Software Requirements
        • Database Requirements
        • Security Requirements
        • Network Requirements
        • Client Requirements
        • Third-party Tools
    • Install and Manage ONEWEB Components
      • User Privileges
      • Prepare Prerequisite Software
        • Prepare Database Server
          • PostgreSQL
        • Prepare Web Server
          • Apache Web Server
        • Prepare Application Server
          • Configuration ONEWEB on Wildfly
            • Step1: Prepare database user permission
            • Step2: Configure access to Wildfly Management Console
            • Step3: Create database driver
            • Step 4: Create datasource
            • Step 5: Deploy the application archives
            • Step 6: Single Sign-On
            • Step 7: Wildfly Encoding and Undertow
            • Step 8: Authentication with Wildfly
            • Step 9: Authentication with LDAP
          • Configure tuning threads
      • Install ONEWEB Application Components
        • Install ONEWEB Application Designer
        • Install ONEWEB Application Server
        • Install ONEWEB Page Designer
        • Install ONEWEB Page Server
      • Install ONEWEB Process Components
        • Install ONEWEB Process Designer
        • Install ONEWEB Process Server
      • Install ONEWEB Integration Components
        • Install ONEWEB Microflow Designer
        • Install ONEWEB Microflow Server
        • Install ONEWEB IAM
      • Verify ONEWEB Installation
        • Application Verification
        • Process Verification
        • Integration Verification
  • Design and Develop ONEWEB Apps
    • Design ONEWEB Apps
      • Choose Between a Web App and a Mobile App
      • Choose your ONEWEB Design Patterns
        • UI Apps: UX/UI only
        • Process Apps Business Process only
        • Interface Apps: Integration with other system only
        • Complex Apps: Combine UX/UI, Business Process and Interfaces
    • Design and Develop UX/UI
      • What is UX/UI?
      • Best Practice for UX/UI
        • Do
        • Don’t
        • How to choose between Smart Form and Page
      • UX/UI Components
        • Smart Forms
          • What is Entity?
          • Modules within an entity
          • Buttons & Actions
          • Entity Modes
          • Smart Form Patterns
            • Single Tab Forms
            • Multiple Tab Forms (General Tab)
            • Parent – Child Forms
          • Create your first Smart Form
            • Step by Step to create your first smart form
            • Deploy your smart form
          • Smart Form Features
            • Universal Search
        • Pages
          • What is page?
          • Page Navigation
          • Page Features
            • Header Footer
            • Dynamic Image
            • Switch Language
            • Custom Font
            • Custom Icon
            • Pass Parameter
            • Signature Pad
            • Theme Designer
            • Local Storage in Page
            • Sync Service in Page
            • Local Notification in Page
            • Push Notification in Page
            • Multi-language
            • Splash Screen
            • Plugin
            • App Icon
            • PGD Directives
            • Charts
            • UI Kits
            • Component Extension
            • Share Pages as Template
            • Page Expression Editor
            • Page Structure window
            • Popup Properties Editor
            • Box Model Editor
            • Environment Variables
            • Improved Drag & Drop
            • Microflow Version settings
            • Custom Dependencies
            • Navbar
            • Display Flex
            • Builder setting
            • Add New Screen
          • Create your first Web Page
            • Step by Step to create your first page
            • Preview Web Page
          • Create your first Mobile App
            • Step by step to create your first mobile page
            • Preview Mobile App
            • Mobile App CI/CD
            • Customizing mobile apps
            • Mobile Application Security
        • Dashboard
          • Widget Dashboard
            • Step to create widget dashboard
              • Create dashboard page
              • Create dashboard menu
              • Create chart widget
              • Add widget on Page
              • Configure chart widget
              • Configure chart series
              • Edit chart series
              • Change the chart to pie chart
              • Change pie color
              • Add another series to chart
              • Change the chart to column stacked chart
              • Change series color
            • Deploy your dashboard
          • Dashboard using Page Extension
            • Add chart to page
            • Create Microflow
            • Integrate chart with data
        • Report
          • Integration with reporting tool
        • Menu & Navigation
          • Menu & Navigation in ONEWEB
          • Link menu to a smart form
          • Link menu to a page
          • Link menu to external URL
      • Mobile UX/UI
        • Web Responsive
          • Smart Form Responsive
          • Web Page Responsive
        • Mobile hybrid
        • Build Mobile App
          • Add CI Server
          • AppStore & Playstore Details
      • UX/UI Customization
        • Smart Form Customization
          • Customize Look & Feel
          • Add Validation Logic
          • Add Calculation Logic
          • Add Custom SQL
          • Add external Java class
        • Page Customization
          • Custom CSS
          • Custom JS action
          • Third party resources
          • Custom extensions
        • Mobile App
      • UX/UI Integration with Process, Micro flow, External UI
        • Smart Form Integration with Process
        • Page Integration with Microflow
        • Page Integration with Process
        • Smart Form Integration with Microflow
      • Import/Export/Clone UX/UI
        • Export Import Clone Smart Forms
          • Export Entity
          • Import Entity
          • Clone Entity
        • Export Import Clone in Pages
          • Export Import App
          • Clone Pages
          • Import page from another App
      • UX/UI Test & Debug guideline
    • Design and Develop Process
      • What is Process?
      • Best practice for Process Design
      • Process Components
        • What is Business Process?
        • Process Template Diagram
        • Process Activity
          • Human Task
            • Task Allocation & Queuing for Human Task
          • Gateway Decision
          • Web Service Task
          • Sub Process
          • Java Task
          • Database Task
          • File Read Task
          • File Input Task
          • Timer
          • Error Handling
          • Event Trigger
          • Push Notification
        • Business Object & Data Mapping
        • Formula Editor
          • Formula Editor for Data Mapping
          • Formula Editor for Gateway Condition
        • Work Party
        • Upload File
        • Environment Configuration
        • Process Instance
      • Start with Business Process in ONEWEB
        • Create a Process in ONEWEB
        • Create your process diagram
        • Simulate your process
        • Deploy your process
      • Integration
        • Integrate Process with UX/UI
        • Integrate Process with Microflow
      • Monitoring
        • Process Monitor
        • Task Monitoring
        • SLA & OLA
        • Monitoring Dashboard
      • Process Validation
      • Import/Export Process
      • Process Deployment from development environment to other environment
      • To Do List
      • Process Test & Debug Guideline
      • Language Switch
      • Process Instance Migration
      • Sync User
      • Custom Extensions
        • Create workspace for Extension
        • Build extension in workspace
        • Install Extension in application
        • Manage the extension
        • Use Extension in workflow
    • Integration with other systems
      • What is ONEWEB Integration?
        • Integrate with other system from/to Microflow
        • Integrate with other system from to Process Flow
        • Integrate with App Runtime
      • Best practice for ONEWEB Integration
      • Microflow vs. Process Flow
      • Develop Integration with ONEWEB Microflow
        • Embedded Microflow vs. Runtime Microflow Server
        • Integration Node
        • Synchronous vs. Asynchronouse
        • Data Mapping
        • Custom Logic/Coding
        • Data Transformation
        • Activity Nodes
          • Exclusive Gateway Node
          • Web Service Task
          • Sub Flow
          • Java Task
          • Database Task
          • Timer
          • Error Handling
          • Push Notification
        • Start with Microflow in ONEWEB
          • Create a Microflow
          • Configure the Flow
          • Simulate your flow
          • Export your Microflow.
            • Embedded Microflow
            • Microflow Server
        • Integrate Microflow with UX/UI
          • Integrate Smart Form with other systems using Microflow
          • Integrate Page with other systems using Microflow
        • Import/Export Microflow
        • Upload File
        • Environment Configuration
        • Language Switch
        • Push Notification
        • Custom Extensions
        • JSON Path Mapping
        • Excel Reader
        • Excel Writer
        • Validation Node
        • JavaScript Node
      • App Runtime REST API
        • Sample use cases for APP Runtime API
        • Create a custom app to call APP Runtime REST API
      • Process Runtime REST API
        • Sample use cases for Process API
    • Design Data & Content Access Management
      • What is Data Access Management?
      • Best practice for Data Access Management
      • Database Access
        • Database Structure
        • Data Access from UX/UI
          • Access Database from Smart Forms
          • Access Database from Page
        • Data Access from Process
          • Database Activity
        • Database Access from Microflow
          • Database Node
      • Images, Files & Documents Access
        • Access from UX/UI
        • Access from Process/ Microflow
    • Design and Implement Security & Compliance
      • What is Security & Compliance?
      • Best practice for Security & Compliance
      • Authentication
        • LDAP Integration
        • Open ID protocol
      • Authorization and Access control
        • Roles, Permissions and Objects
        • Managing Access Control with IAM
          • Create User
          • Manage User Roles & Permissions
          • Manage Permission and Object
          • Manage Role
      • Token in ONEWEB
      • Logging and Audit logging
      • SSL support
    • Design & Develop Low code Apps using AppSpace
      • Create Application in AppSpace
      • Database Tools
        • Data Designer
          • How to create Data Designer app
          • Data Designer tools
          • Entity Properties
          • Compare schemas
        • SQL Builder
          • How to create SQL Builder app
          • SQL Builder tools
          • Connection
        • Data Viewer
          • How to use Data Viewer
          • Data Viewer Tools
      • Manage versions of App
      • Pipeline
        • Deploy Application in ONEWEB
        • Deploy Middleware
        • User Management
        • Distribute Application
      • Manage user access
        • Development Team Management
        • End User Access Management
      • Switch language in AppSpace
      • Link Application
      • Link Component
      • App Details
        • Fix applications with broken link
        • Rename Application
        • Export Application
      • Import Application
      • Cloud Native
  • Sample Apps
    • Sample Apps
    • Workforce App. (Mobile)
      • Database Preparation
      • Create and Test Microflow Service
      • Integrate Microflow with UI to produce dynamic App.
      • Create Mobile UI
    • Order Management App (Web)
      • Database Preparation
      • App Designer
        • Create Order Request Entity
        • Create Order Request Item Entity for Admin
        • Clone Order Request Entity for Admin
        • Link Parent Child Entity for Admin
        • Clone Order Request Entity for Back Office
        • Clone Order Request Item Entity for Back Office
        • Link Parent Child Entity for Back Office
        • Clone Order Request Entity for Authorize
        • Clone Order Request Item Entity for Authorize
        • Link Parent Child Entity for Authorize
        • Clone Order Request Entity for Admin PO
        • Link process button to Process Designer
        • Create menu for requester
      • App Designer Customize
        • Filter Requester search screen by login user
        • Default Requester with login user
        • Validate at least one Order Item when submit
        • Calculate remain order unit
        • Summary Price per order item
        • Summary Price per request
        • Validate order details when back office submits
        • Validate supplier details when admin submit
        • Validate Order Unit and calculate Total Price
      • Process Designer
        • Create Order Request Project
    • Leave Control App
      • Database preparation
      • App Designer
        • Create Leave Request Entity
        • Clone Leave Request Requester Entity
        • Clone Leave Request Supervisor PM Entity
        • Clone Leave Request One Down Head Entity
        • Clone Leave Request HR Entity
        • Clone Leave Request Authorize Entity
        • Link process button to Process Designer
      • Process Designer
        • Create Process Leave Request
  • Reference
    • Reference
    • Page Designer Reference
      • Create a New Application
        • New Mobile Page
        • New Web Page
      • Menu Controls on Pages
        • Web Pages
        • Mobile Pages
      • Page Designer Tools
        • Generic Tools
          • Page Designer Parameter
          • Add element
          • Placing of element
          • Removing element
          • Editing Text
          • Formatting Text
          • Creating Links
          • Uploading Images
          • Add an Image to page
          • Additional Settings
        • Tab
          • Adding Tab on Web
          • Adding Tab on Mobile
        • Menu
          • Adding Menu on Mobile
    • Process Designer Reference
      • Create New Proces
        • Create an Application in AppSpace
        • Create an Application in PD
        • Create Blank Project
        • Create Project Wizard
        • Process template Diagram and Guidelines
      • Process Designer Component
        • Activity Nodes
          • Human
          • Sub Process
          • File Read
          • Web Service
          • Java
          • Database
          • File Write
          • Push Notification
        • Event
          • Start
          • End
          • File Input
        • Gateway
          • Exclusive
          • Parallel
          • Inclusive
        • Boundary Events
          • Timer
          • Error
        • Pool/Lane
        • Work Party
        • Upload File
        • Environment Configuration
        • Custom Extensions
          • Create workspace for Extension
          • Build extension in workspace
          • Install Extension in application
          • Manage the extension
          • Use Extension in workflow
    • App Designer Reference
      • Entity
        • Create New Entity
          • Module
            • One to Many
            • One to Many
            • Reusing Module
          • Fields
            • Label
            • Hidden
            • Radio
            • Checkbox
            • Text area
            • Dynamic
            • List Box
            • Suggestion
            • Popup
            • Calendar
            • No Object
            • MultiSelect
            • Upload
            • Text Box
          • Buttons
          • Actions
          • Tabs
            • Normal Tab
            • 2 Layer Tab
        • Export Entity
        • Import Entity
        • Clone Entity
      • Search
      • Utilities
        • Menu Configuration
        • Parent Child Utility
        • Master data Import Export
        • Datasource Configuration
  • API Guide
    • API Guide
    • App Runtime API
      • List all methods of REST API and explain the API functionality
    • Process Runtime API
      • List all methods of REST API and explain the API functionality
    • Session Manipulation API
      • List all methods of Java API and explain the API functionality
    • Microflow Runtime API
      • List all methods of REST API and explain the API functionality
    • IAM2 API
      • List all methods of REST API and explain the API functionality
Powered by GitBook
On this page
Export as PDF
  1. Design and Develop ONEWEB Apps
  2. Design and Develop UX/UI
  3. UX/UI Components
  4. Smart Forms
  5. Create your first Smart Form

Step by Step to create your first smart form

Last updated 3 years ago

This section explains the step-by-step process to create your first smart form on ONEWEB. As mentioned before, it is imperative to define the scope and objective of your business entity before starting your smart form configurations. So let's say, here we have an objective and requirement to create a Smart Form for Loan Application with below data and is required to store Customer details such as: First name, Last name, Personal Type, Gender, Date of birth and Identification.

This sample smart form is named as "Application" and it consists of the following business data:

Application Date is required to know the submission date of the smart form.

Product has 3 types to choose from: Home Loan, Personal Loan and Credit Card.

Channel has 2 types: Walk in and Sale.

Customer Type could be either Corporate or Individual.

Office Code could be either Head Office or Branch.

Finance Amount and Term Loan are required to be entered by an application user.

Status can be Approved, Reject or Draft and is selected by an application user.

Email: Yes / No, Yes in case it is required to send an email to the customer.

Based on the above business data and sample requirements, let's follow steps to create a sample smart form similar to the below depictions where a bank employee could enter and store business data fields as shown below in (Screen1), also able to capture customer information as in (Screen 2). Later, the application user has a preference to search an existing record from the database based on the below search criteria such as: Status, Product, Customer Type, Channel and Date range as shown in (Screen 3).

The First step is to begin with Entity Configuration:

  1. Create a New Entity: Check for the last 2 steps from the previous page.

  2. Open an Entity Property window by clicking on the edit icon. (If create an Entity from AppSpace, can skip this step)

3. In the Entity Name, enter "Application" (If create an Entity from AppSpace, can skip this step)

4. Click Okay. (If create an Entity from AppSpace, you can skip this step)

Above "smart form" sample contains 2- layer Tab structure - named as "Application" as Main Tab and "Customer Information" as Child Tab as shown in Screen1 above.

Let's begin with Main Tab Configuration - "Application".

Main General Tab Configuration:

1. Drag 2-Layer Tab inside top (gray shaded area) of an Entity.

2. In the Title name, write Application

3. Set Template as 1 Column.

4. Click on Add.

Save your Entity. (Note: It is always a good practice to save entity after every new configuration settings)

Now once your Tab configuration is completed. Below is how your entity should look like:

The next step is to create a Main Module under your Main Tab and drag fields inside Main Module to start building your Smart form. Let us begin with Main Module Configuration.

Module Configuration:

1. Drag 1-1 Module right below the main Tab of your Entity in the blue highlighted area.

3. Choose 2 Columns in Configuration Layout Screen.

4. Click on Accept.

  • In Module name, enter "Application"

  • In the Table Name, choose "oneweb_application(T)"

  • Click OK.

Note: Fields can be dragged and dropped inside Module only if the user has already added rows in the module layout as mentioned above in step 5.

Below is how your entity should look like before you begin with Field Configuration.

Note: Contents written in red text inside boxes is just for understanding purposes and would not appear inside your Entity

Field Configuration:

As shown in Prototype Smart Form Screen1 below, you are required to create 10 Fields inside your Main Module Configuration to generate this sample Smart Form. Now let us begin configuration of each field one by one.

Note: It is always a good practice to first drag and drop hidden fields inside your configuration to store key - Primary key/and Foreign Key (If any). In above example Prototype screen1 you will have to create one hidden field inside main module configuration to store primary key as "APPLICATION_ID" for "oneweb_application(T)" table which is being used in Main Module Configuration above.

Hidden Field to store Primary Key:

  • Drag hidden field Inside an empty row 1, column 1 as shown below in Step1.

  • Inside "hidden field configuration" set FIELD_ID as "APPLICATION_ID" in Step 2. (Note: 'APPLICATION_ID" is Primary Key in "oneweb_application(T)" table.)

  • Click OK.

Let us drag other fields inside module configuration to construct a desired smart form as in screen1

1. Date Field Configuration:

  • Drag and Drop "Calendar" field inside Module Configuration

  • In the FIELD_ID, enter APPLICATION_DATE

  • In the showFieldName, enter Date

  • Set searchCriteria as "Y"

  • Set showSearch as "Y"

  • Set searchFromTo as "Y"

  • Click OK

2. Dynamic List Field Configuration (Channel):

  • Drag and Drop the "Dynamic List" field inside Module Configuration

  • In the Table Name, enter ew_list_box_master

  • In the Column Show, enter DISPLAY_NAME

  • In the Column Value, enter DISPLAY_CODE

  • In the Condition Value, enter category_code='CHANNEL'

  • In the FIELD_ID, enter CHANNEL

  • In the showFieldName, enter Channel

  • Set searchCriteria as "Y"

  • Set showSearch as "Y"

  • Click OK

3. Dynamic List Field Configuration (Office Code):

  • Drag and Drop "Dynamic List" field inside Module Configuration

  • In the Table Name, enter ew_list_box_master

  • In the Column Show, enter DISPLAY_NAME

  • In the Column Value, enter DISPLAY_CODE

  • In the Condition Value, enter category_code='OFFICE_CODE'

  • In the FIELD_ID, enter OFFICE_CODE

  • In the showFieldName, enter Office Code

  • Set searchCriteria as "Y"

  • Set showSearch as "Y"

  • Click OK

4. Text Box Field Configuration (Finance Amount):

  • Drag and Drop "Text Box" field inside Module Configuration

  • Open Text Box Configuration Window by clicking an edit Icon on Field.

  • In the FIELD_ID, enter FINANCE_AMOUNT

  • In the showFieldName, enter Finance Amount

  • Set showSearch as "Y"

  • Click OK

5. CheckBox Field Configuration (Email):

  • Drag and Drop "CheckBox" field inside Module Configuration

  • Open Checkbox Configuration Property Window by clicking an Edit Icon on Field.

  • For first condition, In Value Column write Y, ShowName as Yes, SEQ as 10, DefaultCheck as NO and click icon to add first row.

  • For second condition, In Value Column write N, ShowName as No, SEQ as 20, DefaultCheck as NO and click icon to add second row.

  • In the FIELD_ID, enter EMAIL

  • In the showFieldName, enter Email

  • Click OK

Note: Now you have already configured first 5 fields inside your smart form module configuration. Your configuration screen is expected to look same as below. In case of any discrepancies or mismatch found on your configuration screen as compared to below screen, you must again review and go through the instructions given above for each field set up.

Let us continue with other fields left as per our layout on Sample Screen1

6. Dynamic List Field Configuration (Product):

  • Drag and Drop "Dynamic List" field inside Module Configuration

  • Open Dynamic List Box Configuration Property Window by clicking an Edit Icon on Field.

  • In the Table Name, enter ew_list_box_master

  • In the Column Show, enter DISPLAY_NAME

  • In the Column Value, enter DISPLAY_CODE

  • In the Condition Value, enter category_code='PRODUCT'

  • In the FIELD_ID, enter PRODUCT

  • In the showFieldName, enter Produce

  • Set searchCriteria as "Y"

  • Set showSearch as "Y"

  • Click OK

7. Dynamic List Field Configuration (Customer Type):

  • Drag and Drop "Dynamic List" field inside Module Configuration

  • Open Dynamic List Box Configuration Property Window by clicking an Edit Icon on Field.

  • In the Table Name, enter ew_list_box_master

  • In the Column Show, enter DISPLAY_NAME

  • In the Column Value, enter DISPLAY_CODE

  • In the Condition Value, enter category_code='CUSTOMER_TY

  • In the FIELD_ID, enter CUSTOMER_TYPE

  • In the showFieldName, enter Customer Type

  • Set searchCriteria as "Y"

  • Set showSearch as "Y"

  • Click OK

8.Text Box Field Configuration (Term Loan):

  • Drag and Drop "Text Box" field inside Module Configuration

  • Open Text Box Configuration Window by clicking an Edit Icon on Field.

  • In the FIELD_ID, enter TERM_LOAN

  • In the showFieldName, enter Term Loan

  • Set showSearch as "Y"

  • Click OK

9. Dynamic List Field Configuration (Status):

  • Drag and Drop "Dynamic List" field inside Module Configuration

  • Open Dynamic List Box Configuration Property Window by clicking an Edit Icon on Field.

  • In the Table Name, enter ew_list_box_master

  • In the Column Show, enter DISPLAY_NAME

  • In the Column Value, enter DISPLAY_CODE

  • In the Condition Value, enter category_code='STATUS'

  • In the FIELD_ID, enter STATUS

  • In the showFieldName, enter STATUS

  • Set showSearch as "Y"

  • Click OK

Once you have finished configuring all above desired fields under your main Module. Your screen should look like below:

Save your Entity.

Note: It is always a good practice to save entity after each new configuration

Set Primary Key of Main Module:

Once you have added all the required fields inside your main Module configuration, the next Step is to set the Primary key of your main Module "Application". Note: Primary key is already created above as Hidden Field in the beginning of Field Configuration.

  • Select "APPLICATION_ID" as Module Key.

  • Add KeyLen as "7".

  • Select Sequence as "ONEWEB_APPLICATION_SEQ"

  • Click icon to add row.

  • Click OK.

Save your Entity.

Note: It is always a good practice to save entity after every new configuration

Add Lower Tab (Child Tab) inside your Entity:

  • Drag Normal Tab inside bottom (gray shaded area) of your Entity.

  • Enter Title name as "Customer".

  • Set Template as 1 Column.

  • Click on Add.

Once you are done with (Child) Tab configuration. Next step is to create a Module under your Child Tab and drag fields inside this child Module to start building other required fields for your Smart form. Let we begin with child Tab Module Configuration.

Module Configuration (Child):

  1. Drag 1-Many Module right below Lower/Child Tab of your Entity.

  2. Click on edit icon to open Module Configuration window:

  • In Module name, enter "Customer Information"

  • In the Table Name, choose "oneweb_customer(T)"

  • Click OK.

Field Configuration for Child Module (Customer):

As shown in Prototype Smart Form Screen1, you are required to construct 8 Fields inside your child Module to store customer details. The required fields are: First Name, Last Name, Personal Type, Gender, Date of Birth, Identification and 2 hidden fields. Hidden fields are being used here to store both Primary Key, as well as Foreign Key to link this child module with the main parent module table.

For e.g.: "CUSTOMER_ID" is primary Key in 'oneweb_customer(T)" table used in this child Module Configuration, and "APPLICATION_ID" is foreign key in this table to link it with the main module table i.e. 'oneweb_application(T)". Let's begin field configuration for this child Module.

1. Hidden Field to store Primary Key (CUSTOMER_ID)

  • Drag and drop hidden field inside child module Configuration.

  • Click on Edit Icon to open Hidden Field Configuration window.

  • Inside "hidden field configuration

  • set FIELD_ID as "CUSTOMER_ID"

  • Select same name for ShowFieldName by clicking on replicate icon.

  • Click OK.

2. Hidden Field to store Foreign Key (APPLICATION_ID)

  • Drag and drop hidden field inside child module Configuration.

  • Click on Edit Icon to open Hidden Field Configuration window.

  • Inside "hidden field configuration

  • set FIELD_ID as "APPLICATION_ID"

  • Select same name for ShowFieldName by clicking on replicate icon.

  • Click OK.

3. Text Box Field Configuration (First Name):

  • Drag and Drop "Text Box" field inside Module Configuration

  • Open Text Box Configuration Window by clicking an Edit Icon on Field.

  • In the FIELD_ID, enter FIRST_NAME

  • In the showFieldName, enter First Name

  • Set showSearch as "Y"

  • Click OK

4. Text Box Field Configuration (Last Name):

  • Drag and Drop "Text Box" field inside Module Configuration

  • Open Text Box Configuration Window by clicking an Edit Icon on Field.

  • In the FIELD_ID, enter LAST_NAME

  • In the showFieldName, enter Last Name

  • Set showSearch as "Y"

  • Click OK

5. Dynamic List Field Configuration (Personal Type):

  • Drag and Drop "Dynamic List" field inside Module Configuration

  • Open Dynamic List Box Configuration Property Window by clicking an Edit Icon on Field.

  • In the Table Name, enter ew_list_box_master

  • In the Column Show, enter DISPLAY_NAME

  • In the Column Value, enter DISPLAY_CODE

  • In the Condition Value, enter category_code='PERSONAL_TYPE'

  • In the FIELD_ID, enter PERSONAL _TYPE

  • In the showFieldName, enter PERSONAL_TYPE

  • Set showSearch as "Y"

  • Click OK

6. Dynamic List Field Configuration (GENDER):

  • Drag and Drop "Dynamic List" field inside Module Configuration

  • Open Dynamic List Box Configuration Property Window by clicking an Edit Icon on Field.

  • In the Table Name, enter ew_list_box_master

  • In the Column Show, enter DISPLAY_NAME

  • In the Column Value, enter DISPLAY_CODE

  • In the Condition Value, enter category_code='GENDER'

  • In the FIELD_ID, enter GENDER

  • In the showFieldName, enter Gender

  • Set showSearch as "Y"

  • Click OK

7. Date Field Configuration (Date Of Birth) :

  • Drag and Drop "Calendar" field inside Module Configuration

  • In the FIELD_ID, enter DATE_OF_BIRTH

  • In the showFieldName, enter Date of Birth

  • Set showSearch as "Y"

  • Click OK

8. Text Box Field Configuration (Identification):

  • Drag and Drop "Text Box" field inside Module Configuration

  • In the FIELD_ID, enter IDENTIFICATION

  • In the showFieldName, enter Identification

  • Set showSearch as "Y"

  • Click OK

Save your Entity. (Note: It is always a good Practice to save entity after every new configuration item)

Set Primary Key and Parent Key in Child Module:

Once you add all the required fields inside your child Module configuration, the next Step is to set the child Module (Customer Information) Primary Key (CUSTOMER_ID) and map its reference to the Main Module (Application).

Procedure:

  • Select "CUSTOMER_ID" as Module Key.

  • Add KeyLen as "7".

  • Select Sequence as "ONEWEB_CUSTOMER_SEQ"

  • Click icon to add first row inside module configuration.

  • Select "APPLICATION_ID" as Module Key.

  • Select "APPLICATION_ID" as Parent Key.

  • Click icon to add second row inside module configuration.

  • Click OK.

Now, once you have finished configuration for Lower/child Tab i.e. (Customer), Child Module Configuration i.e. (Customer Information) and all required fields and keys for Child Module, your configuration screen should look like below.

Generate Instant Preview to review your Smart Form:

You could also generate instant preview of your smart form to see how it would appear to the End User. To generate an instant preview of your configuration, click on create preview Icon on top left "Entity Menu" as shown below.

A new window will open to show User Screen (Facade Screen) of your Smart Form as shown below:

Button Configuration for your Sample Smart Form

Now you require 2 Types of Button Configuration inside your smart form to complete your Sample Smart Form Configuration.

Entity Button: Entity buttons facilitates actions for the entire smart form e.g. database calls or Cancel /Reject actions on your smart form.

Module Button: Facilitates user actions for 1-Many module. It will not impact entire entity and can be used to add, delete or update records of the module.

Configure Entity Button of your sample Smart Form:

Add Search Button:

  • Drag and drop Entity button right below your Main Tab (Application) layout.

  • Scroll mouse over the button and click on edit icon to open button configuration window.

  • In buttonName, enter Search

  • In Page Action enter ENTITY_SEARCH

  • In button Action choose searchResult()

  • Click OK

Add New Button:

  • Drag and drop Entity button right next to your previous button.

  • In the buttonName, enter New

  • In Page Action enter ENTITY_SEARCH

  • In button Action choose addEntity()

  • Click OK

Add Save Button:

  • Drag and drop Entity button right next to other entity buttons.

  • In the buttonName, enter Save

  • In Page Action enter ENTITY_INSERT

  • In button Action choose saveEntity()

  • Click OK

Add Cancel Button:

  • Drag and drop Entity button right next to other entity buttons.

  • Click on edit icon to open button configuration window.

  • In the buttonName, enter Cancel

  • In Page Action enter ENTITY_INSERT

  • In button Action choose cancelEntity()

  • Click OK

Save your Entity.

Note: It is always a good practice to save entity after every new configuration item

Configure Module Button of your sample Smart Form:

Add Add Button:

  • Drag and drop Module button right below your Child Tab (Customer Info) layout.

  • Scroll the mouse over the button and click on edit icon to open button

  • In the buttonName, enter Add

  • In Page Action enter SUB_SEARCH

  • In button Action choose popupActionFlow('[MODULE_ID]')

  • Click OK

Add Delete Button:

  • Drag and drop Module button right next to the other module button.

  • In the buttonName, enter Delete

  • In Page Action enter SUB_SEARCH

  • In button Action choose [MODULE_ID]Delete()

  • Click OK

Add Save Button:

  • Drag and drop Module button right next to other module buttons.

  • Click on edit icon to open button configuration window.

  • In the buttonName, enter Save

  • In Page Action enter INSERT

  • In button Action choose actionFormSubmit('insertMany,'Y')

  • Click OK

Add Cancel Button:

  • Drag and drop Module button right next to other module buttons.

  • In the buttonName, enter Cancel

  • In Page Action enter INSERT

  • In button Action choose $(#many_[MODULE_ID]_dialog('close');

  • Click OK

Save your Entity. (Note: It is always a good practice to save entity after every new configuration)

Congratulations, you have successfully generated smart form based on the sample given above. You can open instant Search/Create preview of your Smart Form to see how it appears to an End User/Application User and could add business data and customer details for testing Purposes.

To generate Instant Preview of your configuration, click on create preview Icon on top left "Entity Menu" as shown below.

2. Click on Layout Property Icon.

5. Click on add rows icon to add required rows in your layout.

6. Click on edit icon to open Module Configuration. On module Configuration window

Now you are all set with your "Main Tab" and "Main Module" Configuration.

Select same name for ShowFieldName. (Note: Names can also be replicated throughout the configuration by clicking on replicate icon "" to replicate the same value).

Open Field Property Window by clicking an Edit Icon on Field.

Open Field Property Window by clicking an Edit Icon on Field.

Open Dynamic List Box Configuration Property Window by clicking an Edit Icon on Field.

Open Module Property Window, click Edit icon on Module.

Open Field Property Window by clicking an Edit Icon on Field.

Open Text Box Configuration Window by clicking an Edit Icon on Field.

Open Child Module Property Window, click Edit icon on Module.

Click on edit icon to open button configuration window.

Click on edit icon to open button configuration window.

configuration window.

Click on edit icon to open button configuration window.

Click on edit icon to open button configuration window.

Let us begin with Field Configuration.
Screen1