Topics   All   MacOS (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Deprecated   Guides   Examples   Videos
New in version: 9.3   9.4   9.5   10.0   10.1   10.2   10.3   10.4   10.5   10.6    Statistic    FMM    Blog  


Queries global property.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
JavaScript 10.0 Yes Yes Yes Yes Yes
MBS( "JS.GetGlobalPropertyValue"; JSRef; Name )   More


Parameter Description Example
JSRef The JavaScript reference number. $js
Name The name of the variable. "test"


Returns value or error.


Queries global property.
Returns value as number, text or JSON encoded.
This is a simplified version of JS.GetGlobalProperty to avoid extra JSON encoding for simple values. Objects are still returned JSON encoded.


Queries a number value:

MBS( "JS.GetGlobalPropertyValue"; $js; "Hello")

See also

Example Databases

Blog Entries

Created 17th December 2019, last changed 26th December 2019

JS.GetGlobalProperty   -   JS.New

Feedback: Report problem or ask question.

MBS Xojo PDF Plugins