Fill a listbox from a XML file


hello everyone,

i'm working under adobe designer 7.0. i've finished creating form. i'd use scripts.

i'd know if possible have list box filled xml data file, using javascript. actually, have data connection xml definition (xsd), used generate xml file matching xsd.

thanks

you may use xfa.host.importdata(). way, _all_ fields emptied , repopulated data file.

you may use xfa.record.loadxml(string, boolean, boolean), whereas string parameter xml data string. problem left how load xml file javascript string...
i think that's impossible.
hmm.
you may want have @ adobe xml form object model reference.

[edit] documentation reads param1: valid string representing name of xml document.. may specify path file. i'm not sure if works...


More discussions in LiveCycle pre-ES (6.x and 7.x) discussions


adobe

Comments