Solved

Open Document in Edit Mode

Posted on 2004-03-31
10
293 Views
Last Modified: 2013-12-18
I want a nav button, that when clicked will bring up a specific document in edit mode.
I know the document's DocumentUniqueID. What code do I put in the button to make this
happen ?

Thanks for your help.
0
Comment
Question by:apparition
[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
  • 6
  • 4
10 Comments
 
LVL 14

Expert Comment

by:p_partha
ID: 10726178
is it in web or notes client?

in web means, just have this code as the javascript:

location.href  = location.href.split(".nsf")[0] + ".nsf" +"/0/" + document.forms[0].<documentidfieldname>.value +"?editdocument"


Partha
0
 
LVL 5

Author Comment

by:apparition
ID: 10726184
Notes Client
0
 
LVL 14

Accepted Solution

by:
p_partha earned 50 total points
ID: 10726191
in client means u can use this formula

@Command( [OpenDocument] ; writeOrReadOnly ; UNID ; width : height)  


Partha
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 14

Expert Comment

by:p_partha
ID: 10726283
if you are not doing this action from the view, just use this code:

@Command([OpenView];"<your viewname>");
@Command([OpenDocument];1;"<your docid>")

Partha
0
 
LVL 14

Expert Comment

by:p_partha
ID: 10727947
Thx for the points ;-)

Partha
0
 
LVL 5

Author Comment

by:apparition
ID: 10727959
the above code does not open the document in edit mode
0
 
LVL 14

Expert Comment

by:p_partha
ID: 10727965
opendocument will work when you are in view, i am not sure what didn't work for u?

Partha
0
 
LVL 5

Author Comment

by:apparition
ID: 10727967
got it
@Command([EditDocument];1;"<your docid>")
0
 
LVL 14

Expert Comment

by:p_partha
ID: 10727976
As far as i know, there is no parameter in editdocument to take docid, the third parameter is just to show itin preview pane or not,edit document just puts the current document in edit mode, ur question was how to put a specific document (may be the current document but not necessarily) to put in edit mode?
0
 
LVL 5

Author Comment

by:apparition
ID: 10728130
I got what I needed thanks.
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

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…
You’ve got a lotus Domino web server, and you have been told that “leverage browser caching” is a must do. This means that we have to tell the browser everywhere in the web to use cache. In other words, we set (and send) an expiration date in the HT…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…
Finding and deleting duplicate (picture) files can be a time consuming task. My wife and I, our three kids and their families all share one dilemma: Managing our pictures. Between desktops, laptops, phones, tablets, and cameras; over the last decade…

752 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