?
Solved

Document Command is not available error when opening a document in read mode

Posted on 2003-02-24
5
Medium Priority
?
2,338 Views
Last Modified: 2013-12-18
I get a "Document Command is not available" error message when I try to open a document in read mode. Does anyone know a work around for this without forcing it into edit mode?
The problem is as a result of lotus script which is run on post open command to sort ACLs. It was a solution in response to my question "sorting acls in alphabetical order" posted on 02/18/2003
0
Comment
Question by:Cuec
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
5 Comments
 
LVL 5

Expert Comment

by:snocross
ID: 8008210
Sounds like your agent is trying to perform an action that requires it to be in EDIT mode, such as modifying a field.  You might want to A) change the way your agent works so you can write to a field that is not in editable mode or B) Put the document in edit mode but hide the editable values. (This can be achieved by having 2 copies of the field, 1 editable but hidden, and the 2nd being visible and computed to always equal the first)

Hope this helps,

-Snocross
0
 
LVL 24

Accepted Solution

by:
HemanthaKumar earned 200 total points
ID: 8009129
Source.Refresh in the script need that your document to be in edit mode.

So change this line like this

If Source.EditMode then Source.Refresh

~Hemanth
0
 

Author Comment

by:Cuec
ID: 8023944
Thank you very much Hemanth!
0
 

Author Comment

by:Cuec
ID: 8023946
Thank you very much Hemanth!
0
 
LVL 24

Expert Comment

by:HemanthaKumar
ID: 8028427
Welcome
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

For users on the Lotus Notes 8 Standard client, this article provides information on checking the Java Heap size and adjusting it to half of your system RAM in attempt to get the Lotus Notes 8.x Standard client to run faster.  I've had to exercise t…
This is an old article, please see an updated version of this article, located here: http://www.experts-exchange.com/articles/23619/Notes-8-5x-Windows-7-Notes-info-and-tips.html
In this video we outline the Physical Segments view of NetCrunch network monitor. By following this brief how-to video, you will be able to learn how NetCrunch visualizes your network, how granular is the information collected, as well as where to f…
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …
Suggested Courses

770 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