Skip to Content
0
Former Member
Apr 16, 2010 at 02:23 PM

Problem in capturing id corresponding to entry selected by user in dropdows

41 Views

Hi Experts,

I have a query regarding handling of dropdowns in AIF's. I see that whenever the user selects an entry from within the dropdown the system would only put only back the corresponding dropdown text back into the context node but not the id. Say suppose the user is selecting a dropdown entry which has the below information:

id: 3

text: Text3

Then if I check the corresponding context attributes the value would be "Text3" whereas the id would be initial. So in order to understand as to which entry the user selected from within the dropdown I would have to either:

1) Search the valueset bound to the dropdown with the text (In this case "Text3") as the search term.

2) Formulate a mechanism to capture the corresponding ID.