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

MBS FileMaker Plugin Example Databases

UNNotification

All examples are included with download of MBS FileMaker Plugin.

UNNotification.fmp12

Overview
Tables1
Relationships0
Layouts1
Scripts11
Value Lists0
Custom Functions0
Custom Menus33
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
UserNotification
7 fields defined, 1 record
UserNotification

Fields

Table Name: UserNotification - 7 Fields
Field NameTypeOptionsCommentsOn LayoutsIn RelationshipsIn ScriptsIn Value Lists
TitleNormal, TextAuto-Enter:
  • Allow editing
Validation:
  • Only during data entry
Storage:
  • Repetitions: 1
  • Indexing: None
  • Automatically create indexes as needed
  • Index Language: German
      SubTitleNormal, TextAuto-Enter:
      • Allow editing
      Validation:
      • Only during data entry
      Storage:
      • Repetitions: 1
      • Indexing: None
      • Automatically create indexes as needed
      • Index Language: German
          InformativeTextNormal, TextAuto-Enter:
          • Allow editing
          Validation:
          • Only during data entry
          Storage:
          • Repetitions: 1
          • Indexing: None
          • Automatically create indexes as needed
          • Index Language: German
              ActionButtonTitleNormal, TextAuto-Enter:
              • Allow editing
              Validation:
              • Only during data entry
              Storage:
              • Repetitions: 1
              • Indexing: None
              • Automatically create indexes as needed
              • Index Language: German
                  UserInfoNormal, TextAuto-Enter:
                  • Allow editing
                  Validation:
                  • Only during data entry
                  Storage:
                  • Repetitions: 1
                  • Indexing: None
                  • Automatically create indexes as needed
                  • Index Language: German
                      ReferenceNormal, TextAuto-Enter:
                      • Allow editing
                      Validation:
                      • Only during data entry
                      Storage:
                      • Repetitions: 1
                      • Indexing: None
                      • Automatically create indexes as needed
                      • Index Language: German
                          ResultNormal, TextAuto-Enter:
                          • Allow editing
                          Validation:
                          • Only during data entry
                          Storage:
                          • Repetitions: 1
                          • Indexing: None
                          • Automatically create indexes as needed
                          • Index Language: German

                              Layout Objects: UserNotification

                              Regular Fields

                              Field Name: UserNotification::Title
                              Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                              • Top: 24 pt
                              • Left: 138 pt
                              • Bottom: 38 pt
                              • Right: 391 pt
                              • Anchoring: Left, Top
                              Field Format:
                              • Edit Box
                              Field Behavior:
                              • Allow field to be entered: In Find mode, In Browse mode
                              • Touch keyboard type: System Default
                              • Go to next field using: Tab key
                              Yes

                              Field Name: UserNotification::SubTitle
                              Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                              • Top: 42 pt
                              • Left: 138 pt
                              • Bottom: 56 pt
                              • Right: 391 pt
                              • Anchoring: Left, Top
                              Field Format:
                              • Edit Box
                              Field Behavior:
                              • Allow field to be entered: In Find mode, In Browse mode
                              • Touch keyboard type: System Default
                              • Go to next field using: Tab key
                              Yes

                              Field Name: UserNotification::InformativeText
                              Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                              • Top: 60 pt
                              • Left: 138 pt
                              • Bottom: 74 pt
                              • Right: 391 pt
                              • Anchoring: Left, Top
                              Field Format:
                              • Edit Box
                              Field Behavior:
                              • Allow field to be entered: In Find mode, In Browse mode
                              • Touch keyboard type: System Default
                              • Go to next field using: Tab key
                              Yes

                              Field Name: UserNotification::ActionButtonTitle
                              Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                              • Top: 78 pt
                              • Left: 138 pt
                              • Bottom: 92 pt
                              • Right: 391 pt
                              • Anchoring: Left, Top
                              Field Format:
                              • Edit Box
                              Field Behavior:
                              • Allow field to be entered: In Find mode, In Browse mode
                              • Touch keyboard type: System Default
                              • Go to next field using: Tab key
                              Yes

                              Field Name: UserNotification::UserInfo
                              Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                              • Top: 96 pt
                              • Left: 138 pt
                              • Bottom: 110 pt
                              • Right: 391 pt
                              • Anchoring: Left, Top
                              Field Format:
                              • Edit Box
                              Field Behavior:
                              • Allow field to be entered: In Find mode, In Browse mode
                              • Touch keyboard type: System Default
                              • Go to next field using: Tab key
                              Yes

                              Field Name: UserNotification::Reference
                              Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                              • Top: 162 pt
                              • Left: 138 pt
                              • Bottom: 176 pt
                              • Right: 391 pt
                              • Anchoring: Left, Top
                              Field Format:
                              • Edit Box
                              Field Behavior:
                              • Allow field to be entered: In Find mode, In Browse mode
                              • Touch keyboard type: System Default
                              • Go to next field using: Tab key
                              Yes

                              Field Name: UserNotification::Result
                              Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                              • Top: 180 pt
                              • Left: 138 pt
                              • Bottom: 194 pt
                              • Right: 391 pt
                              • Anchoring: Left, Top
                              Field Format:
                              • Edit Box
                              Field Behavior:
                              • Allow field to be entered: In Find mode, In Browse mode
                              • Touch keyboard type: System Default
                              • Go to next field using: Tab key
                              Yes

                              Group Buttons

                              Button PropertiesCoordinatesScript/Script Step
                                Type:
                              • Text: Create Notification
                                Additional Properties:
                              • Change to hand cursor over button
                              • Rectangular
                              • Top: 120 pt
                              • Left: 60 pt
                              • Bottom: 145 pt
                              • Right: 181 pt
                              • Anchoring: Left, Top
                              Perform Script [ “CreateNotification” ]

                              Scripts:


                              Button PropertiesCoordinatesScript/Script Step
                                Type:
                              • Text: Deliver Notification
                                Additional Properties:
                              • Change to hand cursor over button
                              • Rectangular
                              • Top: 120 pt
                              • Left: 192 pt
                              • Bottom: 145 pt
                              • Right: 313 pt
                              • Anchoring: Left, Top
                              Perform Script [ “DeliverNotification” ]

                              Scripts:


                              Button PropertiesCoordinatesScript/Script Step
                                Type:
                              • Text: Schedule Notification in 10 seconds
                                Additional Properties:
                              • Change to hand cursor over button
                              • Rectangular
                              • Top: 210 pt
                              • Left: 40 pt
                              • Bottom: 235 pt
                              • Right: 237 pt
                              • Anchoring: Left, Top
                              Perform Script [ “ScheduleNotification” ]

                              Scripts:


                              Button PropertiesCoordinatesScript/Script Step
                                Type:
                              • Text: Show Notification
                                Additional Properties:
                              • Change to hand cursor over button
                              • Rectangular
                              • Top: 210 pt
                              • Left: 252 pt
                              • Bottom: 235 pt
                              • Right: 391 pt
                              • Anchoring: Left, Top
                              Perform Script [ “ShowNotification” ]

                              Scripts:


                              Button PropertiesCoordinatesScript/Script Step
                                Type:
                              • Text: Show all Delivered Notifications
                                Additional Properties:
                              • Change to hand cursor over button
                              • Rectangular
                              • Top: 252 pt
                              • Left: 22 pt
                              • Bottom: 277 pt
                              • Right: 201 pt
                              • Anchoring: Left, Top
                              Perform Script [ “ShowDeliveredNotifications” ]

                              Scripts:


                              Button PropertiesCoordinatesScript/Script Step
                                Type:
                              • Text: Show all Pending Notifications
                                Additional Properties:
                              • Change to hand cursor over button
                              • Rectangular
                              • Top: 252 pt
                              • Left: 219 pt
                              • Bottom: 277 pt
                              • Right: 393 pt
                              • Anchoring: Left, Top
                              Perform Script [ “ShowPendingNotificationRequests” ]

                              Scripts:


                              Script Hierarchy

                              CreateNotification
                              DeliverNotification
                              ScheduleNotification
                              Trace
                              NotificationDelivered
                              NotificationAction
                              NotificationActivated
                              ShowPendingNotificationRequests
                              ShowDeliveredNotifications
                              ShowNotifications
                              ShowNotification

                              Next Script: [DeliverNotification]
                              Script NameCreateNotification
                              Run script with full access privilegesOff
                              Include In MenuYes
                              Layouts that use this script
                              Scripts that use this script
                                Script Definition
                                Script Steps
                                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: [CreateNotification]Next Script: [ScheduleNotification]
                                        Script NameDeliverNotification
                                        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 [ UserNotification::Result; MBS("UNNotification.deliver"; UserNotification::Reference) ]
                                          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: [DeliverNotification]Next Script: [Trace]
                                                  Script NameScheduleNotification
                                                  Run script with full access privilegesOff
                                                  Include In MenuYes
                                                  Layouts that use this script
                                                  Scripts that use this script
                                                    Script Definition
                                                    Script Steps
                                                    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: [ScheduleNotification]Next Script: [NotificationDelivered]
                                                            Script NameTrace
                                                            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 [ $r; Value:MBS("Trace"; "/tmp/trace.txt") ]
                                                                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: [Trace]Next Script: [NotificationAction]
                                                                              Script NameNotificationDelivered
                                                                              Run script with full access privilegesOff
                                                                              Include In MenuYes
                                                                              Layouts that use this script
                                                                                Scripts that use this script
                                                                                  Script Definition
                                                                                  Script Steps
                                                                                  • Show Custom Dialog [ Title: "Notification delivered"; Message: Get(ScriptParameter); Default Button: “OK”, Commit: “Yes” ]
                                                                                  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: [NotificationDelivered]Next Script: [NotificationActivated]
                                                                                                Script NameNotificationAction
                                                                                                Run script with full access privilegesOff
                                                                                                Include In MenuYes
                                                                                                Layouts that use this script
                                                                                                  Scripts that use this script
                                                                                                    Script Definition
                                                                                                    Script Steps
                                                                                                    • Show Custom Dialog [ Title: "Notification action"; Message: Get(ScriptParameter); Default Button: “OK”, Commit: “Yes” ]
                                                                                                    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: [NotificationAction]Next Script: [ShowPendingNotificationRequests]
                                                                                                                  Script NameNotificationActivated
                                                                                                                  Run script with full access privilegesOff
                                                                                                                  Include In MenuYes
                                                                                                                  Layouts that use this script
                                                                                                                    Scripts that use this script
                                                                                                                      Script Definition
                                                                                                                      Script Steps
                                                                                                                      • Show Custom Dialog [ Title: "Notification activated"; Message: Get(ScriptParameter); Default Button: “OK”, Commit: “Yes” ]
                                                                                                                      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: [NotificationActivated]Next Script: [ShowDeliveredNotifications]
                                                                                                                                    Script NameShowPendingNotificationRequests
                                                                                                                                    Run script with full access privilegesOff
                                                                                                                                    Include In MenuYes
                                                                                                                                    Layouts that use this script
                                                                                                                                    Scripts that use this script
                                                                                                                                      Script Definition
                                                                                                                                      Script Steps
                                                                                                                                      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: [ShowPendingNotificationRequests]Next Script: [ShowNotifications]
                                                                                                                                                  Script NameShowDeliveredNotifications
                                                                                                                                                  Run script with full access privilegesOff
                                                                                                                                                  Include In MenuYes
                                                                                                                                                  Layouts that use this script
                                                                                                                                                  Scripts that use this script
                                                                                                                                                    Script Definition
                                                                                                                                                    Script Steps
                                                                                                                                                    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: [ShowDeliveredNotifications]Next Script: [ShowNotification]
                                                                                                                                                                Script NameShowNotifications
                                                                                                                                                                Run script with full access privilegesOff
                                                                                                                                                                Include In MenuNo
                                                                                                                                                                Layouts that use this script
                                                                                                                                                                  Scripts that use this script
                                                                                                                                                                  Script Definition
                                                                                                                                                                  Script Steps
                                                                                                                                                                  • Set Variable [ $r; Value:Get(ScriptParameter) ]
                                                                                                                                                                  • Set Variable [ $count; Value:ValueCount ( $r ) ]
                                                                                                                                                                  • Set Variable [ $index; Value:0 ]
                                                                                                                                                                  • Set Variable [ $text ]
                                                                                                                                                                  • If [ $count > 0 ]
                                                                                                                                                                  • Loop
                                                                                                                                                                  • Set Variable [ $ref; Value:GetValue( $r ; $index+1 ) ]
                                                                                                                                                                  • Set Variable [ $text; Value:$text & GetAsNumber($ref) & ": " & MBS("UNNotification.Title"; $ref) & "¶" ]
                                                                                                                                                                  • Set Variable [ $index; Value:$index+1 ]
                                                                                                                                                                  • Exit Loop If [ $index = $count ]
                                                                                                                                                                  • End Loop
                                                                                                                                                                  • End If
                                                                                                                                                                  • Show Custom Dialog [ Title: "Notifications"; Message: $text; Default Button: “OK”, Commit: “Yes”; Button 2: “Cancel”, Commit: “No” ]
                                                                                                                                                                  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: [ShowNotifications]
                                                                                                                                                                                Script NameShowNotification
                                                                                                                                                                                Run script with full access privilegesOff
                                                                                                                                                                                Include In MenuYes
                                                                                                                                                                                Layouts that use this script
                                                                                                                                                                                Scripts that use this script
                                                                                                                                                                                  Script Definition
                                                                                                                                                                                  Script Steps
                                                                                                                                                                                  • Show Custom Dialog [ Title: "Notification"; Message: MBS("UNNotification.GetDescription"; UserNotification::Reference); Default Button: “OK”, Commit: “Yes” ]
                                                                                                                                                                                  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: UNNotification

                                                                                                                                                                                          Used functions: