Q

Creating a link on an HTML page to a Microsoft Word attachment in a Lotus Notes database

SearchDomino.com LotusScript expert Cregg Hardwick helps a Domino developer who wants to create a link on an HTML page to a Microsoft Word attachment in a Lotus Notes database.

I want to be able to attach a Microsoft Word document in the Lotus Notes database and then create an HTML page where I can create a link to that document. When I click on the link, only the document should be opened, not the database. Is this possible?

Also, is it possible to configure permissions in such a way that the Microsoft Word document saved in the Lotus Notes database as an attachment cannot be saved on the local drive or printed?

You need to use the http://Host/Database/View/Document/$File/Filename?OpenElement URL syntax. For full details on Domino URL syntax, take a look at the Domino URL cheat sheet on the IBM Web site.

I'm 99% sure you cannot prevent a user who can see the file from downloading or printing it -- at least not within Lotus Notes. You might be able to make the file read-only and print-resistant before you attach it, but that's another question altogether.

Do you have comments on this Ask the Expert Q&A? Let us know.

Related information from SearchDomino.com:

 

This was first published in May 2007

Dig deeper on HTML for Lotus Notes Domino

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

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