IBM Filenet eform attachment - filenet-p8

Is there any way that the Filenet eForm can validate if there is an attachement attached ? That is ...eform will prompt for attachment if user did to attach any supporting documents.

Related

Downloading Email body and attchments in .MSG format in Web Outlook

Is it possible to download email body and attachments in a file in .MSG format in Outlook Web? I am working on an Outlook 365 Web addin and I require to download entire message along with attachments in .MSG format?
Edit: Is there any open source library in .NET which does the same?
Thanks,
I have to do the same thing, but since the company I'm writting the addin for is using a version of Windows/MSOffice where the webview that the addin runs inside is handled by a IE11 process, I got OOM-error when trying to download an attachment bigger than 7MB via a EWS request (using the ews-javascript-api).
Now I'm using a IIS server to which I send the eschangeToken and EmailId and handle the download/upload of the email there via EWS-managed-api from MS.
Downloading the email as .MSG is not possible AFAIK, I download them by getting the MIME-content of the email and saving it as an .EML file.
Here MS provides some examples on how to use the ews-managed-api.
EWS cannot convert to MSG. You can try to save in the Fast Transfer Stream format using the ExportItems EWS operation (which, just like the MSG format, preserves most properties). The EML format, on the other hand, will not preserve MAPI specific properties. The FTS data can then be converted (without any loss of fidelity) to the MSG format using Redemption (I am its author - RDOSession.CreateMessageFromMsgFile / RDOMail.Import(..., olFTS) / RDOMail.Save), but since Redemption is a native COM library, that code would have to run on your server, not inside the browser.
RDOSession session = new RDOSession();
RDOMail msg = session.CreateMessageFromMsgFile(#"c:\temp\test.msg");
msg.Import(#"c:\temp\test.fts", rdoSaveAsType.olFTS);
msg.Save();

Redemption attachement filename escaping differs from Outlook

We are trying to save attachments selected by the user using Redemption but stumbled on filename escaping inconsistency between VSTO and Redemption. What we do:
By attachment context menu save attachmentSelection[1] index and filename to the db and also message entryId and storeId.
After a while (maybe even after Outlook restart) we need to save this attachment to file. To do this, we get that e-mail with Redemption by id, get attachment by index (rdoMail.Attachments[index]) and also ensure that filename match, since according to this:
https://learn.microsoft.com/en-us/dotnet/api/microsoft.office.interop.outlook.attachment.index?view=outlook-pia#Microsoft_Office_Interop_Outlook_Attachment_Index
index property is valid only during the current session. Although it is not clear what they mean. Can it change if the e-mail is saved and sent already? Or received?
For reply e-mail VSTO Attachment.Filename is "RE Test.msg" and RDOAttachment.Filename is "RE_ Test.msg" (this is msg attachment of another e-mail).
So, the questions are:
why it is different and is it documented somewhere? Can we, for example, replace _ with string.Empty for Redemption filenames or there can be other cases?
Or maybe there is a way to get RDOAttachment from Outlook Attachment object somehow?
Can we rely on that Redemption attachment index is the same as Outlook one?
Sounds like you are dealing with an embedded message attachment - unlike regular by-value attachments that expose the PR_ATTACH_LONG_FILENAME MAPI property, there is no intrinsic file name property for the embedded attachments. Both OOM and Redemption generate that property from the the embedded message subject, whcih you cam access through RDOAttachment.EmbeddedMsg.Subject. OOM does not expose embedded message attachments at all.
Yes, use RDOSession.GetRDOObjectFromOUtlookObject method
The index usually does not change, but it might. MAPI itself uses PR_ATTACH_NUM to open the attachment using IMessage::OpenAttach, but it can be different based on how the message was opened - a fake IMessage returned from MailItem.MAPIOBJECT can have a different value of PR_ATTACH_NUM from the native message returned by the store provider.

In Dynamics 365, how to customize the email page to add custom image based on email recipient?

We have an enterprise web api that generates a custom coupon barcode for based on customer id or email.
The Dynamics 365 email activity can send out rich emails; we want to insert custom barcode image into the email.
I have already added a button to this ribbon of this page so that it call open a popup window that can execute my javascript.
But I need to get the email address of the recipient in the "To" field of the email. How do I get this field?
When you are opening the popup, you can send the contact detail in param. Or you can read the parent form fields like discussed here based on your implementation.
Either way, you have to get the activity party list from To field & again you have to make a service call to pull email address. Because only Id & Display Name will be readily available in party list or lookup. Everything else has to be retrieved from server.

Recipient is Unable to Open Attachments where Email Attachment is sent from oracle

I am able to receive mail with attachment but I am not able to open it(Image file).
It shows as "wrong file format".
Thanks in advance..

Email attachment in Oracle BI Publisher?

The send button in BI Publisher (Oracle Business Intelligence Publisher Release 10.1.3.4) will send the generated report into the body of an email. We have to manually key in email parameters like to, cc, etc.
Is there a way we could attach a document say pdf here (without bursting)? I am sure we can burst attachments with bursting. Kindly tell me if there is any other way, we could attach a document while sending the report as email by clicking on the send button
Don't use Send. You can run the report and have it sent as an attachment in the email. In order to do this click on the Schedule link on the top right hand corner while you are in the report.
This will take you to a page where in the Time section (see below) you can either run immediately or schedule it to run automatically daily/weekly/monthly, and then in the Delivery section specify your To, CC, Subject etc. and then Click on "Submit".
This way your report will be emailed as an attachment based on your template type (i.e. as PDF if your template is rtf, as Excel if your template is Excel)

Resources