MBS FileMaker Plugin Example Databases

XML to JSON

All examples are included with download of MBS FileMaker Plugin.

XML to JSON.fmp12

Overview
Tables1
Relationships0
Layouts1
Scripts1
Value Lists0
Custom Functions0
Custom Menus0
File Options
Default custom menu set[Standard FileMaker Menus]
When opening file
Minimum allowed version12.0
Login usingAccount Name; Account= Admin
Allow user to save passwordOff
Require iOS passcodeOff
Switch to layoutOff
Hide all toolbarsOff
Script triggers
OnFirstWindowOpenOff
OnLastWindowCloseOff
OnWindowOpenOff
OnWindowCloseOff
OnFileAVPlayerChangeOff
Thumbnail Settings
Generate ThumbnailsOn; Temporary

 

Tables

Table Name
Statistics
Occurrences in Relationship Graph
XML To JSON
2 fields defined, 1 record
XML To JSON

Fields

Table Name: XML To JSON - 2 Fields
Field NameTypeOptionsCommentsOn LayoutsIn RelationshipsIn ScriptsIn Value Lists
XML InputNormal, TextAuto-Enter:
  • Allow editing
Validation:
  • Only during data entry
Storage:
  • Repetitions: 1
  • Indexing: None
  • Automatically create indexes as needed
  • Index Language: German
      JSON OutputNormal, TextAuto-Enter: Validation:
      • Only during data entry
      Storage:
      • Repetitions: 1
      • Indexing: None
      • Automatically create indexes as needed
      • Index Language: German

            Layout Objects: XML To JSON

            Regular Fields

            Field Name: XML To JSON::XML Input
            Field PropertiesCoordinatesField FormatField BehaviorQuick Find
            • Top: 53 pt
            • Left: 11 pt
            • Bottom: 503 pt
            • Right: 528 pt
            • Anchoring: Left, Top
            Field Format:
            • Edit Box
            Field Behavior:
            • Allow field to be entered: In Find mode, In Browse mode
            • Touch keyboard type: Default for Data Type
            • Go to next field using: Tab key
            Yes

            Field Name: XML To JSON::JSON Output
            Field PropertiesCoordinatesField FormatField BehaviorQuick Find
            • Top: 53 pt
            • Left: 540 pt
            • Bottom: 503 pt
            • Right: 1015 pt
            • Anchoring: Left, Top
            Field Format:
            • Edit Box
            Field Behavior:
            • Allow field to be entered: In Find mode, In Browse mode
            • Touch keyboard type: Default for Data Type
            • Go to next field using: Tab key
            Yes

            Script Hierarchy

            Colorize XML

            Script NameColorize XML
            Run script with full access privilegesOff
            Include In MenuYes
            Layouts that use this script
              Scripts that use this script
                Script Definition
                Script Steps
                • Set Variable [ $x; Value:MBS("XML.Format"; XML To JSON::XML Input; 1) ]
                • If [ MBS("IsError") ]
                • Show Custom Dialog [ Title: "Error"; Message: $x; Default Button: “OK”, Commit: “Yes”; Button 2: “Abbrechen”, Commit: “No” ]
                • Else
                • Set Variable [ $x; Value:MBS("XML.Colorize"; $x) ]
                • If [ MBS("IsError") ]
                • Show Custom Dialog [ Title: "Error"; Message: $x; Default Button: “OK”, Commit: “Yes”; Button 2: “Abbrechen”, Commit: “No” ]
                • Else
                • Set Field [ XML To JSON::XML Input; $x ]
                • End If
                • End If
                Fields used in this script
                Scripts used in this script
                  Layouts used in this script
                    Tables used in this script
                    Table occurrences used by this script
                    Custom Functions used by this script
                      Custom menu set used by this script

                        Download example: XML to JSON

                        Used functions:




                        Links
                        MBS Xojo Plugins