Welcome to Merauderweb

Domino Irony Defined

Alan Lepofsky made a recent post titled easy to use Notes database links. The contents of the post have to create probably the most ironic thing I've seen in a while, when they go on to show the smarticon code required:

---- Install Instructions -----

1. Detach this file to your computer link.gif
, it will be used as the icon in your toolbar.
2. From the Notes menu choose: File - Preferences - Toolbar Preferences...
3. Customize - New - Button...
4. Button Captioned Text: Create DB Link
5. Popup Help Text: Create link information to the current database
6. Formula, copy and paste the exact text below:
ServerName := @Name([Abbreviate];@Subset(@DbName;1));
DNSName := @DbLookup("":"";"":"names.nsf";"Connections";Servername;"OptionalNetworkAddress";[FailSilent]);
URLNotesName := @LowerCase("notes://"+ @Name([CN];@Subset(@DbName;1)) + "/" + @WebDbName);
URLDNSName := @LowerCase("notes://"+ DNSName + "/" + @WebDbName);
Link := @DbTitle + " on " + URLNotesName;
@If(DNSName!="";Link := Link + " [ " + URLDNSName + " ]";"");
@Prompt([OkCancelEdit];"Database URL";"URL of current Database is";Link ;"")

UPDATE - Reader Brian Green has submitted some more advanced code in the comments section.

5. Click Change Icon - New.  Select the link.gif fike you detached in step #1, press OK
6. Press OK to close the Edit Toolbar screen.
7. Use the Left and Right buttons to move the new button to where you want it on your Toolbar, click Save Toolbar, click ok.

Sure, this code is easy for me to read - but as a Developer it should be. How is a user going to deal with this sort of thing? They aren't. This is the reasons why Notes/Domino Developers will go on for hours about how great the product is, while their users moan at it's shortcomings.

  Print | posted on Friday, October 14, 2005 3:18 PM





Feedback

No comments posted yet.

Want to post a comment?

Post title
Your name
Your email (optional)
Website (optional)


What do you want to say?

 

Please add 1 and 4 and type the answer here:    



Welcome

Merauderweb is the personal website of a New Zealand based web developer and technologist, covering whatever interests or amuses him. Subjects include online gaming, music, gadgets/technology, ASP.NET, Web Development, JavaScript, jQuery, IBM Lotus Notes/Domino and are presented in a linkblog/tumble style.

Links

RSS 2.0 Feed

Archives