Expand my Community achievements bar.

Override field value after import XML

Avatar

Level 1

Good morning and apologies for my English.

I'm working with Livecycle Designer 8.2.1

My problem is as follows:

- My PDF generates an XML file and can be exported.

- You have an option to import XML files.

- The issue is that when you import the file, you must override the value of some fields for which they had before the import.

- I have a button that calls xfa.host.importdata (), and then proceeds to overwrite the value that the XML type in those fields, but when it comes to writing in the fields, it does nothing.

No returns error and neither modifies them as if they were locked on import.

Has anyone encountered this problem and managed to fix it?

Thank you very much in advance.

3 Replies

Avatar

Level 1

Update with another option:

Is it possible to import an XML but choosing that any particular field is not overwritten?

I have some fields whose value is modified in the PDF in an application, but if I import an XML old, this overwrites the value that the application introduces.

What I want is that a number of fields are not overwritten as the old XML itself contains them, but they must be exported to XML with the value entered by the application