Fetch values of components to array using Binded Table

Explain Situation:

Lets consider  there is a form of an Employee with 5 fields
a) name b) email c)phone Number d)city e) salary
we want this value to be saved in an array named employeDetails which shall be used further in operations.

Solution :

create a module  with components below

  1. name (text component)
  2. email (text component)
  3. phoneNumber(number component / phone number)
  4. city (text Component)
  5. salary (number Component)
  6. save (button component)
  7. dtEmployee (data table component)
  8. employeeDetails (hidden Component)
  9. dwfGetValuesToEmployeeDetails (DataWorkflow Component)

dtEmployee

dwfGetValuesToEmployeeDetails

then create a dataWorkFlow
1) named dwfGetValuesToEmployeeDetails,
        having one input  :
             component : dtEmployee
              source = binded table
        output :
                  component: employeeDetails (hidden Component)
                   action : value
This dwf need to be triggered on Save Button >>  Action Type >>  Event >> Triggers Onclick

Button btnSave

OUTPUT


Posted

in

by

Tags: