Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Guides   Examples
New in version: 8.5   9.0   9.1   9.2   9.3   9.4   9.5   10.0   10.1   10.2    Statistic  


Queries property value as text.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
JavaScriptMac 5.4 Yes No Yes, macOS only No Yes
MBS( "JavaScript.GetProperty"; JavaScriptContext; PropertyName )   More


Parameter Description Example value
JavaScriptContext The reference number of the javascript context. $Context
PropertyName The name of the property. "FirstName"


Returns text or error.


Queries property value as text.


Set and query property:

Set Variable [ $js ; Value: MBS( "JavaScript.New" ) ]
Set Variable [ $r ; Value: MBS( "JavaScript.SetProperty"; $js; "FirstName"; "Joe" ) ]
Show Custom Dialog [ "Result" ; MBS( "JavaScript.GetProperty"; $js; "FirstName" ) ]
Set Variable [ $r ; Value: MBS( "JavaScript.Release"; $js ) ]

See also

Example Databases

Created 5th November 2015, last changed 9th January 2020

JavaScript.EvaluateScript   -   JavaScript.HasProperty

Feedback: Report problem or ask question.

MBS Xojo Plugins