I want to set multiple values for a lookup field client-side. I tried using the following method:
rbf_selectObject( selectedObjectID, selectedObjectName, null, relationName, false);
Only this method can't handle multiple values. It's possible when I use the rbf_setFieldValue() method but then the values aren't presented to the user.. Any workarounds for this?
Koreem,
It is highly suggested that you stick to the documented methods because the undocumented ones could change/be deprecated or function differently across releases and that might break your application. More so ever it maybe hard to debug the cause of failures. Please file an enhancement request, you have my vote.
Unfortunately rbf_setFieldValue() method does not work with lookup fields. Please feel free to file enhancement request for this.
I don't see rbf_selectObject in the list nor the documentation. Is this is a new method?
rbf_selectObject is a undocumented function to set a lookupfield client-side, see:
https://community.progress.com/community_groups/rollbase/f/25/p/7083/27430.aspx
But it only works for one value..
Anyone?
Koreem,
It is highly suggested that you stick to the documented methods because the undocumented ones could change/be deprecated or function differently across releases and that might break your application. More so ever it maybe hard to debug the cause of failures. Please file an enhancement request, you have my vote.
I filed an enchancement. Feel free to upvote.
community.progress.com/.../method_for_setting_multiple_values_of_a_lookup_field_client-side.aspx