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.

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

This was first published in April 2009

Dig deeper on HTML for Lotus Notes Domino

0 comments

Oldest 

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to:

-ADS BY GOOGLE

SearchWinIT

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

SearchEnterpriseLinux

SearchVirtualDataCentre.co.UK

Close