IBM®
Skip to main content
    Country/region select      Terms of use
 
 
   
     Home      Products      Services & solutions      Support & downloads      My account     
 
developerWorks
AIX and UNIX
Information Mgmt
Lotus
New to Lotus
Products
How to buy
Downloads
Live demos
Technical library
Training
Support
Forums & community
Events
Rational
Tivoli
WebSphere
Java™ technology
Linux
Open source
SOA and Web services
Web development
XML
My developerWorks
About dW
Submit content
Feedback



developerWorks  >  Lotus  >  Forums & community  >  Lotus Sandbox

Lotus Sandbox

developerWorks
Action button to initiate replication on server

Sandbox sample submitted by LDD User.

This Action code uses defined Connection documents to start immediate replication through remote console on source server
Category:Tools
Audience:Application Developer
Product:Notes/Domino
Release:R5
Platform:Windows NT/95/98
Date Posted:01/29/2002
File Size:5,271 bytes

Click here to download

Download Time Estimator
56 KB Modem0 hrs <1 mins
128 KB ISDN0 hrs <1 mins
384 K DSL0 hrs <1 mins
768 K DSL0 hrs <1 mins
T10 hrs <1 mins
T30 hrs <1 mins

Detailed Description:
If you already have Connection documents for hub server to spoke servers is the only question how to initiate the replication on a button click.

Simply said: mark those Connection documents with the selection mark and click on a view action to start immediate replication.

The download contains the code for this Action in the Connection view of names.nsf.

Open your NAB in Designer, go to Server\Connections view, and add a new action.
Give it a name, like:
"ReplicateSelected"
Set it to be a LotusScript action. Replace the:
Sub Click(Source As Button)
End Sub

with the upper code (best with cut'n paste). Give it a Notes graphics button, and save it.


When selecting some of the connection documents and pressing on this action button, then you will be asked to confirm. If you confirm with "Yes", then immediately replication is initiated on server. You can observe this on a live
console. Answer "No" skips the actual connection document. Answer "Cancel" aborts the complete processing.

Have fun with this.




All Sandbox downloads are licensed as-is, unsupported, and non-warranted.

Additional reviews and comments disabled

Reviews
Action button to initiate replication on server (Submitted by Zvonko Paunoski - 29.01.2002)

Lotus Software

Document options
Print this page
Print view

 Search
Search
Advanced Search

  Sandbox views
By Application Name
By Category
By Product
By Audience
By Date
By Submitter
Conferences

  Resources
developerWorks: Lotus Downloads
alphaWorks Downloads
    About IBM Privacy Contact