Salesforce

CtxNum (Magic xpa 4.x)

« Go Back

Information

 
Created BySalesforce Service User
Approval Process StatusPublished
Objective
Description

CtxNum (Magic xpa 4.x)

Returns the number of active contexts.

Syntax:

CtxNum( )

Parameters:

None

Returns:

A numeric value indicating the number of active contexts.

For Runtime deployment mode, the function always returns at least 1 – the current context.

For Background deployment mode, the function always returns at least 2 – the current context and the engine's primary context.

Note:

You must first evaluate this function before you can execute the CtxClose, CtxKill, CtxLstUse, CtxProg, CtxSize, and CtxStat functions.

See also:

The Online and Rich Client Samples projects (program ES01 and RES01)

Reference
Attachment 
Attachment