Question

I have notes document with rich text field. In this RTF there is attachment placed. I would like to redirect (print) this attachment contents in Domino Agent accessed from web browser.

I know I can save NotesEmbeddedObject on disk and then read it and post... but this does not satisfy myself. I am looking for in-memory solution.

Was it helpful?

Solution 2

I figured out that this was wrong concept.

I used possibility to access files directly on document. Also I have decided to store more than one file in document, thus I decided to make different form for web access and print document list in the way suites my solution:

Here is document with files: http://ppndev01.ppn.no/PPNWebSite.nsf/files/mifid

OTHER TIPS

If you are using R8, I guess you could use the DXL utilities to export the attachments uncompressed (via the UncompressAttachments property) and in an agent and dump that to the web browser. Prior to R8, you get the attachment with whatever compression the database uses.

With earlier version of Notes, you can get an stream of the EmbeddedObject with Java. This seems to detach the attachment to a temporary file "under the hood".

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top