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



May 15, 2013, 9:09 PM
18 Posts

Help with making view combining data from multiple views

  • Category: Dojo and Client Side JavaScript
  • Platform: Windows
  • Release: 8.5.3
  • Role: Developer
  • Tags: View DataSource
  • Replies: 0
I need to make an Xpages view (or data table or repeat control or dojo grid, it doesn't really matter) in a new Xpages db that will pull data two separate views in two different databases.
  

The key that will tie them together is the date. So I need all the docs in each view for a date.
 
 I created two data sources in my new DB pointing to the two views, made an xpage with a view container that pointed to one view. Then I added a computed column and am trying to get data from the other view (see code below).
 
I would appreciate any help, any link to a resource that will help me do this.
 

var server                                  = @Name("[CN]", @Subset(@DbName(), 1));
var otherDB:NotesDatabase     = session.getDatabase(server, "CityClerk\\MINUTES.NSF", false);
var key                                     = viewRow.getColumnValue("dateOfMeeting");
var lookup:string                      = @DbLookup(otherDB, "XpagesView", key, 3);
if (lookup)
{"Yes"
}else{
"No"


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