workspace.EditDocument in 4.6.7

Posted on 2001-07-06
Last Modified: 2013-12-18
When using notesuiworkspace.editdocument(false,doc,false) in 4.6.X client I get an error saying" You are not an allowable author of this document". I am trying to open it in read mode but the script seems to be oblivious of this. In 5.x clients this works real fine. I have a workaround here of going via a ws.opendatabase, ws.currentview.selectdocument etc ... But there seems to be no notesuiview.close method. Any ideas on how to put the document in edit mode w/o keeping the via open in the background?

Question by:pronam
LVL 24

Expert Comment

ID: 6260532

LVL 24

Expert Comment

ID: 6260544

The editdocument method tries to open the document in edit mode that is why you are getting the error. If you are not an author for the document then this problem will arise.


LVL 63

Expert Comment

ID: 6260868
3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.


Author Comment

ID: 6263391
hmm... that doesn't work hemanth. the tragedy is R5 client it works --- it opens in the read mode. The first and the third parmeter(false in both case) tells domino to open it in read mode. R 4.6.7 seems to be a little stubborn ---
I have tried and gone via the notesuiview - that works. But why is here not uiview.close in uiview?
LVL 24

Accepted Solution

HemanthaKumar earned 100 total points
ID: 6265152
Good question ;-)

I don't have answer why Lotus hates uiview.close !

Coming to your problem, Does the form that opens the document has "Automatically enable Edit Mode" set !

Check this technote, Lotus says it works.


LVL 63

Expert Comment

ID: 10476277
No comment has been added lately (964 days), so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area for this question:

RECOMMENDATION: Award points to HemanthaKumar http:#6265152
Please leave any comments here within 4 days.

-- Please DO NOT accept this comment as an answer ! --


EE Cleanup Volunteer

Featured Post

Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Notes 8.5.2 application on web 4 209
Add a cc field to email code 6 99
Calculated single value Text Fields display with scroll arrows 7 57
IBM Domino web server 5 66
For beginners of Lotus Notes user this is important to know about the types of files and their location supported by IBM Notes. Mostly users are unaware about how many file types are created and what their usages are. This Article is fully dedicated…
Lack of Storage capacity is a common problem that exists in every field of life. Here we are taking the case of Lotus Notes Emails, as we all know that we are totally depend on e-communication i.e. Emails. This article is fully dedicated to resolvin…
This Micro Tutorial will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

809 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