Problem with rbv_api.getRelatedFields function

Posted by Rollbase User on 14-Aug-2012 12:41

When using the rbv_api.getRelatedFields function, only certain fields are able to be returned. For instance, I am trying to return a mobile phone number for all of the attached people to a certain record and I get an error that the field doesn't exist in the source object. My source object is Notification which has a relationship to the People object which contains the field for the mobile phone numbers. My formula is: var phonenum = rbv_api.getRelatedFields('R53560', {!id}, 'mobilePhone'); return phonenum.join(','); And the error I'm getting is: Error Field mobilePhone not found for Notification object (line #4) in formula: var rbv_api = new Packages.com.rb.core.services.api.ServerSideAPI(1, 6027); It does work with the name field to pull back the names though. Am I doing something wrong or is this a bug?

All Replies

Posted by Admin on 14-Aug-2012 13:34

This will be fixed in the next release.

This thread is closed