How to open attached EML format in outlook when retrieving from Filenet instead of viewing it in snowbound
I am trying to retrieve the EML format file from filenet and to open it in outlook.
Snowbound is the default viewer to view all type of images. But I need to open EML file alone in outlook instead of snowbound viewer. I have tried below code to implement but its not working. Can someone suggest the solution please?
var oSafeURL = new SafeURL("LBG-FW-WFI-.DisplayEMLDoc");
And also in DisplayEMLDoc I am just calling the service activity to retrieve image from filenet.
***Updated by moderator: Lochan to add Categories***
I have managed to open it in outlook which has been retrieved from filenet. I have called the script where we have called activity in it. In activity I am making service call and used Java code to decode the content.
Please find script rule and JAva code below.
var strRequestorURI = "<pega:reference name="pxRequestor.pxReqURI" mode="normal"/>";
var oSafeURL = strRequestorURI + "?pyActivity=LBG-FW-WFI-.DisplayHTMLDoc&docID="+strInsName;