@IsEmbeddedInsideWCT (Formula Language)

Indicates whether any part of the current Notes® session is embedded inside of Workplace client.

Note: This @function is new with Release 7.

Syntax

@IsEmbeddedInsideWCT

Return value

flag

Boolean

  • Returns 1 (True) if any Notes® content is open inside Workplace client (even bookmarks)
  • Returns 0 (False) if this is a standalone Notes® environment, or if in the current session, no Notes® content is open inside Workplace client

Usage

This function allows you to globally enable or disable Notes® UI elements depending on whether or not the Notes® content is being viewed from within Workplace client.

The Notes® 8.0 Standard client returns a value of True, and the Notes® 8.0 Basic client returns a value of False.

You cannot use this function in Web applications.

Examples

A programmer wants to use Instant Messaging if the Notes® content is being viewed from within Workplace client, and otherwise use Sametime®. The programmer creates actions to use both, and wants to show only the action that is appropriate for the current environment.

This function, placed in the Hide When tab of the Sametime® action, will hide the action when any Notes® content is open within Workplace client.

@IsEmbeddedInsideWCT

This function, placed in the Hide When tab of the Instant Messaging action, will hide the action in a standalone Notes® environment or when no Notes® content is open within Workplace client.

@Not(@IsEmbeddedInsideWCT)