cancel
Showing results for 
Search instead for 
Did you mean: 

Setting Image field in adobe form

Former Member
0 Kudos

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,

Accepted Solutions (0)

Answers (2)

Answers (2)

nikhil_bose
Active Contributor
0 Kudos

Please check that Embed Image Data is enabled for image fields in the interactive form.

nikhil

Former Member
0 Kudos

Hi Naresh,

Copy the images to src -> mimes - > Components of your development component / project.

To the value node set the url like the following way ...

http://<hostname>:<port number>/webdynpro/resources/image.gif

Thanks

Madhu