Skip to main content
 
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  >  Notes/Domino 6 and 7 Forum

Notes/Domino 6 and 7 Forum

developerWorks

  

Sign in to participate PreviousPrevious NextNext

RE: -SOLUTION- Disable Edit mode unless through button...
Pete Burn 3.Oct.06 07:40 AM a Web browser
Notes Client All Releases All Platforms


Nice answer. Was going to suggest an alternative but you got there with an answer before I got back :)

I've always implemented doc locking by having a marker document which is created when a doc is put in edit mode (by double click, Ctrl e, whatever). create this document through QueryModeChange and store the doc ID of the doc being edited. You can also store the name of the person editing the document. When another user tries to edit the document, QueryModeChange looks to see if this marker doc exists and if it does, puts up a warning (possibly including the name of the current editor) and returns false. The marker doc is deleted when the person editing the document either switches back to read mode or closes the document (save is not good enough as they make keep the doc open and make more edits).

Just occasionally, a users machine may crash (or more likely, the Notes Client crashes :)) and an orphan marker doc is left in place. I get round this by adding an Admin only action in each doc to delete the marker doc for that doc ID.

Downside (as with so many things in Notes) is that it doesn't work across multiple servers.

Guess this is purely academic as you've already found an answer but it may be of use to you or someone else in the future.

Good luck

Pete




Disable Edit mode unless through bu... (Jeremy W Deal 2.Oct.06)
. . RE: Disable Edit mode unless throug... (Pete Burn 2.Oct.06)
. . . . RE: Disable Edit mode unless throug... (Jeremy W Deal 2.Oct.06)
. . . . . . RE: Disable Edit mode unless throug... (Andrew C Chung 2.Oct.06)
. . . . . . . . -SOLUTION- Disable Edit mode unless... (Jeremy W Deal 2.Oct.06)
. . . . . . . . . . RE: -SOLUTION- Disable Edit mode un... (Pete Burn 3.Oct.06)
. . . . . . . . . . . . RE: -SOLUTION- Disable Edit mode un... (Jeremy W Deal 3.Oct.06)
. . . . . . . . . . . . . . RE: -SOLUTION- Disable Edit mode un... (Pete Burn 3.Oct.06)
. . . . . . . . . . . . . . . . Another alternative RE: Disable Edi... (Don McNally 4.Oct.06)
. . . . . . . . . . . . . . . . . . RE: Another alternative Disable Edi... (Jeremy W Deal 5.Oct.06)
. . . . . . . . . . . . . . . . . . . . RE: Another alternative Disable Edi... (Don McNally 5.Oct.06)


Document Options






  Document options
Print this pagePrint this page

Search this forum

Forum views and search


  Forum views and search
Date (threaded)
Date (flat)
With excerpt
Author
Category
Platform
Release
Advanced search

Sign In or Register

 Sign In or Register
Sign in
Forgot your password?
Forgot your user name?
Create new registration

Member Tools


RSS Feeds

 RSS feedsRSS
All forum posts RSS
All main topics RSS
More Lotus RSS feeds

Resources

 Resources
Forum use and etiquette
Native Notes Access
Web site Feedback

Lotus Support

 Lotus Support
IBM Support Portal - Lotus software
Lotus Support documents
Lotus support by product
Lotus support downloads
Lotus support RSS feeds

Wikis

 Wikis
IBM Composite Applications
IBM Mashup Center
IBM Connections
IBM Docs
IBM Forms
IBM Mobile Connect
IBM Sametime
IBM SmartCloud for Social Business
IBM Web Experience Factory
Lotus Domino
Lotus Domino Designer
Lotus Expeditor
Lotus Foundations
Lotus iNotes
Lotus Instructor Community Courseware
Lotus Notes
Lotus Notes & Domino Application Development
Lotus Notes Traveler
Lotus Protector
Lotus Quickr
Lotus Symphony
IBM Web Content Manager
WebSphere Portal

Lotus Forums


 Lotus Forums
Notes/Domino 9.0
Notes/Domino 8.5 + Traveler
Notes/Domino XPages development forum
Notes/Domino 8
Notes/Domino 6 and 7
Notes/Domino 4 and 5
IBM Connections
IBM Forms
IBM Mobile Connect
IBM Sametime
IBM SmartCloud Notes
IBM Web Content Manager
Lotus Domino Document Manager
Lotus Enterprise Integration
Lotus Expeditor
Lotus Protector
Lotus Quickr
Lotus SmartSuite
Lotus Symphony
Lotus Symphony Developer Toolkit Support
Lotus Workflow