As of December 1, 2020, Focal Point is retired and repurposed as a reference repository. We value the wealth of knowledge that's been shared here over the years. You'll continue to have access to this treasure trove of knowledge, for search purposes only.
Join the TIBCO Community TIBCO Community is a collaborative space for users to share knowledge and support one another in making the best use of TIBCO products and services. There are several TIBCO WebFOCUS resources in the community.
From the Home page, select Predict: WebFOCUS to view articles, questions, and trending articles.
Select Products from the top navigation bar, scroll, and then select the TIBCO WebFOCUS product page to view product overview, articles, and discussions.
Request access to the private WebFOCUS User Group (login required) to network with fellow members.
Former myibi community members should have received an email on 8/3/22 to activate their user accounts to join the community. Check your Spam folder for the email. Please get in touch with us at community@tibco.com for further assistance. Reference the community FAQ to learn more about the community.
I created an Email object in iWay Designer. One of the property of the email object is "Attachment Tag". Does anyone know what its value should be? I want to attach a file to the email. I have tried putting in the full path of the attachment file, but doesn't work.
Does anybody have answer?
Thanks, D
iWay adapter manager SAP Adapter Web Services SAP BASIS, Java Core
D, That was a good question. I attempted a couple of variations and all I could achieve was to get an email send with content text in the body. No attachments. Has anyone else used this object before?
-------------------------------------------------------------------------------- prod: WF/AS 8.2.05; OmniGen; In FOCUS since 1991
Posts: 104 | Location: United Kingdom | Registered: February 07, 2008
Hi, I'm trying to find an email server that I can use to check this out... Having looked at the manual, it seems as simple as: set the property "Add as attachment" to True, and put something in the "Document attachment name" field? I assume you're not seeing thses results?
OK, I've given this a try now, and it seems to work just fine! If you want to add the input document to the email as an attachment, then set "Add As Attachment" to True, and populate the "Document Attachment Name" field with something e.g. MyAttachment.txt. If your input doc isn't what you want attached, they you could use an XDConstant agent to change the document passed to the email node.
I have just created an email with an attachment of a file off the server by doing this: Set an XML tag in your incoming document to something like :
<filepath>C:/files/file.txt</filepath>
In the email node, set the "Attachment Tag" field to the tag name in the incoming doc that holds the path to your attachment file, in my case : "filepath" (but without the quotes). Make sure "Add As Attachment" is False, and "Document Attachment Name" seems to be ignored - attachment will be called same as file name, in my case "file.txt".This message has been edited. Last edited by: AdeH,
Yes, I have tried AdeH's solution which is including a node with the path to the attachment file. It did work.
Let's go further. If I do want to include input document as the body of the email and at the same time attach a file, but I don't want to include a xml node with the attachment file into the input document.
What I have tried the following, it didn't work.
Put the body xml into variable - mydocument with XDRegAgent and set the input document of email object to be the attachment. So I set "Add As Attachmemt" to be true and give "Dcoument Attachment name". In the "Content of body" as set it to be "SREG(mydocment)"
Any thoughts?
D
iWay adapter manager SAP Adapter Web Services SAP BASIS, Java Core
Email object used in process flow is used to send custom message or to attach any one file types like acx,dat,ftm,mas,pdf,txt to the mail id...
this file types should be present in the same application directories where the process flow is present...
example : i am going to attach text file (process.txt) which is in the same path where process flow (process_email) is there...
my process flow and my text file are in this path E:\ibi\apps\wfdqc...
in the email object properties give mail_id, subject, select attach file check box and in the file name give (process) and select txt as the extension...