on 12-02-2008 5:17 AM
I have created a form that have text boxes and drop down list objects
I have entered some data in the text boxes and made selection from the drop down list
I used the form.GetAsXML to save the form as xml
I loaded the form from the xml , the form loaded fine , however the data did not
Is there a way to save the form data entered in the form objects (such text box, drop down list) as xml
if not, is there way to alter the xml to display the data
I altered the xml file and changed the following for one the item (text box)
<specific TabOrder="5" >
to
<specific TabOrder="5" value ="My Data">
also
from
<specific TabOrder="5" >
to
<specific TabOrder="5" string="My Data">
also
from
<specific TabOrder="5" >
to
<specific TabOrder="5" caption="My Data">
No Luck
Any hint
Sincrely yours
Riade Asleh
Hi Riade,
To handle data using XML, refer to SDK Help -> Developer's Guide -> DI API -> How To -> Exchanging Data Through XML. There are methods available on Company object as well as all Business Objects.
<ValidValues> element can be used to populate the ComboBox list. Refer to SDK Help -> Developer's Guide -> UI API -> How To -> Adding Forms with XML -> click on <ValidValues> link
Regards
Aravind
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
103 | |
12 | |
11 | |
6 | |
5 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.