on 09-28-2006 5:28 AM
Hi all,
From my webdynpro application i am creating a html file and attach this file as attachment while sending emails from the application.
The Image in the HTML file is not displaying when we open the email attachment. Now the image is under source-->mimes folder only. It is of type JPG. What should i do to display the image in the attachment html file.
Try to use the WDURLGenerator API to create absolute URLs for the images.
Armin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
Create Context element in UIelement Interactive form inside mappednode like ImageURL.
Write the code in Init() method like this
try {
String url = WDURLGenerator.getAbsoluteWebResourceURL(wdComponentAPI.getDeployableObjectPart(),"LII.bmp");
wdContext.currentZ_Ff_Ar_Invoice_Copy_InputElement().setInvoiceUrl(url);
}
catch(Exception e)
{
throw new WDRuntimeException(e);
}
This might helps you
Thanks
Lohi.
Hi Krishnaveni,
Try putting it in src\mimes\Components\<Comp1> folder and check it.
Regards,
SK.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
101 | |
13 | |
13 | |
11 | |
11 | |
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.