Open Lotus Notes documents in Microsoft Word without coding
Using the content-type attribute in Lotus Notes forms offers developers some benefits. In this tip, you'll learn how to edit a Lotus Notes document online in Microsoft Word -- without having to write a single line of code.
You edit any Notes document online in Microsoft Word using the content-type attribute in a Lotus Notes form. This tip explains the steps to do this without writing a single line of code.
Assume, for example, that you have a form and view with a few Lotus Notes documents.
- Open your form in design mode and go to the second tab, labeled Defaults. Select Others from the content-type section and add application/msword.
- Design your form with simple HTML, as such:
(Click on code for enlarged view and script download.)You don't need to create any extra forms if your application runs on both Lotus Notes and the Web. Hide the HTML portion in Notes; the remaining form design can remain the same.
- Open your view in design mode and append ".doc" in your column along with your field name. For example:
Dept+".doc"
- Save and run the view on the Web. Click the hyperlink column and you'll see the document in Microsoft Word.
Do you have comments on this tip? Let us know.
This tip was submitted to the SearchDomino.com tip library by member Rishi Sahi. Please let others know how useful it is via the rating scale below. Do you have a useful Lotus Notes/Domino technical tip or code snippet to share? Submit it to our monthly tip contest and you could win a prize.
Related resources from SearchDomino.com:
- Create file system labels for Microsoft Excel and Word mail merges
- How to convert Microsoft Word or Microsoft Excel documents to HTML