since ‎17-10-2015
‎10-12-2019
Carloose
Level 1
Check if .xml file exists using javascript
Avatar

Carloose

Carloose
- Adobe LiveCycle
I'm trying to determine if a specific .xml file exists on my desktop before running additional code. The following trusted script is in my Javascripts folder level. The "First Part" section below simply sets all fields of the form to be open. The second part looks for a .xml file in which to import XFA data from.My problem is that I'm trying to determine whether this .xml file exists in the first place. Right now if it doesn't exist, it displays a dialog window requesting I browse for the file. ...

Views

882

Likes

0

Replies

0
Re: Internal error when using doc.importXFAData
Avatar

Carloose

Carloose
- Adobe LiveCycle
Bump.... The issue only occurs on my Windows 7 64-bit machine running Acrobat Pro 11.0. It runs fine on XP with Acrobat Standard 11.0.What could be the issue?

Views

38

Likes

0

Replies

0
Internal error when using doc.importXFAData
Avatar

Carloose

Carloose
- Adobe LiveCycle
I have a XFA form created in LiveCycle (not by me)... and I've created a custom menu item that exports a .xml file upon clicking.I've created a second menu item that imports a specific xml file into the report, however it is returning "An Internal error occurred" BUT it also properly imports the data too.There are 3 folder level trusted javascript functions being used in order to do this. I have 2 specific questions:1) Can you spot why I'm getting an error using the code below (import.js)?2) Is ...

Views

497

Likes

0

Replies

1