rbv_api.getSelectedIds aleays return null

Posted by Rollbase User on 07-May-2013 07:04

This function always return null!!! var ordrearr = rbv_api.getSelectedIds("order7"); if (ordrearr!=null)......... It worked well on earlier versions. Is it a problem with the new version? or have I done some stupid changes in my code...?

All Replies

Posted by Admin on 08-May-2013 13:11

This function works correctly: shows user's selection when such selection is available.

Posted by Admin on 06-Jun-2013 01:14

I can't get this function to work correctly.

See my supportcase: 70575257

Posted by Admin on 12-Jun-2013 10:23

I have a wf-actions that starts a trigger(obj.scr)wich contains only this line:



var ordrearr = rbv_api.getSelectedIds("order7");



I have an intermittent error, this function seems to return 'null', even if there is records selected.



I can get 10 correct results and then hundreds of 'null'-values.

I have not changed the script, and can't find out whats wrong.



Is there anybody who can tell me what the problem can be??

This thread is closed