Create Record multiple values for a field

Posted by IramK on 11-Nov-2014 09:56

Hello,

I am trying to create a record in Rollbase and assign multiple values to a lookup field. There is a many-many relationship between lookup field and the object on which the record is being created. Can anyone suggest me a way to get this done?

For Eg: REST API Call:

https://www.rollbase.com/rest/api/create2?sessionId=fe223e2efcb24c4da0132ec43100951d@103629606&objName=temphistory&name=Email&lastName=xyz&email=abc@xyz.com&body=sdf&LookUpAccountContact=113826432&LookUpAccountContact=113826433&LookUpAccountContact=113826434

How can I add multiple lookup account contact values on creation of a record?

Posted by pvorobie on 11-Nov-2014 10:22

Please use LookUpAccountContact parameter only once. As value use names or IDs of records you want to attach, separated by '|' symbol.

This is documentation defect tracked as PSC00319971

All Replies

Posted by ymaisonn on 11-Nov-2014 10:06

Let's say you have an objectA and an objectB with a Many to Many relationship

You just need to Edit the following pages:

"Edit Page"

"New Page"

and add the lookup field of the related object to the page.

You also need to add the related lookup to the "View page"

Posted by IramK on 11-Nov-2014 10:09

I already have added a related lookup and I can do it manually through Rollbase. I would like to be able to do that via REST API call as I mentioned.

Posted by pvorobie on 11-Nov-2014 10:22

Please use LookUpAccountContact parameter only once. As value use names or IDs of records you want to attach, separated by '|' symbol.

This is documentation defect tracked as PSC00319971

Posted by IramK on 11-Nov-2014 10:36

Thats exactly what I was looking for.

Thanks.

This thread is closed