Jun 13, 2016, 12:33 AM
8 Posts
topic has been resolvedResolved

Hide when XPINC

  • Category: Other
  • Platform: All
  • Release: 9.0.1
  • Role: Developer
  • Tags:
  • Replies: 2

Hi All

I'm hoping this is a quick question that I'll have a "of course" moment when the answer comes through!

I'm wanting to hide a custom control on an xpage when the xpage is accessed via XPINC.

Long and boring story why but this would be the quick solution.

Thanks in advance


Jun 13, 2016, 1:48 AM
110 Posts
Compute the custom control's visible property

Using the following SSJS code:

@ClientType() == "Web";


Jun 14, 2016, 7:31 PM
8 Posts
Hide when XPINC

Of course! Thanks Baxter