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.


>
EXPERT RESPONSE
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


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


    RELATED CONTENT
    LotusScript
    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
    Copying a rich-text field with attachments to a Lotus Notes document

    LotusScript
    Customize the principal field of outgoing email messages
    Create a non-specified date picker with LotusScript code
    Resolve Notes 8 migration error: 'Database has not been opened yet'
    LotusScript accesses clipboard to view copied Notes documents
    LotusScript action button manages Lotus Notes mail files
    LotusScript sorts a Lotus Notes document collection
    Display Lotus Notes user group membership details in a tree view
    Alternate version of @Command forwards subform via LotusScript
    Process large arrays in Notes forms without undue coding or testing
    How to use LotusScript to modify a Lotus Notes view selection

    Lotus Notes Domino Replication and Synchronization
    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
    Replication best practices for Lotus Domino disaster recovery

    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



    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 enterprise IT professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective IT purchase decisions and managing their organizations' IT projects - with its network of technology-specific Web sites, events and magazines.

    TechTarget Corporate Web Site  |  Media Kits  |  Reprints  |  Site Map




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