Download Send To Carafe
Created By: jlavere
Version: 1.0.1

Windows Tested: Yes
Offline Compatible: Yes

Description:

JSON is an ideal standard for passing data back and forth in FileMaker, but it’s not the easiest format to read or interact with. Large amounts of data and very structured notation can lead to simple mistakes causing a multitude of problems.


After installing the JSONEditor bundle, you should have sample data displaying in the web viewer. If not, please walk through the installation process again. Once you see sample data, we can begin the configuration process to bind bundle to the specific fields and scripts in FileMaker required for our use case.



To do so we’ll need a script to marshal some JSON data from FileMaker and pass it to the bundle for display and/or editing. We can also configure other options in the bundle to change its behavior and/or call FileMaker scripts in order to get the JSON back to FileMaker to be persisted or used for anything a script needs JSON for.


A bundle to edit and validate JSON in FileMaker.

Configuration

Name Description Type
additionalCallbackParametersAnything you want passed back to the script defined in the Callback option.jsonObject
callbackName of the FileMaker script to call after a change is made and the debounce delay has passed without an additional change. The script will be called and passed a script parameter of the jsonValue as well as anything in additionalCallbackParameters.text
debounceNumber of milliseconds to wait after a change is made and the debounce delay has passed without an additional change.number
headerStyleCSS to pass to the header.text
jsonValueInitial data loaded into the JSONEditor. WARNING - Omitting this value will display sample data in the editor.jsonObject
optionsThis object will be passed directly to the underlying JSONEditor package. See a couple important options below, and a link to the documentation which documents all of the possible options.jsonObject
styleCSS to pass to the page.text
References:

0 Comments

Leave a Comment