Skip to Main Content
HCL Domino Ideas Portal

Welcome to the #dominoforever Product Ideas Forum! The place where you can submit product ideas and enhancement request. We encourage you to participate by voting on, commenting on, and creating new ideas. All new ideas will be evaluated by HCL Product Management & Engineering teams, and the next steps will be communicated. While not all submitted ideas will be executed upon, community feedback will play a key role in influencing which ideas are and when they will be implemented.

For more information and upcoming events around #dominoforever, please visit our Destination Domino Page

Status Under Consideration
Workspace Notes
Created by Guest
Created on Mar 8, 2023

Make NotesEmbeddedObject accessible from NotesStream

I'd like to be able to open files embedded as attachments in a RichText field from a NotesStream. For example, this could be achieved by extending the Open method of the NotesStream class such that it accepts a NotesEmbeddedObject instead of a file path.

Today, I'm forced to first save files to the file system before I can associate them with a stream. This may fail if the entity executing the code does not have sufficient permissions to access the file system.

  • Attach files
  • Admin
    Thomas Hampel
    Reply
    |
    Mar 11, 2023
    Did you know you can already do that? Here is a script library that does what you are looking for.

    https://lotusscript.torknado.com/blog/read-attachment-files-without-writing-to-disk/

    Thx Andre(!!)
    1 reply
  • Guest
    Reply
    |
    Mar 10, 2023
    EmbeddedObject.getInputStream

    This is one of the few things that Java has over LotsScript.

    It automatically creates a temporary file. In order to delete it, it is necessary to recycle and close the objects according to the documentation.

    2 replies