Expand my Community achievements bar.

xfa.host.exportData() not working in Adobe Reader

Avatar

Former Community Member

Is it possible to use xfa.host.exportData() in a form that will be filled out in Adobe Reader?

I have already used trusted functions, which works on Acrobat Pro, but not working on Adobe Reader.

A NotAllowedError exception is thrown on the JavaScript console.

NotAllowedError: Security settings prevent access to this property or method

4 Replies

Avatar

Level 4

[Question moved to the LCD forum]

Avatar

Level 10

To use the exportData() method in Reader the form needs to be Reader-enabled by LiveCycle Reader Extensions, otherwise you can only execute it with Acrobat.

An alternative would be to submit the data ba mail as an XML file.

This requires also additional rights to work with Reader but those can be applied by Acrobat too.

Avatar

Former Community Member

Thanks radzmar‌,

How to get or buy only LiveCycle Reader Extensions, I have Acrobat Pro and LiveCycle Designer.

Avatar

Level 2

You can't buy LCRE without a full LiveCycle ES server installation. It doesn't run on desktop machines, and prices for a complete ES license start at five figures plus the costs of a server to host it.