on 06-10-2009 12:14 PM
Hi,
How to store image in r3 table and get it in our application when u run it.
Regards,
H.V.Swathi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Thanks for ur reply.
I have created a function module to store image in the form of byte array and retrive it.
I want to retrive that byte array and display that in the image UI element.
How i can do that.
To retrive that byte array i have written code like this.
byte[] pic=wdContext.currentWaElement().getEmp_Image();
IWDResource res=WDResourceFactory.createCachedResource(pic,"Image",WDWebResourceType.JPG_IMAGE);
String url1 = res.getUrl(WDFileDownloadBehaviour.ALLOW_SAVE.ordinal());
wdComponentAPI.getMessageManager().reportSuccess("urlllll"+url1);
wdContext.currentResourseElement().setPicURL(url1);
PicURL value attribute is mapped to image source property.
Regards,
H.V.Swathi
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.