cancel
Showing results for 
Search instead for 
Did you mean: 

Calling an image dynamically

Former Member
0 Kudos

Dear All,

I am using Google chart api for displaying graphs on adobe.For that i need to pass the values dynamically in the url of the Image and this should happen on the click event of a button.The parameters for the graph come from two text boxes.I have tried using the javascript on the click event but this does not work.I dont know where i am going wrong.Plz Help.

Thanks & Regards,

Geet Bijlani

www.saphcm.org

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Geet,

I wrote a solution for Reader 9 here: http://www.adobeforums.com/webx/.59b6ebde/0

Michal

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Geek,

I tested it. Under Reader 8.1 and 8.1.2 it works. Under Reader 9.0 I got an error message:

NotAllowedError: Security settings prevent access to this property or method.

Net.HTTP.request

I will try to solve this problem but it is maybe a security feature.

URL adress of google chart is the parameter pUrl of function googleChart. So it is dynamic.

One more notice: You must generate pdf file if you want to test it. It doesn't work under "Preview PDF" in LC Designer.

Michal

Former Member
0 Kudos

Hi Geet,

I wrote a solution here http://www.adobeforums.com/webx/.59b6ebde

(I wosn't able to write it in this forum

Michal

Former Member
0 Kudos

Dear Michal,

I did as you said but it doesn't work.Nothing happens on the click of button.

Secondly,i want to pass the values to the graph dynamically i,e if i pass the variables in the URL will it work because it doesn't work if you pass the url in binding of the image field along with the variables.

Thanks & Regards,

Geet Bijlani