LinkBack Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #2  
Old 05-Nov-2009, 08:24 AM
Senior Member
 
Join Date: Feb 2008
Location: Oslo, Norway
Posts: 274
belaie 0 reputation points
Default Re: How to preselect "Item" in PickList Type "DN" / DAL Quer

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 View Post
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.
__________________
love anything that talks binary!
Reply With Quote
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -6. The time now is 07:23 PM.


© 2007 Novell, Inc. All Rights Reserved.

Search Engine Friendly URLs by vBSEO 3.3.0 RC2