on 09-18-2008 5:10 PM
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,
Please check that Embed Image Data is enabled for image fields in the interactive form.
nikhil
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.