GetCodedValueDomain To Form ListBox
Hi All, I'm atempting to us the GetCodedValueDomain Widget and use the resulting IDictionary to populate a ListBox in a form,
I'm using the ListToDataItemList to translate the IDictionary to a List of DataItems, the problem is my List is being populated with the Key,Value pair.
What do I need to put in the Display Property & Value Property of the ListToDataItemList to parse out these values from one another? I've tried Value & Key to no avail.
-Alex
/customer/servlet/servlet.FileDownload?file=00P6000000e88VvEAI
-
You need to do a For Each <Object> where Foreeach item in yourDictionary.Values:
AddToCollection<String> (your item)
Your Collection name is your List for your Data Item list.
You could also use .Keys instead of .Values
0 -
Thank You Ryan, that did the trick !
0
Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.
Kommentare
2 Kommentare