The “Object” data source uses the reflection technique to create instances of business objects. By using the reflection technique, related methods are invoked to perform the update, retrieve, insert, and delete operations. You need to choose the “Object” data source if the data object contains the data. The Object data source is used to fetch the data from the master object by using the getVal() function.

The following code is the sample JSON structure to define a temporary data object:

data:{id:1,name: “abc”}

Use the following statement to get the data from the JSON structure:

getVal(‘tempObject.data’) or getVal(‘p101’)

If you see the JSON structure, you can see that the tempObject data object contains data in key-value pair format. The application executes the getVal() function to fetch the value of the Name key.

Was this article helpful?