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



Mar 26, 2011, 10:55 PM
29 Posts

Hide button if a new doc

  • Category: Documentation
  • Platform: All
  • Release: 8.5.2
  • Role:
  • Tags:
  • Replies: 2
Simple question, but can't find it anywhere. Xpages seems great, but really hard to find simple examples..
 
I have a button and want to hide it on a new document like the old hide when @isnewdoc
Mar 27, 2011, 3:01 AM
2 Posts
Re: Hide button if a new doc
Set Visible to be computed as !document1.isNewNote()
 
ie make the button visible when the XSP document is not a new 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