About

The Standards.fp7 FileMaker file contains both the Coding Standards and Best Practices covered within this web site. The file is constantly being improved and its version can be found as the first script within the file (see image).

Downloading a copy

The most recent version of this file can always be found at the authoritative code repository at github.com

https://github.com/filemakerstandards/fmpstandards/raw/master/Standards.fp7

Downloading the file is simply a matter of right-clicking the Standards.fp7 file and choosing the "Save As..." (or equivalent) to download. You can verify you have the latest by cross referencing the version number in Manage Scripts and what is listed here.

Changelog (also as a script within the file)

# [0.2.2] - 3/22/11 - Matt Petrowsky
  - Added  Developer menu and file backup script

# [0.2.1] - 3/20/11 - Matt Petrowsky
  - Added Error related functions

# [0.2.0] - 2/11/11 - Matt Petrowsky
  - Added the UUID functions and ~ObjectID function per http://filemakerstandards.org/pages/viewpage.action?pageId=557133

# [0.1.9] - 1/7/11 - Matt Petrowsky
  - Updated many of the custom functions which are being collected on the github repository

# [0.1.8] - 12/29/10 - Matt Petrowsky
  - Added the placeholders for Suppressible Triggered Scripts http://filemakerstandards.org/display/bp/Suppressible+Triggered+Scripts

# [0.1.7] - 10/31/10 - Matt Petrowsky
  - Added TemplateCustomFunction
  - Adjusted script comment headers
  - Added the #Assign script parameter wrapper functions
  - Attached a Startup script

# [0.1.6] - 10/15/10 - Matt Petrowsky
  - Added the Reserved keywords script for noting which words are reserved in the solution
  - Added the UUID custom function

# [0.1.5] - 10/12/10 - Matt Petrowsky
  - Added the Template script per suggested Default scripts section
  - Added the History label into the Script header in Template script

# [0.1.4] - 10/11/10 - Matt Petrowsky
  - Added the "Startup" table, table occurrence and layout to accommodate Low impact startup

# [0.1.3] - 10/10/10
  - Changed view order for File > Mange > Database > Tables to Custom
  - Changed view order for File > Manage > Security > Privilege Sets to Custom

# [0.1.2] - 10/10/10
  - Added scripts with commenting conventions

# [0.1.1] - 10/9/10
  - Use a version number which can be evaluated as a decimal value
  - Meaning 1.0.5 would be equivalent to 1.05 when used with GetAsNumber ()

# [0.1] - 10/1/10
  - Each comment line is a new release - Within each release you can list as many different changes
  • No labels

5 Comments

  1. Anonymous

    [relevant for v0.2.2]

    The Developer Save Backup script in this file uses an incorrect test for OS

    Choose ( Get ( SystemPlatform ) - 1 ; "filemac:" ; "filewin:" )

    should be...

    Choose ( Abs( Get ( SystemPlatform ) ) - 1 ; "filemac:" ; "filewin:" )

    1. Anonymous

      Shouldn't it be:

      Choose ( Abs( Get ( SystemPlatform ) ) = 1 ; "filemac:" ; "filewin:" )

      not

      Choose ( Abs( Get ( SystemPlatform ) ) - 1 ; "filemac:" ; "filewin:" )

      Theres no equal sign before the 1.

  2. Matt,

    Do you think we can place the link to the sample file on the Overview page or one of the other main pages? It may make it easier to find for some.

    1. Good suggestion. I'll link them off the main page. Do you have write access to the Best Practices section? I'm making some updates to the .fmp12 version in my working branch of the repository but I'm lacking collaboration on some things being added.

      Since the list is also getting this email it would be nice to know if people on the list would like to plan "collaboration" days where we get on web meeting and  discuss some of the proposals and move them into ratified status.

      1. Yes, I believe I do have write access to the Best Practices section.

        I'd be willing to do collaboration days.  Although I have some limits regarding timing. But we can work that out as we go.