Salesforce

SharedValSet (Magic xpa 3.x)

« Go Back

Information

 
Created ByKnowledge Migration User
Approval Process StatusPublished
Objective
Description

SharedValSet (Magic xpa 3.x)

Creates a shared value, which 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:

SharedValSet(name, value)

Parameters:

name – The name of the shared value.

value – The value that can be returned.

Returns:

This function always returns True.

Example:

SharedValSet('RATIO', 0.34) creates a shared numeric value 0.34 with the name of RATIO.

Note:

  • The shared value can be retrieved by using the SharedValGet function with the name of the shared value.

  • This function should not be used on .NET variables or on Java objects.

See also:

GetParam

SetParam

The Online Samples project (program MT07 and MT08)

Reference
Attachment 
Attachment