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."
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!