cancel
Showing results for 
Search instead for 
Did you mean: 

Get image using dynamic URL in ADOBE forms.

Former Member
0 Kudos

Hi Guys,

I have a requirement to show a dynamic image on ADOBE forms.

The image supplied will be via a URL.

I tried to do it by creating an image in the context node and selecting "Graphic Reference" and passing the URL in the URL section, but no luck.

I also tried writing a java script  Imagename.value.image.href = "Some URL", but again no luck.

I have gone through many documents present on SAP help and other site where they have said that it can be done using the "Graphic Reference" way.

I know we can do it with the "Graphic content" option and passing the image in binary format but my requirement here is to do it with URL.

Any help will be highly appreciated.

Accepted Solutions (1)

Accepted Solutions (1)

prajeshdesai
Contributor
0 Kudos

I guess there was no authorization to access HTTP Extension,

have a look at below,

Integrating Graphics into the Form Context - SAP Interactive Forms by Adobe - SAP Library

Inserting a Graphic - SAP Interactive Forms by Adobe - SAP Library

and do not forgot to bind created graphics node to image field.

Hope this helps.

Answers (1)

Answers (1)

diego_santos
Employee
Employee
0 Kudos

Hi

It works here with a simple Image object.

Please ignore the psychedelic effects. This is caused by the .PNG file.

In the end it actually works.

Is there any additional requirement?

Regards,

Diego

Former Member
0 Kudos

Hi Diego,

The example you showed above is of a static image.

This sure works fine but my requirement is to pass a URL (dynamic) through the interface and use it to show images.

Select the Graphic type as "Graphic Reference" and pass the URL in the URL tab as shown below.

Here IV_PO_HEAD-FP_NAME will contain the URL of the image which i want to display on the Form.

But unfortunately I am not able to get the image. It shows blank.