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: 7.5   8.0   8.1   8.2   8.3   8.4   8.5   9.0   9.1   9.2    Statistic  


Sets property value.

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


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


Returns OK or error.


Sets property value.


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 25th November 2017

JavaScript.Release   -   Keychain.AddPassword

Feedback: Report problem or ask question.

MBS FileMaker Plugins