Focal Point Banner


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.


Focal Point    Focal Point Forums  Hop To Forum Categories  iWay Software Product Forum on Focal Point    iWay Service Manager - Email object

Read-Only Read-Only Topic
Go
Search
Notify
Tools
iWay Service Manager - Email object
 Login/Join
 
Member
posted
Hi All,

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
 
Posts: 22 | Registered: January 15, 2008Report This Post
Platinum Member
posted Hide Post
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, 2008Report This Post
Gold member
posted Hide Post
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?


iWay 5.5 SMSP1 and 6.0.1 on Intel/Linux
 
Posts: 59 | Location: Birmingham, Blighty | Registered: October 30, 2007Report This Post
Gold member
posted Hide Post
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.


iWay 5.5 SMSP1 and 6.0.1 on Intel/Linux
 
Posts: 59 | Location: Birmingham, Blighty | Registered: October 30, 2007Report This Post
Gold member
posted Hide Post
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,


iWay 5.5 SMSP1 and 6.0.1 on Intel/Linux
 
Posts: 59 | Location: Birmingham, Blighty | Registered: October 30, 2007Report This Post
Member
posted Hide Post
thanks, folks.

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
 
Posts: 22 | Registered: January 15, 2008Report This Post
Gold member
posted Hide Post
Hi ESky,
This seems pretty simple to do, I've just done it, so will explain:
I had an input doc that looked a bit like this:

 <a>
	[b]C:\files\file.txt[/b]
	<c>Hello,
		I am the body part of this email, 
		
		Lots of love from
		iWay
	</c>
</a> 


and set the Email node up like this:
Content = XPATH(/a/c)
Attachment Tag = b
Add As Attachment = false

And I get an email with the body set to
"
Hello,
I am the body part of this email,

Lots of love from
iWay
"

And the file C:\files\file.txt attached to the email Cool


Now I wonder what happens if there's more than one XML node called "b" in the document? Confused


iWay 5.5 SMSP1 and 6.0.1 on Intel/Linux
 
Posts: 59 | Location: Birmingham, Blighty | Registered: October 30, 2007Report This Post
Member
posted Hide Post
hi,

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...

and now run the process flow and check mail...

thanks

thenmozhi...
 
Posts: 8 | Registered: September 30, 2008Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  iWay Software Product Forum on Focal Point    iWay Service Manager - Email object

Copyright © 1996-2020 Information Builders