To do most JavaScript actions on a document, it needs to be in edit mode. This function uses a
Notes URL command to put a document in edit mode using JavaScript alone. It is used in an action
button and run before another function that does some JavaScript action on the document.
function editMode()
{
var pathname = (window.location.pathname);
self.location = pathname +
"?EditDocument";
}
Requires Free Membership to View
Register today to access targeted resources from our editorial writers and independent industry experts focused on Lotus Domino, Notes, Workplace and other related technologies.
This was first published in February 2001