Tip

Open Lotus Notes documents in Microsoft Word without coding

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

There are Comments. Add yours.

 
TIP: Want to include a code block in your comment? Use <pre> or <code> tags around the desired text. Ex: <code>insert code</code>

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
Sort by: OldestNewest

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:

Disclaimer: Our Tips Exchange is a forum for you to share technical advice and expertise with your peers and to learn from other enterprise IT professionals. TechTarget provides the infrastructure to facilitate this sharing of information. However, we cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the Ask The Expert services and your reliance on any questions, answers, information or other materials received through this Web site is at your own risk.