Welcome to the #dominoforever Product Ideas Lab! 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 jointly by the IBM & 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.


Add parameter to method embedObject of class NotesRichTextItem to avoid compressing of attachments

In Notes it is possible to decide whether an attachment in a richtext field should be compressed or not by selecting or deselecting the checkbox "Compress".

In the method embedObject of the class NotesRichTextItem in Lotusscript or RichTextItem in Java there is no possibility to do this programatically when using EMBED_ATTACHMENT for parameter type.

A parameter could be added to indicate wheter compressing should be used for attachments or not. Alternatively, the parameter class which is always empty for EMBED_ATTACHMENT could be used for this.

  • Avatar32.5fb70cce7410889e661286fd7f1897de Guest
  • Jul 26 2018
  • Attach files
  • Avatar40.8f183f721a2c86cd98fddbbe6dc46ec9
    Guest commented
    August 29, 2018 07:30

    Very important idea!

    This is necessary for storing MP4 videos to be playable within a browser video player for Domino web applications.

    If the video is stored compressed, which is unfortunately the default, when the file is embedded via the embedObject function of the NotesRichTextItem class, it can´t be streamed by the web video player.

    In other words, the video player needs to download the whole file, before the video starts.

    The reason is:

    Domino only supports "resuming" for files which are stored uncompressed.

    If the file is insert manually via the Notes Client and the checkbox "compress" is unchecked within the file dialog, the web video player is able to instantly play the video - because Domino supports resuming then!

     

    There are worse workarounds for this case - for example making a full DXL export of the Notes document containing the video file, changing the compress flag within the XML data and reimporting the Notes document. But this is nearly unpossible for larger video files!

     

    Adding a flag to the embedObject method should be a simple thing!

     

    Mark Reiser, sirius-net GmbH

     

    Lotus Script, LS, Script, Compression, Compress