Manage Learn to apply best practices and optimize your operations.

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.

  1. 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.
  2. Design your form with simple HTML, as such:

    Design your form with some HTML
    (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.

     

  3. Open your view in design mode and append ".doc" in your column along with your field name. For example:
    Dept+".doc"
    
  4. 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:

Dig Deeper on HTML for Lotus Notes Domino

SearchWindowsServer

Search400

  • Favorite iSeries cheat sheets

    Here you'll find a collection of valuable cheat sheets gathered from across the iSeries/Search400.com community. These cheat ...

  • HTML cheat sheet

    This is a really cool cheat sheet if you're looking to learn more about HTML. You'll find just about everything you every wanted ...

  • Carol Woodbury: Security

    Carol Woodbury

SearchDataCenter

SearchContentManagement

Close