Mail IT PermaLinkSnTT: Vulture at Work: Using Autolaunch capabilities12:17:14 AM
Written By : R. J. LeschCategory : Show 'n Tell Thursday

Rocky Oliver's blog recently covered a useful method for overcoming a known Domino bug with the Autolaunch feature.  This was great timing for me and my teammates, because it turned out to be the last piece we needed to produce a Notes application that could replace a Sharepoint site.

 

We were asked to build an application to replace a Sharepoint app which features a "Shared Documents" page.  Clicking on any of these items in the Shared Documents page automatically launches the item in its native application (Word, Acrobat Reader, whatever).

 

In Notes, of course, we'd simply attach the file to a document in a standard Doc Library database.  However, there the end user had to click twice -- once to open the Notes document and once to launch the attachment.  We could simply set up the application to launch first attachment, but we had several issues with that approach:

 

1.  When using the native "Autolaunch first attachment" form property to launch Word documents, the Word document opens but loses focus; the user sees the Notes window, and the Word document is in the background.  Rocky's tip gives background on this.

 

2.  Even if that weren't an issue, the document might not necessarily be an attachment.  It might reside on a shared network drive, or in another Notes application.  In those cases, we didn't want to have a second copy as an attachment; we wanted to reference the master document on the network drive.  We could put an .ndl file or something in the document, but most of our end users don't know how to create .ndl files, and

 

3.  we wanted to make this easy for the end user to maintain.  Nothing more irritating than to have to submit a work request every time you want to share a document with your colleagues.

 

4.  We wanted to include other types of links in the same view.  If the resource someone needs to share is not a Word document, or a PDF, but rather is a public webpage, or a SQL Server table or something, we wanted to be able to include those in the view as well.

 

The result was an "Autolaunch Entry" form, and its two accompanying views, the public view and the "maintenance" view.  Ryan Case, of Case Innovations, of Clive, Iowa, is the designer primarily responsible for this.  If the Autolaunch Entry view is opened in the maintenance view, Notes opens a Notes document, which can be edited to deliver one of five things:

  • an attached document
  • a file on a network drive (provided the user has access, of course)
  • a webpage
  • a Notes application
  • any other result which can be programmed in LotusScript

Anyone in the company can set up an entry to do the first four, simply by attaching a file, speciying a server/path, or entering the desired URL.  The fifth option requires knowledge of LotusScript, of course.

 

If the above view entry is opened from the public view, Ryan's view calls a script from queryopendocument which interprets which of the five options the document author has chosen and acts accordingly:  launch the attachment, open the website, run the custom LotusScript, or whatever.

 

Ryan's original implementation, which he built for us a year ago, didn't include the launch-attachments feature, but when I saw Rocky's tip I knew we could adapt it to do so.  We rewrote our scripts to be extensions of Rocky Oliver's LS.utilities.BE.6 and LS.utilities.FE.6 script libraries, which are included in the sample database he provides in the aforementioned tip.

 

So, thanks to Rocky, Ryan and "Show N' Tell Thursdays"!

 

This page has been accessed 452 times. .
Comments :v

1. Stephan H. Wissel05/21/2006 01:58:23 PM
Homepage: http://www.wissel.net/


When you are looking for a "autolaunch" on the web. I've coded a round trip editing capability for Domino attachments using webdav. See http://dominodav.sourceforge.net/ Code is in the CVS only. I could need a hand...
stw




2. R. J. Lesch05/24/2006 12:43:09 PM


Thanks! I'll look at it.




Blocked Response!05/14/2008 08:27:53 AM


This response from IP Address 88.232.11.11 was blocked by the owner of this blog.




Blocked Response!05/14/2008 08:29:10 AM


This response from IP Address 88.232.11.11 was blocked by the owner of this blog.




Enter Comments^


Email addresses provided are not made available on this site.





You can use UUB Code in your posts.

[b]bold[/b]  [i]italic[/i]  [u]underline[/u]  [s]strikethrough[/s]

URL's will be automatically converted to Links


:-x :cry: :laugh: :-( :cool: :huh: :-) :angry: :-D ;-) :-p :grin: :rolleyes: :-\ :emb: :lips: :-o
bold italic underline Strikethrough





Remember me    

Links
Home

This site hosted by...
Power Of The Schwartz

Contributors
Richard Schwartz
Andy Broyles
Doug Cohen
Eric Tomenga
Gerco Wolfswinkel
Harry Cargile
R. J. Lesch
Roberto Boccadoro
Lotus Domino ND7 RSS News Feed RSS Comments Feed Blog Admin BlogSphere
YITNB Honor Roll
Calendar
January 2009
Su
Mo
Tu
We
Th
Fr
Sa
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
By Category
Recent Entries
Monthly Archive