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?

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

Processing your response...

Discuss This Question: &nbsp

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

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

Processing your reply...

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

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

Processing your reply...

Ask a Question

Free Guide: Managing storage for virtual environments

Complete a brief survey to get a complimentary 70-page whitepaper featuring the best methods and solutions for your virtual environment, as well as hypervisor-specific management advice from TechTarget experts. Don’t miss out on this exclusive content!

Share this item with your network:

To follow this tag...

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