Email:   
Home
In This Issue
EasyPrint
Click here for the RSS feed's XML code. This is not a browser URL.
CREATING CUSTOM APPLICATIONS
Distributing applications to remote users
By Richard Echeandia

In last month's article, "Cascading custom applications on your Domino server," we reviewed how to make your custom Notes applications behave like cascading address books on your Domino servers. This month we'll complete the project by creating a way to perform the same function on your Notes workstations.

Working with remote or "occasionally connected" users requires you to write your applications and perform your administration differently than in a LAN-locked environment. Remote users are generally more support-intensive and configuration dependent than your always connected server users and one of the more vexing problems that administrators can have is in deploying Notes applications into the field.

It's a fairly common practice to send buttons that perform various administrative functions to your users via a Notes email message. The one button that I've seen mailed most frequently adds Notes databases to a user's workspace and creates any required environment variables. These buttons are, of course, real times savers, and most of us have one or more of these in our toolkit. For this month, we're going to combine those functions with local replication and then perform the steps necessary to cascade the database in the local user's NOTES.INI file.

Back to the example
For the purposes of our example, let's go back to last month's example and assume that the database we want to deploy locally to our users is located on the Dallas/Fort Worth server "DFW001" and is called "APPS\ROLODX.NSF". Using the configuration items described in last month's article you (or your developers) should have created a database that contains the views and fields required to work as an address book. The coders, testers, and beta users of the application all feel like proud, happy parents and management is ready to see this thing in production.

How do you get this creation out into the field? Create a button with the logic shown in the attached listing, change the name of the server and the database where indicated in the source code, then mail it off to all the users of the application.

Walking through the code
Let's look through the code, available at http://www.component-net.com/dp-extras/ini1198.html, and see what we've got to do.

The code in the listing should be placed in the Click event of a normal LotusScript button. The first things that you should put at the top of the script are the application specific variables. That way, when you use this button again (you do want to re-use code as much as possible right?), all that you'll have to do is change the header section and the rest of the logic can remain unchanged. Lines 3 through 5 perform the setting of these variables. Next, lines 8 Ð 12 perform the normal LotusScript setup processing for our script.





[ Next ]

ZATZ Home  ·  News  ·  Back Issues  ·  Credits/Trademarks ·  Link To Us
-- Advertisement --

Learn Notes and Domino 8 at your place and pace!
Learn Notes and Domino in your office and/or home! TLCC's highly acclaimed distance learning courses for users, developers, and admins will enhance your career and your resume.

The many included activities and demos will make you a pro! Expert instructor help is a click away.

Click here to try a FREE demo course!!

-- Advertisement --

The Ultimate Notes Domino Training Experience - Amsterdam, 11-13 November
Get in-depth technical training that you can put to use on the job right away at THE VIEW's Admin2008 and Lotus Developer2008 Europe! One registration gets you into your choice of over 70 new and updated expert know-how sessions, one-on-one consultations, hands-on labs, and more.

See complete agendas and register by 10 October to save 495 euros!
Copyright © 1998-2008, ZATZ Publishing. All rights reserved worldwide.
Editor's Login