Question

How do I open a document in XPages mobile controls from a URL?

My application notifies users about pending review using an embedded URL link in an email. The requirement is to open the document in mobile controls (SinglePage/App Page). As of now I get a grey page on ipad when the link is clicked from the email.

However I am able to edit the same document using a button and <moveTo> tag. The following is a sample URL when loaded to a browser renders a grey page.

http://175.x.y.z/db.nsf/MN.xsp#newRequest&docId=123761231653&action=openDocument
Was it helpful?

Solution

The #newRequest part of the URL needs to be moved to the END of the url string. Nothing after the # symbol in a URL is transfered to the server so the server never gets the docId or action parameters.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top