Home > Ask the Domino Experts > LotusScript Questions & Answers > Setting up local replication of a Lotus Notes database for offline employees
Ask The Domino Expert: Questions & Answers
EMAIL THIS

Setting up local replication of a Lotus Notes database for offline employees

Cregg Hardwick EXPERT RESPONSE FROM: Cregg Hardwick

Pose a Question
Other Domino Categories
Meet all Domino Experts
Become an Expert for this site


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


>
QUESTION POSED ON: 08 May 2007
We have set up a Mobile Directory for laptop users. I want to create a local replication of the Lotus Notes database, so they can use it while offline. I also want the Lotus Notes database to replicate with the server copy like the users' mail file.

I was able to set up the local replica and replicate the first time, but I cannot get the new replica to show in the replication folder with the rest of the users' databases. I did check to make sure replication is enabled on the Lotus Notes database.

I have to set this on 100+ laptops, so we'd like to be able to use some LotusScript code to accomplish this. Thank you.



Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   



RELATED CONTENT
LotusScript
Can you use LotusScript to read a text file attached to a Notes doc?
Customize the principal field of outgoing email messages
Can I use LotusScript to merge cells in a Microsoft Word table?
Modifying LotusScript code for date and time handling
Use DXL utilities for advanced replication settings in Notes
Use LotusScript to create encrypted replicas
Write a LotusScript agent to automate file attachments
Troubleshooting a scheduled agent not running on a Global Notes Architecture (GNA) server
Creating a link on an HTML page to a Microsoft Word attachment in a Lotus Notes database
LotusScript to extract and move attachments to a Lotus Notes mailbox or file folder

LotusScript
LotusScript finds the first occurrence of a string from the right
Clear Recent Contacts view and prevent repopulation in Lotus Notes 8.x
Search Microsoft Active Directory with LotusScript
Three steps to trap and handle save conflicts with LotusScript
Troubleshoot agents by displaying LotusScript variables online
LotusScript sorts lists alphabetically
Run or restart Notes/Domino agents via text messages
LotusScript code rebuilds corrupted busytime.nsf file
Soft-code item names to facilitate LotusScript management
LotusScript agent automates selective mail file replication

Lotus Notes Domino Replication and Synchronization
LotusScript agent automates selective mail file replication
Give external users access to workflow-based Notes Domino applications
Tivoli Directory Integrator synchronizes Notes Domino 8 directories
Use DXL utilities for advanced replication settings in Notes
Avoid replication issues when editing Lotus Notes response documents
Use LotusScript to create encrypted replicas
Lotus Notes Domino replication primer
More efficient local Lotus Notes database replication
BlackBerry Intellisync error: 'A Lotus Notes error has occurred. Please see log for details.'
Routing and replication issues with remote Lotus Domino servers

RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary


Without seeing your code, I am guessing that you have run into a common issue that I have seen several times. You cannot directly control what appears on the replication tab, either programmatically or through the UI. However, the replication tab will be automatically updated based on changes made to the workspace.

My guess is that you used the createReplica method to create a local replica of the Lotus Notes database, and you were surprised that this did not update the replication page. The fact is that just creating the local replica does not create the needed icons on the workspace.

Here is the procedure you need to follow:

  1. Call notesUIworkspace.AddDatabase to add a workspace icon for the server copy of the Lotus Notes database.

  2. Call notesUIworkspace.createReplica to create the local replica.

  3. Call notesUIworkspace.AddDatabase again, this time to add an icon for the local replica copy.

At this point, since both the server and local copies are represented by icons on the local workspace, the link between the two will exist on the replication tab.

Do you have comments on this Ask the Expert Q&A? Let us know.

Related information from SearchDomino.com:

  • Tip: A Lotus Notes/Domino replication primer for administrators
  • Expert Advice: Moving a remote user mail database to new Domino server
  • FAQ: LotusScript advice
  • Reference Center: Lotus Notes/Domino Administration tips and resources
  • Reference Center: LotusScript tips and resources




  • Search and Browse the Expert Answer Center
    Search and browse more than 25,000 question and answer pairs from more than 250 TechTarget industry experts.
    Browse our Expert Advice



    Lotus Notes Domino on Blackberry and mobile devices
    HomeTopicsITKnowledge ExchangeTipsAsk the ExpertsMultimediaWhite PapersDomino IT Downloads
    About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
    SEARCH 
    TechTarget provides technology professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective purchase decisions and managing their organizations' technology projects - with its network of technology-specific websites, events and online magazines.

    TechTarget Corporate Web Site  |  Media Kits  |  Site Map




    All Rights Reserved, Copyright 1999 - 2009, TechTarget | Read our Privacy Policy
      TechTarget - The IT Media ROI Experts