I have a button with a click event in which I first call a function from the ScriptObject Helper, the subsequently I perform the importData() command and after that is done I do a recall of the same function in the ScriptObject helper.
The first call works,
then the dialog to import xml data works and gets imported
but then the new call fails with error that the Helper does not exists.
See screenshots.
Can somebody explain and maybe give a solution?
I want to hide the Import button after a successful import.
Thnx in advance!
Views
Replies
Total Likes
It's because the import executes a remerge of the imported data with the template into a new form. It's like a start over.
Views
Replies
Total Likes
Views
Replies
Total Likes
Views
Replies
Total Likes
You can try antoher approach. This solution works different to the importData() method.
https://thelivecycle.blogspot.com/2014/07/import-xml-via-script-into-adobe-reader.html
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies
Views
Likes
Replies