Salesforce

Visual (Magic xpa 2.x)

« Go Back

Information

 
Created ByKnowledge Migration User
Approval Process StatusPublished
Objective
Description

Visual (Magic xpa 2.x)

Supports right-to-left applications. This function gives the developer the ability to change the way Magic xpa handles mixed strings. The possible ways of handing mixed strings are Logical and Visual. Logical is the way the engine treats the strings internally, but sometimes the strings are provided as Visual. So, if a developer wants the 'Logical' strings to be presented as Visual, they can be converted using the Visual function. Likewise, if a developer needs to handle a set of data that was provided as 'Visual' and wants to make it coherent with the way the Magic xpa engine is handling the strings, then they can be converted using the Logical function.

Syntax:

Visual(string, True/False)

Parameters:

True/False is a Boolean True or False.

Returns:

If True, the string will be displayed with best results when presented from Right to Left. If False, the string will be displayed with best results when presented from Left to Right.

Note:

For this function to work in Offline tasks, the function must be first executed in a non-Offline task (when there is a network connection).

Reference
Attachment 
Attachment