GetRelatedIds

Posted by smartsysISV on 15-Jun-2016 06:48

I have a One-to-Many og Many-to-Many relationship and i use "rbv_api.getRelatedIds("relname", id)" to get all the related id's. This should give me an array of id's.

But it seems like this not give me an array.

I need to looop thru this array and update the related records.

Is anything changed in 4.2 or have i misunderstood the "getRelatedId"?

How can i get an array of related id's? 

Posted by Santosh Patel on 15-Jun-2016 07:19

Your understanding of the api is correct. Tried it out on rollbase.com and getting an array of related IDs. 

This was a 1-m relationship. Will look around further.

All Replies

Posted by Santosh Patel on 15-Jun-2016 07:19

Your understanding of the api is correct. Tried it out on rollbase.com and getting an array of related IDs. 

This was a 1-m relationship. Will look around further.

Posted by Santosh Patel on 15-Jun-2016 07:22

Could you share the relationship name and object id?

This thread is closed