Salesforce

PublicName (Magic xpa 3.x)

« Go Back

Information

 
Created ByKnowledge Migration User
Approval Process StatusPublished
Objective
Description

PublicName (Magic xpa 3.x)

Retrieves the public name of a running program.

Syntax:

PublicName (generation)

Parameters:

generation – A number that represents the task's hierarchic position in the runtime task tree. 0 represents the current task, 1 its immediate ancestor, and so on.

Returns:

The public name of the program. If the task generation does not point to a program (it points to a subtask, Main Program, or no task at all) the function will return NULL.

Example:

If the public name of the current running program is “LIST”, then the PublicName(0) function will return “LIST”.

See also:

TaskID

The Online and Rich Client Samples projects (program TF02 and RTF02)

Reference
Attachment 
Attachment