Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old

MBS FileMaker Plugin Example Databases

XML Colorize

All examples are included with download of MBS FileMaker Plugin.

XML Colorize.fmp12

Overview
Tables 1
Relationships 0
Layouts 1
Scripts 3
Value Lists 0
Custom Functions 0
Custom Menus 24
File Options
Default custom menu set [Standard FileMaker Menus]
Default theme Apex Blue
When opening file
Minimum allowed version 12.0
Login using Account Name; Account= Admin
Allow user to save password Off
Require iOS passcode Off
Show Sign-in fields Off
Switch to layout Off
Hide all toolbars Off
Script triggers
OnFirstWindowOpen Off
OnLastWindowClose Off
OnWindowOpen Off
OnWindowClose Off
OnFileAVPlayerChange Off
OnWindowTransaction Off
Thumbnail Settings
Generate Thumbnails On; Temporary

 

Tables

Table Name
Statistics
Occurrences in Relationship Graph
XML Colored
3 fields defined, 1 record
XML Colored

Fields

Table Name: XML Colored - 3 Fields
Field Name Type Options Comments On Layouts In Relationships In Scripts In Value Lists
XML Input Normal, Text Auto-Enter:
  • Allow editing
Validation:
  • Only during data entry
Storage:
  • Repetitions: 1
  • Indexing: None
  • Automatically create indexes as needed
  • Index Language: German
      XML Light Normal, Text Auto-Enter: Validation:
      • Only during data entry
      Storage:
      • Repetitions: 1
      • Indexing: None
      • Automatically create indexes as needed
      • Index Language: German
            XML Dark Normal, Text Auto-Enter: Validation:
            • Only during data entry
            Storage:
            • Repetitions: 1
            • Indexing: None
            • Automatically create indexes as needed
            • Index Language: German

                  Layout Objects: XML Colored

                  Regular Fields

                  Field Name: XML Colored::XML Input
                  Field Properties Coordinates Field Format Field Behavior Quick Find
                  • Top: 52 pt
                  • Left: 138 pt
                  • Bottom: 273 pt
                  • Right: 905 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 Colored::XML Light
                  Field Properties Coordinates Field Format Field Behavior Quick Find
                  • Top: 281 pt
                  • Left: 138 pt
                  • Bottom: 502 pt
                  • Right: 905 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 Colored::XML Dark
                  Field Properties Coordinates Field Format Field Behavior Quick Find
                  • Top: 510 pt
                  • Left: 138 pt
                  • Bottom: 731 pt
                  • Right: 905 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

                  Buttons

                  Button Properties Coordinates Script/Script Step
                    Type:
                  • Text: Update
                  • Top: 78 pt
                  • Left: 916 pt
                  • Bottom: 114 pt
                  • Right: 998 pt
                  • Anchoring: Left, Top
                  Set Field [ XML Colored::XML Input; XML Colored::XML Input ]

                  Fields:


                  Button Properties Coordinates Script/Script Step
                    Type:
                  • Text: Tidy
                  • Top: 132 pt
                  • Left: 916 pt
                  • Bottom: 168 pt
                  • Right: 998 pt
                  • Anchoring: Left, Top
                  Perform Script [ “Tidy” ]

                  Scripts:


                  Script Hierarchy

                  Set to clipboard
                  Format
                  Tidy

                  Next Script: [Format]
                  Script Name Set to clipboard
                  Run script with full access privileges Off
                  Siri Shortcut Visible Off
                  Include In Menu Yes
                  Layouts that use this script
                    Scripts that use this script
                      Script Definition
                      Script Steps
                      • #if you copied something from FileMaker, you can insert it
                      • Set Variable [ $r; Value:MBS( "Clipboard.GetFileMakerData"; "auto" ) ]
                      • If [ Length($r) > 0 ]
                      • Set Field [ XML Colored::XML Input; $r ]
                      • Exit Script [ ]
                      • 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

                              Previous Script: [Set to clipboard] Next Script: [Tidy]
                              Script Name Format
                              Run script with full access privileges Off
                              Siri Shortcut Visible Off
                              Include In Menu Yes
                              Layouts that use this script
                                Scripts that use this script
                                  Script Definition
                                  Script Steps
                                  • Set Field [ XML Colored::XML Input; MBS("XML.Format"; XML Colored::XML Input; 1) ]
                                  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

                                          Previous Script: [Format]
                                          Script Name Tidy
                                          Run script with full access privileges Off
                                          Siri Shortcut Visible Off
                                          Include In Menu Yes
                                          Layouts that use this script
                                          Scripts that use this script
                                            Script Definition
                                            Script Steps
                                            • Set Field [ XML Colored::XML Input; MBS("XML.Tidy"; XML Colored::XML Input; JSONSetElement ( "{}" ; "indent" ; "yes" ; JSONString )) ]
                                            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 Colorize

                                                    Used functions: