cancel
Showing results for 
Search instead for 
Did you mean: 

Populatinig Drop down in Adobe - EnumDropDownlist.

Former Member
0 Kudos

I am populating a drop down and have mapped the node to dropdown properly.

i am not able to pick up the selected node element. by default as null. How ever i am using the EnumDropDownList to populate the drop down.

I have 3 elements in the node element which i am populating in wdInit() and is working fine.

on submit, i am getting the element at leadselection and trying to fetch the value, but the lead selection is coming 0. Any idea why?

the same code is working fine for a regular webdynpro screen.

Any ideas???

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Nitin,

Are the values in the dropdown populated correctly?

If Yes, then for getting the selected value in the dropdown do the following:

Lets take context structure like:

Context -> Data Node (Mapped to Form) -> Node1 -> attr1 (Mapped to dropdown)

If you want to get the value selected in attr1 (DD), then use the below code:

wdContext.currentNode1element().getattr1();

this will give you the current vale.

Hope this help!!

Let me know if this doesnt work.

Regards,

Arafat

Former Member
0 Kudos

Hi,

Please check whether ACF is installed on the PC or not. Is it happening with DD only or with all the fields present on the form.

Note 766191 will be helpful to you,

Regards,

Amit

nitin_mahajan2
Contributor
0 Kudos

with DD only, though will check the note, however the only solution that is available on sdn is to create a hidden field and move the value there before submit. and use the value of hidden field for processing.