Expand my Community achievements bar.

Learn about Edge Delivery Services in upcoming GEM session
SOLVED

Trusted functions in Reader through browser plugin

Avatar

Level 8
Level 8

Hi all,

I have created a trusted function that works perfectly when I open my form directly through Reader or Acrobat :-)

My trusted function does something like import a file as an attachment from a certain place on disk.

However when I try to open it through the browser plugin (ie. Internet Explorer) it does not work - what could I be doing wrong? And what do I need to take into consideration to make it work through the browser plugin?

Please don't hesitate to ask if you need further information.

Thanks in advance

Sincerely

Kim Christensen

Dafolo A/S

Denmark

1 Accepted Solution

Avatar

Correct answer by
Level 5

Strange i did not have any issue with setting up trusted functions in reader. Tried it in a browser and had no problem. Make sure you have the javascript file containing your trusted function in the correct javascript folder. Anything on the console? Might be something else in the code which reader is complaining about.

View solution in original post

2 Replies

Avatar

Correct answer by
Level 5

Strange i did not have any issue with setting up trusted functions in reader. Tried it in a browser and had no problem. Make sure you have the javascript file containing your trusted function in the correct javascript folder. Anything on the console? Might be something else in the code which reader is complaining about.

Avatar

Level 8
Level 8

Hi again dohanlon,

You were right, something in my script on the form was not executed correctly - seems like the util.stringFromStream does not work in the form if you run it in the plugin. I changed my code into usinsg the stringforStream method in my trusted function and then it suddenly worked.

Thanks a lot for your help btw - it led me into understanding that it was possible to use the trusted functions inside the belly of the browser plugin also

\Kim