Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
JavaScript.SetPropertyJSON
Sets property value using JSON.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
JavaScriptWebKit | 12.2 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |
MBS( "JavaScript.SetPropertyJSON"; JavaScriptContext; PropertyName; JSONString ) More
Parameters
Parameter | Description | Example |
---|---|---|
JavaScriptContext | The reference number of the javascript context. | $Context |
PropertyName | The name of the property. | "FirstName" |
JSONString | The new value as JSON Text. | "{}" |
Result
Returns OK or error.
Description
Sets property value using JSON.Great way to move lots of data as JSON to the JavaScript environment.
Examples
Set property via JSON:
Set Variable [ $r ; Value: MBS("JavaScript.SetPropertyJSON"; $$Context; "test"; "{\"Hello\": \"World\"}") ]
See also
Release notes
- Version 12.2
- Added JavaScript.CallFunction, JavaScript.GetPropertyJSON and JavaScript.SetPropertyJSON functions.
Blog Entries
- MBS FileMaker Plugin 12.2
- Neues MBS Plugin 12.2 für Claris FileMaker
- MBS Plugin 12.2 for Claris FileMaker
- MBS FileMaker Plugin, version 12.2pr5
This function checks for a license.
Created 3th May 2022, last changed 9th February 2023