C
Chandrasekhar Gontla
Guest
Hi, Please try the following code snippet to set a value for lookup field while creating a record. Here, what I am doing is 'whenever I created a task record, I am attaching a current task record (using {!id} token) to task lookup field by passing current record id to lookup field and creating emp record.' Like this, you can pass the existing record id as well to lookup field. var arr = new Array(); arr['lastName'] = 'Emp_From_ObjectScript'; arr['R115774769'] = '{!id}'; rbv_api.createRecord("emp6", arr); Thanks and Regards, Chandu.
Continue reading...
Continue reading...