Q
Problem solve Get help with specific problems with your technologies, process and projects.

Can Domino change an uploaded attachment to HTML?

Hello. Can Domino change an uploaded attachment (such as a MS Word or Excel doc) to HTML? Can LotusScript do it?
LotusScript can't do it without assistance because the Domino server doesn't know how to interpret the contents of MS Office files. However, if your Domino server is running on an MS Windows box with MS Office installed, you could use LotusScript to detach the file to the local file system, then use OLE automation to read the file and save it as HTML, then attach or embed the resulting HTML in the Notes document.

That's more code than I have time to write now, especially considering that the HTML export files might contain images which are saved in separate files, which would also have to be attached to your Notes document. However, watch for an LDD Sandbox download, which should be available within a week or two.

Note: As of this writing, Domino 6 LotusScript doesn't let you get at attachments created from a browser -- it seems the NotesDocument.EmbeddedObjects property is broken. Development is working on it.

Dig Deeper on HTML for Lotus Notes Domino

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

Start the conversation

Send me notifications when other members comment.

Please create a username to comment.

-ADS BY GOOGLE

SearchWindowsServer

Search400

  • iSeries tutorials

    Search400.com's tutorials provide in-depth information on the iSeries. Our iSeries tutorials address areas you need to know about...

  • V6R1 upgrade planning checklist

    When upgrading to V6R1, make sure your software will be supported, your programs will function and the correct PTFs have been ...

  • Connecting multiple iSeries systems through DDM

    Working with databases over multiple iSeries systems can be simple when remotely connecting logical partitions with distributed ...

SearchDataCenter

SearchContentManagement

Close