Hi,
I'm experiencing a bit frustrating problem. This simple code:
var doc = event.target;
doc.importDataObject("Graphic");
worked in Acrobat 7 well. In Acrobat 8 I'm getting message:
RangeError: Invalid argument value.
Doc.importDataObject:2:XFA:form1[0]:#subform[0]:Button1[0]:click
===> Parameter 1.
One possible solution is to change the code to following:
var doc = event.target;
doc.importDataObject("");
Leave the name parameter blank. That works but for only one attachment. But I need more attachments.
Please help!
Thank You,
--- Jaroslav