Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

workspace.EditDocument in 4.6.7

Posted on 2001-07-06
7
Medium Priority
?
265 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
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 

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 400 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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone 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

  In today’s Arena we can’t imagine our lives without Internet as we are highly used to of it. If we consider our life style just for only 2 min we found that face to face communication is swapped by e-communication.  Every Where from Works place to…
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.
Are you ready to place your question in front of subject-matter experts for more timely responses? With the release of Priority Question, Premium Members, Team Accounts and Qualified Experts can now identify the emergent level of their issue, signal…
Is your data getting by on basic protection measures? In today’s climate of debilitating malware and ransomware—like WannaCry—that may not be enough. You need to establish more than basics, like a recovery plan that protects both data and endpoints.…
Suggested Courses

927 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