FORUM PLAN UPDATE
Date revision: This forum will remain open to new posts and responses until December 1, 2018. (After that date, you will still be able to view and search the forum.) Also, we're taking a second look at the best place to host future conversation. For now, keep using this forum, and stay tuned for more news.



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

Steven

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


FORUM PLAN UPDATE
Date revision: This forum will remain open to new posts and responses until December 1, 2018. (After that date, you will still be able to view and search the forum.) Also, we're taking a second look at the best place to host future conversation. For now, keep using this forum, and stay tuned for more news.