I have lookup field rendered as picklist on New Page.
How to select value by default on onLoad Page?
Please specify a function in "onLoad" event handler by following the below navigation.
Add a script component in the new record page by using desgin the page and define the function as follows.
R15390 Is the integration name of the lookup filed and 15401 is the record ID of the specific picklist value.
Please find the screenshots
Thank you for your reply.
I can't use rbf_setFieldValue because i don't know wich value will be first field.
I need select default first value of picklist rendered from lookup field.
I do by Keno UI api:
var dropdownlist = $("#dropdownlist").data("kendoDropDownList");
Prefer, rbf_getFieldContext('dropdownlist').getKendoConfig() to access kendo widget configuration objects. Instead of directly querying for widget type.
var dropdownlist = rbf_getFieldContext('dropdownlist').getKendoConfig();
//where 'dropdownlist' is field integration name
This way, client-code will be imprevious of any widget implementation changes.
Thank you! I'll try it.