Open Notes Form from XPage

I’ve designed an XPage, which displays a list of documents. I want to add a button to the top of the page that will let the user compose a new document from a Notes form. Does anybody know how to do this and if so how?

I have managed to get documents to open from the XPage in a notes form rather than an XPage but can’t work out how to get it to compose a new document.

Thanks in advance.

Subject: using the Notes client or a browser?

If using a Notes client then create a url with Notes:/// at the start of it and the Notes client will open to that form.

If using a browser just create a url with http:// to open whatever Notes form you want.

Howard

Subject: Web

Hi Howard,

Thanks for the response.

I’m not sure how or where to put the code for the link.

I’ve been trying adding an “On Click” Action for the button (link seems to be the same method) but I can’t get anything working.

Subject: response

First of all, if you are using XPages there is a dedicated XPages forum. Note that this forum is for Domino 8 which does not even have XPages.

https://www-10.lotus.com/ldd/xpagesforum.nsf

If you are using a link then there is a property to put the link to open the form.

If you are using a button then code the onclick event (client side JS) to open the link using the window.location method.

By the way, I am assuming you are new to XPages. Check out our free XPages course, that might help you get started.

Howard

Subject: Hi Darren

it’s http://server/path/db.nsf/formname?openform