Unable to get document page name for

流过昼夜 提交于 2019-12-18 07:05:06

问题


I have a view that has XPage Associated with document form set.

The form property has the xpage associated with the document.

If I click on the link in the view the proper correct xpage is displayed as expected.

But if I close the browser, and paste the URL to the document into the browser, I get the error, Unable to get document page name for (and the unid). As long as I remain logged in the url will work without error or if I set anonymous to Reader the url will continue to work. But if I close the browser where I would be prompted to login then I get the error but I get the error before being prompted to log in.

The url for assocated forms looks a little different than when the view is used to display the xpage.

myserver/mydb.nsf/$$OpenDominoDocument.xsp?documentId=12B571F2B03E3764852573690041E273&action=openDocument

The view has various types of forms so I need to associate the form with the xpage or I suppose I can compute the xpage for the form. But any idea what would be causing this issue?


回答1:


If you are opening a document from a view, the associated form could be overriden by a form formula of the view. When opening the document directly with $$OpenDominoDocument.xsp the original form stored in the document is used instead.

The form can be associated with a XPage in different ways:

  1. For XPiNC there is a field $XPagesAltClient in the form
  2. For web access there is a field $XPagesAlt in the form
  3. There is a entry in the xsp.properties file.

For example this entry...

xsp.domino.form.xpage.foo=bar

...will open a document with the value foo in the Form field with the XPage bar.xsp.

Hope this helps

Sven



来源:https://stackoverflow.com/questions/16844120/unable-to-get-document-page-name-for

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!