Salesforce

CtxGetName (Magic xpa 4.x)

« Go Back

Information

 
Created BySalesforce Service User
Approval Process StatusPublished
Objective
Description

CtxGetName (Magic xpa 4.x)

Enables the programmer to fetch the name of the current context.

Syntax:

CtxGetName()

Returns:

Alpha – The name of the current context.

If the context was given a name by using the CtxSetName function, this is the name that will be returned.

If the context was not renamed, it will return the context ID of the context as a string.

When executing this function on the initial context, the function will return the “Main” context.

Note:

The name length cannot be more than 128 characters.

To retrieve the actual context ID even when a context has been renamed, you can use the CtxGetId function.

See also:

The Online Samples project (program MT07 and MT08)

Reference
Attachment 
Attachment