Database server and domain

5 pts.
Tags:
Lotus Notes client
XPages 8.5.3
I am developing an XPages workflow application which needs to send email notifications with a clickable URL link to the current document. The application may be run on a Notes client or on a Web browser. For the URL link to work, it must contain the name of the server along with its top level domain name. Our Web server is called SAUSSW.org. When the document is created on a Web browser, context.getUrl().getHost() returns "saussw.org," which is what is needed. In the Notes client, however, this function returns "127.0.0.1" the IP address of the local host. Using @Name("[CN]",@Subset(@DbName(),1)) returns "SAUSSW" without the '.org." I know there is a way in JavaScript to get the complete server name, including domain, from a Notes client. Unfortunately, I can't find the code I used to do this before. Can anyone help?

Software/Hardware used:
XPages 8.5.3
ASKED: June 8, 2012  6:54 PM
UPDATED: June 8, 2012  7:03 PM

Answer Wiki

Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Discuss This Question:  

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following