MBS FileMaker Plugin Example Databases

JSON to HTML

All examples are included with download of MBS FileMaker Plugin.

JSON to HTML.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
JSON to HTML
2 fields defined, 1 record
JSON to HTML

Fields

Table Name: JSON to HTML - 2 Fields
Field NameTypeOptionsCommentsOn LayoutsIn RelationshipsIn ScriptsIn Value Lists
JSON 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:
      • Allow editing
      • Context table: JSON to HTML
        Calculation: MBS("JSON.ToHTML"; JSON to HTML::JSON Input; 0; /* CSS style to include */ "<style> td { vertical-align:top; } .odd { background-color: white; } .even { background-color: #DDD; } </style>")
      Validation:
      • Only during data entry
      Storage:
      • Repetitions: 1
      • Indexing: None
      • Automatically create indexes as needed
      • Index Language: German

            Layout Objects: JSON to HTML

            Regular Fields

            Field Name: JSON to HTML::JSON Input
            Field PropertiesCoordinatesField FormatField BehaviorQuick Find
            • Top: 52 pt
            • Left: 138 pt
            • Bottom: 330 pt
            • Right: 510 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: JSON to HTML::JSON Output
            Field PropertiesCoordinatesField FormatField BehaviorQuick Find
            • Top: 336 pt
            • Left: 138 pt
            • Bottom: 501 pt
            • Right: 510 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

            Web Viewer Controls

            Web Viewer Control PropertiesCoordinatesWeb Address
              Additional Properties:
            • Allow interaction with web viewer content
            • Display progress bar
            • Display status messages
            • Automatically encode URL
            • Top: 52 pt
            • Left: 519 pt
            • Bottom: 501 pt
            • Right: 1010 pt
            • Anchoring: Left, Top
            "data:text/html;charset=utf-8;base64," & Base64Encode ( JSON to HTML::JSON Output )

            Script Hierarchy

            Colorize JSON

            Script NameColorize JSON
            Run script with full access privilegesOff
            Include In MenuYes
            Layouts that use this script
              Scripts that use this script
                Script Definition
                Script Steps
                • Set Field [ JSON to HTML::JSON Input; MBS("JSON.Colorize"; JSON to HTML::JSON Input) ]
                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: JSON to HTML

                        Used functions:




                        Links
                        MBS Xojo Plugins