I have a form with a button's click even I run
event.target.createDataObject(cName,CValue)
event.target.exportDataObject(cName,nLaunch)
When I test this in preview it works.
When I test by opening the pdf pre distribution it works.
when I distribute the form and open it with Acrobat pro test the button I get:
NotAllowedError: Security settings prevent access to this property or method.
Doc.createDataObject:7:XFA: