Expand my Community achievements bar.

When you add security to a PDF, it is impossible to upload files

Avatar

Former Community Member
Hi All,



I have a form in which I have a button which can upload files (using the event.target property).



var myDoc2 = event.target;



Well, that button works perfectly but when I add security (the lowest level, just to protect our code) when I want to upload a file the console shows me this error:



NotAllowedError: The security configuration impedes the access to this property or method.

Global.importDataObject:6:XFA:Formulario1[0].P3[0].DocAnexa1[0].Anexo1[0].adjuntar[0/:click



Do you know if this is an Adobe bug? if not, How can I protect my code and allow to upload files?



BR

Ruben.
0 Replies