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:
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:
- 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.