× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



A question for Domino Java programmers here:

I am trying to create a stand alone Java program that will grab a file off
the IFS, attach it to a document and email that document.  I have an agent
running on my client that will do just that and it works great.  Now I'm
trying to take that same code and logic and create a Java program that will
run on the iSeries.  It seems that the embedObject method isn't supported
on the iSeries however -- from the help file:  "Note  Embedded objects and
object links are not supported for OS/2, UNIX, and the Macintosh. File
attachments are."  From searching on File Attachments in the help file, I
can't find anything about creating file attachments, only extracting file
attachments.

Any other suggestions ?

Here's the code that works on my client and doesn't work when run on the
iSeries:
body.embedObject(EmbeddedObject.EMBED_ATTACHMENT, null, "\\\\url of
iSeries\\home\\classpath.txt", "classpath.txt");

Thanks,
Bob



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.