2022

Page tree

Versions Compared

Key

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

In the walk through, let's see how a user can append First Name and Last Name. For this, the user has to follow the following steps:

All User Defined Functions have to be followed with the header "//@UserDefined" for DBSync to recognize it as User Defined Function. When done so, it is populated in the UserDefined list of the "Mapping page".

  1. User has to login to DBSync ipaas and navigate to Functions page.
  2. Click on New Function. This will navigate a User to a Function Creation screen.
  3. Name a Function of his/her choice and define the Function in the space provided. 
  4. Click on Save to save the User Defined Function.

Following screenshot illustrates creation of a Function: 

Image Added

Use the following Code snippet to test the concept:

Code Block
 
//@UserDefined
function fullName(firstName, lastName){
  return firstName + " " + lastName;
}
function fullName(firstName, lastName){  return firstName + " " + lastName;
}