2022

Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 4.0

In the walk through let's see how a user can append First name and last name . For this user has to follow the following steps, all the user defined functions have to be followed with the header "//@UserDefined" for DBSync to recognize it as User Defined Function and so that it will be 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 which will navigate to a Function Creation screen
  3. Name a Function of his choice and define the function is the space provided 
  4. Click on Save to save the user defined function.

Please find the screenshot below which illustrates the creation of a function 

The Code snippet for you to use is as given below 

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