Salesforce

CtxProg (Magic xpa 3.x)

« Go Back

Information

 
Created ByKnowledge Migration User
Approval Process StatusPublished
Objective
Description

CtxProg (Magic xpa 3.x)

Returns the program name of the top level program of the context if executed from another context, or the task path if executed on the current context.

Syntax:

CtxProg (context entry or identifier)

Parameters:

context entry or identifier: A number representing the context. This number can be either the context entry number in the current context list or the actual context identifier.

Returns:

The program name of the top level program of the context if executed from another context, or the task path if executed on the current context.

Note:

Before evaluating the CtxProg function, you should load the contexts list by evaluating the CtxNum function.

See also:

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

Reference
Attachment 
Attachment