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



Dec 20, 2011, 7:22 PM
45 Posts
topic has been resolvedResolved

Open XPage Instead of Notes Form - Different Database

  • Category: Other
  • Platform: All
  • Release: 8.5.3
  • Role: End user
  • Tags:
  • Replies: 4
Hi,
 
I need to set a Notes Form to 'Open an XPage Instead', in the Notes client, however, the XPage is in a different application/database to the original Form being created. There does not appear to be a way to navigate to another database/application in the Properties box of the Form. Is this possible?
 
It has to be this way as I am converting two standard Notes applications in to one 'hybrid' application one of which has all my XPage developments and I have spent months on it so far.
 
Any help would be appreciated.
Dec 21, 2011, 10:42 AM
53 Posts
Re: Open XPage Instead of Notes Form - Different Database
There are (at least) two ways round this. Either:
 
Copy the xPage into the other database - you can leave it to inherit it's design from the original template so you don't have to maintain the design in two different places
 
or
 
Use an xPage in the current database that looks up it's datasource from the different database based on a passed in ID
 
-Think I may have confused which is the current and other database, but hopefully it makes sense
Dec 21, 2011, 11:15 AM
45 Posts
Re: Open XPage Instead of Notes Form - Different Database
Thanks for you suggestions Dan,
 
I think I will go with your first option. I have never used the inherit design for individual design elements before between databases, I guess I still have a few of the basic to learn!
 
Dec 21, 2011, 12:00 PM
45 Posts
Re: Open XPage Instead of Notes Form - Different Database
To clarify though,
 
Does this mean I have to copy all the dependant design elements, ie. all my layout Custom Controls, Style Sheets into the other databases template? 
Dec 21, 2011, 12:20 PM
53 Posts
Re: Open XPage Instead of Notes Form - Different Database
Yes, that would be the case
 
To be honest, although I'm not the most experienced xPages developer (but then who is, it's still pretty new), I've done the opposite. Have data split between many databases but kept the design in one database then just used that to reference the data in other databases.
 
However, assuming you're not going to have multiple different databases, maintaining a copy of design elements in two different dbs from one template is pretty manageable, I've done that quite a lot in non-xpage apps

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