Create a Link to a Network File in Memo

Is your company running into an issue where people are sending messages back and forth with large attachments and

overloading the mail server? I have added a small addition to the mail memo form that allows the user to create a link to a file residing on a valid network drive rather than sending the attachment. When the receiver opens the note, he/she now has a message that shows the link and an icon that when pressed will open the corresponding application and file. Create a form with a layout region only. (I called it parameters). In the layout region, add two fields with a label for each. For the first field (I called it application.), make it Keyword, editable and combo. Then add the following to the keyword choices: C:Program FilesMicrosoft OfficeOfficeExcel.exe C:Program FilesMicrosoft OfficeOfficeWord.exe and so on, depending on the types of links you want to offer. For the second field (I called it path.), make it text and editable. This will be used for the user to enter the path and file name they want open. ex.: e:directorywordfile.doc Now, in the memo form, you can add the following: Create an action button. (I called it "send a link to a network file.") This button opens the dialogbox that you created in the previous form. Under the body field in the memo form, add an action hotspot (I have a pointing finger.) and add the following code: @Command( [Execute]; application; path ) This will start the application that the user chose from the dialogbox in the combobox and open the file that the user entered in the path field in the dialog box. I gave a label to the hotspot. (Please open the following attachment: path (field).) I also hid the paragraph unless there was something in the path and application fields. You can add on to this depending on your corp's structure. Hope this will help someone save some of that valuable server space! Regards Nelson Cardoso

This was first published in November 2000

Dig deeper on Domino Resources - Part 2

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:

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