stefano.bianque
New Here
stefano.bianque
New Here
Activity
‎May 22, 2019
03:32 AM
I've been reading these guides here: Using Trusted Functions https://www.adobe.com/content/dam/acom/en/devnet/acrobat/pdfs/js_api_reference.pdf yet, I fail to see how I'm supposed to implement the "ImportDataText" function. My JavaScript-knowledge is non-existent, so yes, it doesn't make any sense right now.
... View more
‎May 22, 2019
02:27 AM
https://forums.adobe.com/people/Bernd+Alheit skrev stefano.bianque schrieb On a config.js-file in the "user" javascripts folder path In following path? C:\Users\<user>\AppData\Roaming\Adobe\Acrobat\Privileged\DC\Javascripts Exactly on that path. Also it should be noted, that the folder didn't exist in my directory so I have to manually create it.
... View more
‎May 22, 2019
02:19 AM
https://forums.adobe.com/people/Test+Screen+Name wrote When do you get the message? When config.js is loaded (Acrobat startup)? Or when you call the function? What is your function call and how do you call it? I get the "NotAllowedError" when I start Adobe and when I call the function in the PDF-form button I made. And the code I put was: this.ImportTextData("/c/user/data/customer_data.txt");
... View more
‎May 22, 2019
02:07 AM
On a config.js-file in the "user" javascripts folder path
... View more
‎May 22, 2019
01:55 AM
I get a "NotAllowedError". And this is the code that I used. var ImportTextData = app.trustedFunction(function(cPath) { app.beginPriv(); this.importTextData("/c/user/data/customer_data.txt", cPath); app.endPriv(); });
... View more
‎May 21, 2019
11:05 PM
I've tried giving the code "privileged context" in a file "config.js" that I created. And it's placed in the Javacscripts folder on my "user" path. Yet I don't seem to make it work. I'm really new to JavaScripting, so I'll be glad if i could get some help!
... View more
‎May 21, 2019
09:55 PM
Ah ok! I read the tutorial, but I don't seem to understand how to fix this "privilege" issued when running the JavaScript code.
... View more
‎May 21, 2019
03:56 PM
Ok, I see. Do you have any suggestions on an alternative? Because the "import form data" function only lets me import .fdf-files.
... View more
‎May 21, 2019
03:49 PM
Hello! I've been making a PDF-form to make invoices. And to make it a bit easier when filling my customers data, I did a spreadsheet with the data and saved it as "Tab Delimited Text" file. The import works fine but when I try to add a button called "Customer List" and run JavaScript to trigger the pop-up to choose which data I want imported, the pop-up won't trigger. Oddly enough though, when I open the JavaScript console and press the Enter key on my numpad, the pop-up gets then triggered (as shown below) Obviously I'm missing something to make it work, and I'll be very thankful for any help or if you could point me to the right direction where to learn this since my JavaScript knowledge is very limited! Thanks in advance!
... View more
‎Mar 09, 2017
01:48 AM
Well I managed to come up with a pretty premitive solution since I don't know JavaScript. Thanks for the reply anyway!
... View more
‎Mar 08, 2017
07:58 AM
Hi, I was wondering how you can make radio buttons uncheck, if you fill a text field. And vice versa, when you check one the radio buttons the text field will be reset? Thanks in advance for any help!
... View more