Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Setting Image field in adobe form

Hello Gurus,

I have a question setting the image field dynamically.

I have created a following context structure for

DataSource(ValueNode Cardinality (1..1))->imagenode(Valuenode Cardinalty(0..n))->image(Value attribute))

I have binded the Datasource node to the Datasource of the interactive form.

I have dynmaically created the imagenode and set the value for the image.

for(int i=1;i<5;i++)

{

image= wdContext.createIImagenodeElement();

if(i==1)

image.setImage("http://Image1.png");

if(i==2)

image.setImage("http://Image2.png");

if(i==3)

image.setImage("http://Image3.png");

if(i==4)

image.setImage("http://Image4.png");

wdContext.nodeImagenode().addElement(image);

}

Now I want to set this node to the image field in adobe.

In URL of the image field I have enterted $record.imagenode[*].image and its not working where as the same thing works for text field.

Please let me know if any one has any idea on this.

Thanks,

Former Member
Not what you were looking for? View more on this topic or Ask a question