insert ob_ref attribute in createorUpdateObject method

If you have questions or if you want to share your opinion about Aware IM post your message on this forum
Post Reply
swiftinitpvtltd
Posts: 370
Joined: Sat Apr 28, 2018 3:33 am
Location: India
Contact:

insert ob_ref attribute in createorUpdateObject method

Post by swiftinitpvtltd »

var newRecord = {Date:'2020-02-20 00:00:00',Price: 99, ob_RefrProductID:23};
AwareApp.createOrUpdateObject('TrackPrice',null,newRecord,function (objectId, objectVersion){alert('test')});

This works if I remove "ob_RefrProductID:23" and if its plain text and amount. How do I insert ob_ref attribute in createorUpdateObject method?

This method is there in aware im docs but I need working sample with inserting ref attribute.
Post Reply