cancel
Showing results for 
Search instead for 
Did you mean: 

Add Image to PDF interactive form

Former Member
0 Kudos

Hello again

I'm having some difficulties also with another aspect of interactive forms. I want to add an image in the created pdf, but the url is generated from SAP R3, so i have it in a node attribute outputed from a function model. I see a field URL in the Image Field provided, but can it be mapped to a context attribute ??

thank you in advance,

Nuno Santos

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi ,

You can mapped to that URL that might helps you.

u can mention in the URL like this $record.<attributename>

Thanks,

Lohi.

Former Member
0 Kudos

I tried different forms but the image is not appearing.

The node mapped in the interactiveForm is called AnualForm, the i have another node called Identification, and finally the attribute PHOTO (on caps, just like that).

So... AnualForm->Identification->PHOTO

I allready tried entering $record.PHOTO

$record.AnualForm.Identification.PHOTO

$record.Identification.PHOTO

but none of these works. Am i missing something ?

Former Member
0 Kudos

Problem Solved. I just added this to the script (took it from one of the manuals):

this.value.image.href = xfa.resolveNode(this.value.image.href).value;

thank you everyone for your help.

Answers (1)

Answers (1)

Former Member
0 Kudos

hi Nuno,

With respect to your problem regarding adding of an image to Interactive form, basically every image field has a URL defined for every image.

So as the URL is coming from R/3 system, so I suppose directly map that URL output parameter to that image field in the properties for that image field.

Thanks,

kris