Using a website document with XPage - how to set it up correctly?

I installed a small XPage and so far have been using the full Xpage path for testing, i.e.

http://devsrv1.magerman.ch/Development/Schulungen/Schulungen1_0/Schulungen_(1_0)_Dev.nsf/HomeWithDataView.xsp

Then I tried to apply the website document enter image description hereenter image description here

But the links don't work anymore. I have a feeling that I am missing something fairly simple and not sure what the best practice is. I am very happy that the original request to resolve the hostname to a full path i.e.

input

schulungen.magerman.com

and allow

schulungen.magerman.com//Development/Schulungen/Schulungen1_0/Schulungen_ (1_0) _Dev.nsf

but haven't found a way to do it elegantly.

At the moment my relative links '/OtherXpage.xsp' fail when they try to get to schulungen.magerman.com/OtherXpage.xsp

Any pointers?

+3


source to share


2 answers


Create a Website Rule . You can create it from your website document in edit mode using the Website ... / Create Rule button.



You can find a description of how to fill in the fields here .

+3


source


The problem is usually when you need to add a trailing slash to the hostname http://www.xpagedeveloper.com/2013/quicktip-get-right-path-when-autolaunching-an-xpage



+1


source







All Articles