Customize exported data

Avatar

Avatar

SciMax

Avatar

SciMax

SciMax

26-06-2009

The submit button includes ALL the PDF's fields in the XML file it generates.  Is it possible to pick and choose the fields that are used to create this XML file?   If yes, how please?

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar

Jono_Moore

Avatar

Jono_Moore

Jono_Moore

29-06-2009

You could also construct your own xml data in hidden fields.

This example is for making a csv file but you could do the same by building the xml structure:

this.rawValue = empSub.AeroplanNumber.rawValue + "," +
empSub.EMPLastName.rawValue + "," +
empSub.EMPFirstName.rawValue + "," +
empSub.AeroplanNumber.rawValue + "," +
areacode + "," +
phonenumber + "," +
empSub.EMPEmail.rawValue + "," +
accountSub.Client.rawValue + "-" +
accountSub.Responsibility.rawValue + "-" +
accountSub.ServiceLine.rawValue + "-" +
accountSub.Project.rawValue + "," +
privSub.Privileges.rawValue + "," +
empSub.EMPMinistry.rawValue;

Answers (5)

Answers (5)

Avatar

Avatar

SciMax

Avatar

SciMax

SciMax

29-06-2009

YOU ARE BRILLIANT!!!!!! I love people who can think outside the box -- or in the case -- software limitations!!

Thank you so much ….b

Avatar

Avatar

pguerett

Avatar

pguerett

pguerett

29-06-2009

You could split the data on the receiving side using a serverside program (like LiveCycle) or a servlet and have that do the splitting and emailing for you.

Paul

Avatar

Avatar

SciMax

Avatar

SciMax

SciMax

29-06-2009

Well drats! We were hoping to be able to split the exported XML data into 4 separate packets and e-mail each packet separately.

Back to the drawing board! Thanks Paul.

Avatar

Avatar

pguerett

Avatar

pguerett

pguerett

29-06-2009

If you do not want a field in yor data file then set it sbinding to None. Note that you cannot change the binding programmatically. Once the form is rendered with a set of bindings then you are done. They cannot be changed.

Paul

Avatar

Avatar

SciMax

Avatar

SciMax

SciMax

29-06-2009

Sorry people for bringing this question forward again... but I'm on a serious deadline (project due tomorrow) and I really need to know if it is possible to customize the XML data file or not.   And if yes, how?

PLEASE can someone help??