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 31, 2012, 9:05 PM
15 Posts

How to replace the values from the xpages of the backend form ?

  • Category: Server Side JavaScript
  • Platform: Windows
  • Release: 8.5.2
  • Role: Developer
  • Tags:
  • Replies: 1

Jun 1, 2012, 7:59 AM
126 Posts
Re: How to replace the values from the xpages of the backend form ?
doc2 = database.getDocumentByUNID(viewScope.doc2); 
 
doc2.replaceItemValue("Body",   "some content"); 
doc2. replaceItemValue ("Number",  2); 
 
 
if you set a property to compute in the properties panel and open the script editor there is a reference list of the javascript methods that can be called, can be helpful to find out whats available 

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