Hi Fred K
I have checked the attachment thing is not working for me as I have created the pdf form in custom BO and I am generating the pdf in custom BO Action generate_pdf from custom Adobe form.
But I have extended the Service ticket with an action to send email where I need to send that attachment created in custom BO in an email.
Hence I need to read that attachment created in custom BO in the XBO. But the attachment created in custom BO is of type binary and the one we are using to send in email is of Platinum: Attachment;.
var ATTACHMENT_TYPE_DOCUMENT : DocumentTypeCode;
ATTACHMENT_TYPE_DOCUMENT.content = "10001";
// create PDF
var FormTemplateLanguage = "E";
var FormTemplateCode : OutputRequestFormTemplateCode;
FormTemplateCode.content = "FormTemplateHeaderCode";
var pdfDocument = OutputManagementUtilities.GetPDF(this, FormTemplateCode, FormTemplateLanguage);
if (!pdfDocument.content.IsInitial()) {
Trace.Info("document successfully created");
att.Binary=pdfDocument.content;
att.FileName="hello.pdf";
atts.Add(att); // att is of type Dependent:Engineering
So how I can read my attachment in custom BO which is of Binary and pass it to attachment in action send_email in the XBO of type Dependent Engineering.