This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal



Sep 19, 2011, 12:04 AM
2 Posts

How to use form (not XPage) to display document when user clicks link from XPage view?

  • Category: Performance
  • Platform: Windows
  • Release: 8.5.2
  • Role: Developer
  • Tags: Xpages view
  • Replies: 3
Hi All,
 
Documents listed in my XPage view were created from a very complicated form which contains many subforms, action buttons and complex workflows. I really don't want to build an XPage to migrate all of form contents and functions into it. I just simply want to display document in new window with its default form format. How can we do it? Another question: once we start using XPages, do we have to convert all of key design elements to XPages, e.g. views, forms, subforms, framesets....?
Thanks. 
Shijun 
 
Sep 19, 2011, 11:27 AM
261 Posts
Re: How to use form (not XPage) to display document when user clicks link from XPage view?
Hello Shijun,
 
If you generate links to individual documents using the "old" syntax: http://<server>/<database.nsf>/<viewName>/<documentUNID or view key>?openDocument AND the form property "Display XPage instead" (2nd tab of the form properties box) isn't set, the document is opened using it's form.
 
And no: you aren't required to transform all existing design elements to XPage versions: the existing design elements can still be used and mixed with new XPages based pages you  develop.
 
Mark
Sep 19, 2011, 11:31 AM
3 Posts
Re: How to use form (not XPage) to display document when user clicks link from XPage view?
from my view:
 
- to open a page in a form (not an xpage) 
you will have to compute the link to the url, which ist openend when clicking on a document by yourself that way, that an 
URL ist generated which opens the document using that form, e.g. by using a special view in that URL 
 
- change all to XPages 
well I think in one application it is easier to not mix up things  in some cases it even will not be possible. 
There might be options to use pop ups like described above but that is an exception. 
Sep 19, 2011, 11:42 PM
2 Posts
Re: How to use form (not XPage) to display document when user clicks link from XPage view?
Thanks Mark & Mic.
 
Got to test your solution later. 

This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal