Solved

workspace.EditDocument in 4.6.7

Posted on 2001-07-06
7
235 Views
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?


Thanks
Pronam
0
Comment
Question by:pronam
7 Comments
 
LVL 24

Expert Comment

by:HemanthaKumar
ID: 6260532
Try
notesuiworkspace.editdocument(False,doc,True)

~Hemanth
0
 
LVL 24

Expert Comment

by:HemanthaKumar
ID: 6260544
Continuing..

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.

~Hemanth

0
 
LVL 63

Expert Comment

by:SysExpert
ID: 6260868
Listening..
0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 

Author Comment

by:pronam
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?
0
 
LVL 24

Accepted Solution

by:
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.
http://support.lotus.com/sims2.nsf/eb5fbc0ab175cf0885256560005206cf/84608c2d68f2298b852568fe005c0dd6?OpenDocument

~Hemanth



0
 
LVL 63

Expert Comment

by:Zvonko
ID: 10476277
pronam,
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 ! --

Thanks,

Zvonko
EE Cleanup Volunteer
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Lotus Notes 8.5 1 140
Find and delete local contacts in names.nsf 5 178
Only send email if contains "abcd" 3 144
Lotus notes Formula to trigger Lotusscript 1 501
Problem "Can you help me recover my changes?  I double-clicked the attachment, made changes, and then hit Save before closing it.  But when I try to re-open it, my changes are missing!"    Solution This solution opens the Outlook Secure Temp Fold…
IBM Notes offer Encryption feature using which the user can secure its NSF emails or entire database easily. In this section we will discuss about the process to Encrypt Incoming and Outgoing Mails in depth.
Need to grow your business through quality cloud solutions? With everything required to build a cloud platform and solution, you may feel like the distance between you and the cloud is quite long. Help is here. Spend some time learning about the Con…
A company’s greatest vulnerability is their email. CEO fraud, ransomware and spear phishing attacks are the no1 threat to a company’s security. Cybercrime is responsible for the largest loss of money to companies today with losses projected to r…

914 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

21 Experts available now in Live!

Get 1:1 Help Now