Salesforce

SharedValGet (Magic xpa 3.x)

« Go Back

Information

 
Created ByKnowledge Migration User
Approval Process StatusPublished
Objective
Description

SharedValGet (Magic xpa 3.x)

Retrieves a shared value according to its name. A shared value is a value stored in the memory of the Magic xpa process. Once created, this value can be retrieved by all active contexts and new contexts.

Syntax:

SharedValGet(name)

Parameters:

name – The name of the shared value.

Returns:

The function returns the shared value by the defined name. The attribute of the returned value is determined by the shared value attribute as set by the SharedValSet function. If the shared value does not exist, the function returns a Null value.

Example:

SharedValGet('RATIO') retrieves the shared value name 'RATIO'.

See also:

The Online Samples project (program MT07 and MT08)

Reference
Attachment 
Attachment