Home > Ask the Domino Experts > LotusScript Questions & Answers > Creating a link on an HTML page to a Microsoft Word attachment in a Lotus Notes database
Ask The Domino Expert: Questions & Answers
EMAIL THIS

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

Cregg Hardwick EXPERT RESPONSE FROM: Cregg Hardwick

Pose a Question
Other Domino Categories
Meet all Domino Experts
Become an Expert for this site


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


>
QUESTION POSED ON: 03 May 2007
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?


>
EXPERT RESPONSE
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:

  • Expert Advice: Create an icon on an HTML page to open a Notes database
  • Reference Center: Web Development tips and resources


  • Sound Off! -   Be the first to post a message to Sound Off!


    Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


    RELATED CONTENT
    LotusScript
    Modifying LotusScript code for date and time handling
    Use DXL utilities for advanced replication settings in Notes
    Use LotusScript to create encrypted replicas
    Write a LotusScript agent to automate file attachments
    Troubleshooting a scheduled agent not running on a Global Notes Architecture (GNA) server
    Setting up local replication of a Lotus Notes database for offline employees
    LotusScript to extract and move attachments to a Lotus Notes mailbox or file folder
    Copying a rich-text field with attachments to a Lotus Notes document
    How to convert Lotus Notes documents to .PDF files
    Can I stop Lotus Domino Server from transforming embedded images into attachments?

    HTML for Lotus Notes Domino
    Mimic Lotus Notes Domino application functionality on the Web
    Top 10 Lotus Notes Domino programming and development tips of 2007
    A bevy of Notes/Domino development tips
    Top 10 Notes/Domino developer tips of 2006
    Styling Lotus Domino Web fields
    A smorgasbord of Notes/Domino development tips
    An easier way to view multiple columns on the Web
    How to print a form in landscape format automatically
    Top 10 Domino developer tips of 2005
    HTML link works even though HTML text is ignored

    Lotus Notes Domino Access, Permissions and Authentication
    Update the ACL from the Roles view with LotusScript
    Secure Lotus Notes 8 with the Internet password lockout feature
    Find a Lotus Notes user within NAB Deny Access groups
    Move a Lotus Domino server to a new certifier without a reinstall
    Troubleshoot Lotus Notes Out of Office (OOO) agent error messages
    Securely connect Lotus Domino servers on different domains
    Avoid Lotus Notes Domino email archiving ACL issues with AdminP
    Creating custom Lotus Notes Domino login forms
    Protect Lotus Notes from malicious code with the Domino ECL
    Use SMTP outbound authentication to relay hosts in Lotus Notes Domino 8

    RELATED RESOURCES
    2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
    Search Bitpipe.com for the latest white papers and business webcasts
    Whatis.com, the online computer dictionary



    Search and Browse the Expert Answer Center
    Search and browse more than 25,000 question and answer pairs from more than 250 TechTarget industry experts.
    Browse our Expert Advice

    HomeNewsTopicsITKnowledge ExchangeTipsAsk the ExpertsMultimediaWhite PapersDomino IT Downloads
    About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
    SEARCH 
    TechTarget provides enterprise IT professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective IT purchase decisions and managing their organizations' IT projects - with its network of technology-specific Web sites, events and magazines.

    TechTarget Corporate Web Site  |  Media Kits  |  Reprints  |  Site Map




    All Rights Reserved, Copyright 1999 - 2008, TechTarget | Read our Privacy Policy
      TechTarget - The IT Media ROI Experts