cancel
Showing results for 
Search instead for 
Did you mean: 

Issues regarding Images

Former Member
0 Kudos

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.

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Try to use the WDURLGenerator API to create absolute URLs for the images.

Armin

Former Member
0 Kudos

Thanks for your response.

Could you explain me briefly.

Former Member
0 Kudos

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.

Former Member
0 Kudos

Hi Krishnaveni,

Try putting it in src\mimes\Components\<Comp1> folder and check it.

Regards,

SK.

Former Member
0 Kudos

Thanks for your reply.

I tried in the way what you mentioned, then also Image is not displaying. Is there any more suggestions.