Could you please confirm whether we can use Collection parameters as drop down list in RMP?
Example:
Collection -Employee has below parameter
Employee Number,First name,Last name,Email address
Is it possible to use the Employee Number data in collection-Employee for the drop down list in another web interface with in same project.
Thanks alot in advance
Thanks and Regards
function load_employee_list(){
var options = {};
options.asynchronous = false;
col_employee.listCallback({}, options, load_ok_employee, load_ko_employee);
}
function load_ok_employee(result) {
var employee_list = new Array();
for(var i =0; i< result.length; i++){
project_list.push({"label":result[i].emplyee_name,"value":result[i].employee_nb});
}
var employee_list_RMP = new RMP_List();
employee_list_RMP.fromArray(employee_list);
RMPApplication.setList("employee_list", employee_list_RMP);
}
function load_ko_employee(result) {alert("Error while loading employee's list");}
Sabine EL RASSY
--
Fujitsu - RunMyProcess
---
You received this message because you are subscribed to the Google Groups "RunMyProcess Support Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to supportforum...@runmyprocess.com.
To post to this group, send email to suppor...@runmyprocess.com.
Visit this group at http://groups.google.com/a/runmyprocess.com/group/supportforum/.
For more options, visit https://groups.google.com/a/runmyprocess.com/groups/opt_out.
I tried the same js script with simple webinterface but drop down is empty.
Please find the screenshot for reference
I replaced collection name with my collection name and label and value name with my collection parameter names.
Could you please confirm whether i need to anything to the js or add any listen to variables ???
Please forward me any helpful link with tuitorial project for testing in my local step by step.
Sabine EL RASSY
Could you please provide the details how make it launch onload and any working example implementing the above for reference?
Thanks alot in advance