apparition
asked on
Open Document in Edit Mode
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.
I know the document's DocumentUniqueID. What code do I put in the button to make this
happen ?
Thanks for your help.
ASKER
Notes Client
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
if you are not doing this action from the view, just use this code:
@Command([OpenView];"<your viewname>");
@Command([OpenDocument];1; "<your docid>")
Partha
@Command([OpenView];"<your
@Command([OpenDocument];1;
Partha
Thx for the points ;-)
Partha
Partha
ASKER
the above code does not open the document in edit mode
opendocument will work when you are in view, i am not sure what didn't work for u?
Partha
Partha
ASKER
got it
@Command([EditDocument];1; "<your docid>")
@Command([EditDocument];1;
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?
ASKER
I got what I needed thanks.
in web means, just have this code as the javascript:
location.href = location.href.split(".nsf"
Partha