On an xpage, if you use the Compute value option on the Default action of a Data Source, what do you need to return for “Edit document”, “Open Document” and “Create Document”?
Subject: Launch mode in xpage
If you check the source of the xpage when the action is selected from the dropdown list, you’ll see something like…
<xp:dominoDocument var=“prefDoc” formName=“vgr_userpreferences” action=“openDocument”>
So the javascript just has to evaluate to the same string, openDocument, editDocument or createDocument.
HTH, Andrew
Subject: that’s it
Thanks