Demo: Attachment Viewer 2.0 for Lotus Notes

Attachment Viewer 2.0 beta – MS Office Support!

I need some help testing this out. After playing around a little bit with C# and the MS Office integration API’s I was able to compile an executable that calls out to MS Office to show Documents, Presentations, and Spreadsheets. The architecture is pretty straightforward, the attachment viewer calls out to an executable to have the file converted to HTML and then the document is shown in an iframe in the viewer. I have seen some minor issues and thankfully no crashes.

This version is also Dojo enabled and currently needs to have internet access in order for it to work since I pull Dojo 1.5 from the Google CDN. You will notice the Dojo toolbar and the different view modes – Film Strip, Slide Show, Thumbnails:

Requirements:

Installation Instructions:

  • If you have a 1.0 version of the attachment viewer installed, please make sure you uninstall it first.
  • Once you have the older version installed you can drap and drop the icon below to your My Widgets panel to have the new Eclipse plugins installed.

Drag this to My Widgets in Lotus Notes

  • You may also need to set the preference for the viewer under File | Preferences:

Once I get some good feedback I will be posting the binaries and sources to the OpenNTF project.

Some known issues:

  • The thumbnail view does not show the last image as a thumb
  • Sometimes the MS Office link is broken, a restart or shutting down MS Office may be needed.

In advance, thanks for all of your feedback and interest in this project!

Demo: Attachment viewer “inside” of mail, supports code/text files

After playing a little bit with the viewer and seeing what kind of files I get in email I realized a common format is simply code or text files.  So I went ahead and added support for viewing text files, including C, Java, C++, XML, HTML, etc.  The primary difference with these kinds of files is I have to actually read the contents then place them within the HTML.  I also have to change things like <> to &lt&gt so it is not considered HTML by the browser.

Lastly, using the method shown in this article, I put the Eclipse view in my mail template so it is available when I open a Memo or Reply.  This was in the last demo but you may not have caught it.

For video click more.

Continue reading