cancel
Showing results for 
Search instead for 
Did you mean: 

Dynamic image.

Former Member
0 Kudos

In my Web Dynpro Java application I have a gif image in the form of a byte[].

I would like to put such image in a pdf file generated through an Interactive Form.

I found a similar post in this forum, but for the ABAP language, which I can't understand.

I think that the steps I have to do are the following:

1. encode my byte[] image in a base64 string (easy)

2. put the base64 string in an attribute of a context node

3. share the context node with the Interactive Form

4. insert an Image Field in the Interactive Form

5. write some script to assign my base64 string image to the Image Field.

What I miss is:

a) the data type of the attribute in the context

b) an example of the script to assign my base64 string image to the Image Field.

Thanks in advance for any help.

Livio.

Accepted Solutions (1)

Accepted Solutions (1)

OttoGold
Active Contributor
0 Kudos

a) the data type of the attribute in the context

String

b) an example of the script to assign my base64 string image to the Image Field.

I am not aware of any scripting needed to make this work. Elaborate or skip the step.

Regards Otto

Former Member
0 Kudos

Thank you, Otto!

I just bound the base64 string to the Image Field and everything worked perfectly.

I was looking faraway and the solution was at hand.

Thanks again,

Livio.

Answers (1)

Answers (1)

OttoGold
Active Contributor
0 Kudos

Always glad to help:)) Good luck with your development, regards Otto