M
Mohammed Siraj
Guest
With NewUI revision, we have extensively revised Client-side SDK support. For form pages, every field will have a field context object with API methods that abstract out form field interaction i.e. set/get values, show/hide, enable/disable and similar, independent of the field type. Use client-side API rbf_getFieldContext() to retreive such an object for a given field. For a complete list of API methods, please refer: https://community.progress.com/community_groups/rollbase/f/25/t/22047 http://documentation.progress.com/output/rb/doc/#page/rb%2Frbf-getfieldcontext().html For the given requirement, to unset a lookup field value, rbf_getFieldContext('field1').setValue(null); //where field1 is the integration name of lookup field. You may also want to consider leveraging other Client-side SDK provisions like: PageContext: https://community.progress.com/community_groups/rollbase/f/25/t/22077 http://documentation.progress.com/output/rb/doc/#page/rb%2Fclient-side-javascript.html%23
Continue reading...
Continue reading...