I would answer my question self!.
this code never worked for me in IDM 3.5.1 , but is working fine in the IDM RBPM 3.6.1
Could it not be bug, may be its by design :-)
M.
Originally Posted by belaie
|
Novell Identity Manager 3.5.1
Novell USer Application Provisioning module.
Hi
I hope someone can help here with some solution that i'm looking for.
I have control on the form:
Control : PickList = Type = DN
Properties of Control:
Event : "GetPeople"
Entity Key : Person
Display Expression : Name EmployeeNumber
Event "GetPeople" on this control is fired from the another control (City) on the onLoad() event.
Event "GetPeople":
//
try{
IDVault.globalQuery("All_Prople_List", "q_GetPeopleByCountryAndCity", {"Country":form.getValue("Country"),"City":form.ge tValue("city")})
var SinglePeopleDNValueFromHiddenVar = form.getValue("People_H");
if (SinglePeopleDNValueFromHiddenVar.length >0){
field.setValues([People_DN_HIDDEN_VAL], [People_NAME_HIDDEN_VAL], true);
}
}
catch(error)
{
}
//
I want to preselect a "People" in the PickList based on the DN value I get from a hidden feild.
I have checked the values exists, but my PickList neven shows the person selected on the Long List. I have tried different things "file.select, field.focus, but none of them works at all"..
I hope someone has solution to this task out there?
M.
|