Salesforce

How Do I Fetch the Name of the Current Context? (Magic xpa 3.x)

« Go Back

Information

 
Created ByKnowledge Migration User
Approval Process StatusPublished
Objective
Description

How Do I Fetch the Name of the Current Context? (Magic xpa 3.x)

When communicating between contexts, a program will often need to know its own name, so that it can identify itself to other programs.

To fetch the context name, use the CtxGetName() function. There are no parameters. It returns an alpha string, which can be up to 128 characters long. (the context names assigned by Magic xpa are alpha strings of numbers, about 16 characters long, but the programmer can rename the context using up to 128 characters).

See also

The Online Samples project (program MT01)

Reference
Attachment 
Attachment