Open mail database in new tab from XPiNC database

103 views Asked by At

I am running an Xpage database in XPiNC and I want to have a link that will open a mail database (any arbitrary database really) in a new tab.

The code below works, IF the database is already on the workspace. If it his not, then I get the very informative message:

"Connection denied. The server you connected to has a different name from the one requested."

I really want to make sure that this db will open even if it is not on the workspace.

<xe:basicLeafNode label="CompuWeigh Email">
<xe:this.href><![CDATA[#{javascript:var url = "notes://KC1@Scoular/mail/cwmonitor.nsf?OpenDatabase?";
url}]]></xe:this.href>
</xe:basicLeafNode>
1

There are 1 answers

1
Tode On BEST ANSWER

As stated in the comment: Take the domain name (@Scoular in the example) out of your link. then it will work