Server side api to get all the option in a picklist

Posted by ithrees on 12-May-2015 00:34

Hi All,

Is there any way to get all the options in a picklist filed to the server side as 'rbf_getFieldDef' api for client side?

Thanks in advance,
Ithrees

Posted by Anoop Premachandran on 13-May-2015 01:21

This method is available in Rollbase 3.2.0.0 and above..

All Replies

Posted by Sharavan Kumar on 12-May-2015 01:40

Hi ithrees,

Can you try rbv_api.getPicklist() server side API , it returns all items available for selected picklist field.

thanks,

sharavan

Posted by ithrees on 12-May-2015 02:33

Hi Sharavan,

I tried this in the JavaScript report but I got this error

"

System Error

Error Cannot find function getPicklist in object com.rb.core.services.api.ServerSideAPI@6d30600d. ....

"

And when I checked in the template helper for the server side APIs this is not listed under the miscellaneous section as well. Can you please tell me where to use this?

Thanks,

Ithrees

Posted by pvorobie on 12-May-2015 10:59

We have rbf_getPicklist client-side API currently. If you don't see this API in your helper UI, you will in the next release.

Posted by Anoop Premachandran on 13-May-2015 01:15

What is the version of Rollbase you are using ?

Posted by Anoop Premachandran on 13-May-2015 01:21

This method is available in Rollbase 3.2.0.0 and above..

This thread is closed