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



Jul 9, 2012, 10:14 AM
41 Posts
topic has been resolvedResolved

DbColumn use in computed text

  • Category: APIs
  • Platform: All
  • Release: 8.5.2
  • Role: Developer
  • Tags: DbColumn
  • Replies: 5
Hi Team,
 
We have use dbcolum in a xpage computed text control, view are exist in other server and i have tried to fetch different server both data base are different like
 
Server Name: XYZ
Database: abc.nsf
 
Use Dbcolumn other server like
 
Server Name: ABCD
Database: xxx.nsf
 
How to use Dbcolumn.
 
Same database using dbcolumn working fine but tried to fetch other server value it's not working Pls suggest me.
 
 
Thanks in Advance
Ajeet Kumar Gupt
 
 
 
 
 
 
 
 
Jul 9, 2012, 11:55 AM
4 Posts
Re: DbColumn use in computed text
Please refer below code.
 
var dbname = new Array("ServerName", "mudit.nsf");
@DbColumn(dbname, "All", 1)
 
Jul 20, 2012, 10:40 AM
41 Posts
Re: DbColumn use in computed text
Thanks for response,
But problem are server different location and i m using dbcolumn for differenct location database.How to fetch values....
Jul 21, 2012, 9:07 AM
41 Posts
Re: DbColumn use in computed text
Yes u r right, this is the different server , what is  the soln.
Jul 30, 2012, 2:55 PM
586 Posts
Re: DbColumn use in computed text
 The code from above should work I'd think.  If you're pulling from a completely different server then you need to make sure the administor has the security setup correctly.  I think the 2nd server needs to trust the 1st server in the server document.
 
 

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