How to bind the iProcess Filed Value to GI Filed in .js File

Hi ,

I have a business scenario like i have display custom GI Form in Procedure, I have to display data which is entered by user in previous steps, I am able to get the data, but I am unable to bind that data to GI Control.

Here Sudo Code

TXT_NAME and TXT_AGE are GI Controls, NAME and AGE are iProcess Controls

ipcClass.prototype.initializeFormData = function() {

var name1 = this.getDescendantOfName('TXT_NAME');
var age1 = this.getDescendantOfName('TXT_AGE');

name1.setValue(this.fieldData.getFieldValue('NAME'));
age1.setValue(this.fieldData.getFieldValue('AGE'));

};

Login