Expand my Community achievements bar.

Dynamic Properties of the dropdown

Avatar

Former Community Member

Hi

I have an XML file binded to the form. In the form, i have a dropdown box in which values are binded as shown below.

dynamic binding.JPG

In the XML file . the data would be like this

<item uiname="CANADA" token="CA"/>

<item uiname="CAYMAN ISLANDS" token="KY"/>

<item uiname="INDIA" token="IN"/>

And the uinames populate into the dropdown which is working fine till now.

Now the problem is when I use "send by email" button, the xml which is generated contains the "Item Value" in it . But i want the .rawValue of the dropdown i.e the "Item Text" in the generated xml.

Hope the problem is clear.

Pls help.

Thanks

Abhiram

2 Replies

Avatar

Level 9

Hi Abhiram,

Which type of dataconnection are you using? Is it sample XML data? If you are using XML data connection then there is a problem with this.

Thanks,

Bibhu.

Avatar

Former Community Member

Hi,

Sorry for the late reply.

I am using Sample XML Schema as Data Connection but i am binding with the xml file also (In designer i refer to that xml file in File->Form Properties->Preview tab).

And while rendering the form i render it with the xml file using workbench activity.

Pls help as this has become high priority task for me now.

Thanks

Abhiram