Posted by refael shira on 13-Sep-2016 00:48

Hello everyone,

I'm use in API createRecord().

I'm send integration name of field that i want to create in other object but i can't send a image, date and lookup field.

someone can help me please?



All Replies

Posted by Manooj Murali on 13-Sep-2016 04:12

The api rbv_api.createRecord supports passing in date and lookup field value. Refer examples from our online documentation documentation.progress.com/.../

For the image data, can you try using rbv_api.setBinaryFieldValue()

Posted by refael shira on 14-Sep-2016 07:40

Thank you for the answer.

I success to pass date but not a lookup.


Posted by Chandrasekhar Gontla on 14-Sep-2016 12:08


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,


Posted by tehilac@safeguard.co.il on 17-May-2017 02:20


Can I ask?

If I need to insert to lookup filed few id?

how do I insert an array to the field?



Posted by tehilac@safeguard.co.il on 17-May-2017 02:26

I found the solution.

Thanks !

This thread is closed