cancel
Showing results for 
Search instead for 
Did you mean: 

Multiple images into a subform in a dynamic non-interactive adobe form

Former Member
0 Kudos

I want a to show a set of images into a PDF (one page for each image) with a non interactive adobe form in Webdynpro.

I followed the tutorial "Dynamic Non-Interactive PDF Form".

I've a multiple context node: 'Images' with an attribute 'url' with the route for each image.

In the form, I've subform1, subform2 within, and an image field into subform2.

Image's url is: $record.Images[*].url

Image's script is: this.value.image.href = xfa.resolveNode(this.value.image.href).value;

It doesn't work.

I found this thread:

"Adobe Forms and Dynamic Images"

And changed the script to:

this.value.image.href = xfa.record.Images.URL;

I've the same problem: the image rendered is always the same, although the url is different for each element.

Help me, please.

Regards

Anibal Pozo.

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Sorry, I know onlt threw transacion SFP.

Former Member
0 Kudos

Are you talking about developing in SAP, in transaction SFP?

Former Member
0 Kudos

No. It's form scripting. In any case I'm working with Webdynpro Java.

I tried this code in table 'initialize' event.

for int=0 upto $record.nImages do

Table1.Row1[int].ImageField.value.image.href = $record.Images[int].url;

Table1.Row1[int].Cell4.value.#image.href = $record.Images[int].url;

endfor

Cell4 is a static image.

In 04SP9, it show always the same image in the image field (first column), and alternating image in cell4 (second column).

In 04sSP6, it shows always the same image in all the rows in both columns.

Any idea? I didn't find any OSS related.