Solved

Open Document in Edit Mode

Posted on 2004-03-31
10
294 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
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 
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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

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

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…
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.
There are cases when e.g. an IT administrator wants to have full access and view into selected mailboxes on Exchange server, directly from his own email account in Outlook or Outlook Web Access. This proves useful when for example administrator want…
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…

624 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