Lotus Notes one-way laptop to server replication?

Posted on 2014-08-21
Last Modified: 2014-08-22
Users have laptops.  They currently edit records while offline, then replicate changes to the server.
Or sometimes they connect to the server directly and make edits out there.
I need to change that behavior (long story...) so that edits can only be made while connected to the server.

Any thoughts?
Question by:FKoutchouk
    LVL 14

    Expert Comment

    You are asking for a way to defeat one of Notes' best features. Local replicas allow users to work while offline, and then update the server when they are back online. Local replicas reduce server workloads, reduce network traffic, save connection fees for laptop "aircards", allow fewer servers to support more users, allow users to be productive while "disconnected", and more.

    The best that you could do is to customize the application so that it displays a popup (or just closes itself) when opened locally.

    Are you trying to eliminate or reduce replication conflicts? If so, you would be better off training your users to replicate before every editing session, and again as soon as possible after every edit session.
    LVL 1

    Author Comment

    Thank you, I was aware of the benefits of replication -- I do want replication, just not both ways.  The suggestion of "training" users is not a sufficiently reliable option in some worldwide organizations.  
    To clarify, I do want users to open their database locally, but only as "readers".  Edits must be done while connected to the server.  And that's my issue.   Technical suggestions?
    LVL 46

    Accepted Solution

    Each editable form should be modified. There are two event per form that require your attention: QueryOpen and QueryModeChange. The first is called when a user opens a document directly in edit-mode (e.g. by using Ctrl-E in a view) and the latter is activated when the document is open in read-mode and the user intends to edit it.

    The general idea, in pseudo-code:

    If requested mode is edit-mode Then
         If it is a local db Then
              MessageBox "Sorry, not on server replica"
              Continue= False
         End If
    End If

    The first test is a little different in each event.
    LVL 1

    Author Closing Comment

    Yes, I was hoping to avoid coding, but given that ACL or replication is not "location" specific, there is no other way.

    Featured Post

    How to run any project with ease

    Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
    - Combine task lists, docs, spreadsheets, and chat in one
    - View and edit from mobile/offline
    - Cut down on emails

    Join & Write a Comment

    Suggested Solutions

    You’ve got a lotus Domino web server, and you have been told that “leverage browser caching” is a must do. This means that we have to tell the browser everywhere in the web to use cache. In other words, we set (and send) an expiration date in the HT…
    Notes Document Link used by IBM Notes is a link file which aids in the sharing of links to documents in email and webpages. The posts describe the importance and steps to create a Lotus Notes NDL file in brief.
    In this sixth video of the Xpdf series, we discuss and demonstrate the PDFtoPNG utility, which converts a multi-page PDF file to separate color, grayscale, or monochrome PNG files, creating one PNG file for each page in the PDF. It does this via a c…
    This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor ( If you're looking for how to monitor bandwidth using netflow or packet s…

    728 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    18 Experts available now in Live!

    Get 1:1 Help Now