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:
10.5
11.0
11.1
11.2
11.3
11.4
11.5
12.0
12.1
12.2
Statistic
FMM
Blog
JavaScript.GetPropertyJSON
Queries property value as JSON.
Component | Version | macOS | Windows | Linux | Server | iOS SDK | License |
JavaScriptMac | 12.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes, on macOS | ✅ Yes | Paid |
MBS( "JavaScript.GetPropertyJSON"; JavaScriptContext; PropertyName ) More
Parameters
Parameter | Description | Example |
---|---|---|
JavaScriptContext | The reference number of the javascript context. | $Context |
PropertyName | The name of the property. | "FirstName" |
Result
Returns JSON or error.
Description
Queries property value as JSON.Examples
Query JSON:
Set Field [ JavaScript::Value ; MBS("JavaScript.GetPropertyJSON"; $$Context; "test") ]
See also
Release notes
- Version 12.2
- Added JavaScript.CallFunction, JavaScript.GetPropertyJSON and JavaScript.SetPropertyJSON functions.
Blog Entries
Created 3th May 2022, last changed 5th May 2022
JavaScript.GetProperty - JavaScript.HasProperty
Feedback: Report problem or ask question.
