Search code examples
javascriptxpageslotus-noteslotusserverside-javascript

XPage Link URL does not work in Notes Client


I added a simple link to a sample xpage to open a web URL (sample: Google). The code work fine when I open the Webpage in a web browser but acts differently when I open the Xpage in the Lotus Notes Client. It only sends a blank screen and did not open the site. Any fix, suggestion or work around to make the behavior act the same way in both Notes Client and Web Browser?


Solution

  • I guess you are creating your link in a not right way.

    Let's do the following.

    1. Create a test xpage
    2. Open XPage controls via menu: Window -> Show Eclipse Views -> Controls

    turning on xpage controls

    1. Now, select a "Link" control and drag it to the Xpage body

    dragging the link control

    1. Set the "Link" control properties:

    setting up the control properties

    1. Make sure, you have set "Project - Build Automatically"

    project build menu

    1. Save the page and open it in the client and in a browser.

    Previewing the page