Brian Dunning's FileMaker Custom Functions

GetDLScan ( ImportPath ; Repetition ; Output )

Imports and parses scanned AAMVA driver's licence information (in JSON format) so that it can be displayed in a button bar, used in a script, etc. without having to import the data as a FileMaker record.

  Be the first to rate this function Log in to vote

Matt C   Matt C - Show more from this author

Share on Facebook Share on Twitter

  Sample input:
GetDLScan("C:\import";1;2)
  Sample output:
SURNAME, FIRSTNAME MIDDLE NAME (DOB)
IDNUMBER (JURISDICTION)

AYALA, DONALD PETER (1971-09-02)
G824981603700 FL

  Function definition: (Copy & paste into FileMaker's Edit Custom Function window)

Dependencies:
- BaseElements plugin (https://docs.baseelementsplugin.com)
- AAMVAJurisdiction function (https://www.briandunning.com/cf/2684)

This function is designed to be used to import driver's licence data (in JSON format) which has been captured using a card scanner from an AAMVA-compatible driver's licence document.

This function allows you to work with and display the JSON data without the need to import it into a FileMaker record.

For example, using this formula, you can create a button bar with 4 segments. Each segment represents a different repetition value. You can use output option 1 (JSON) as part of a button script parameter, and output option 2 (label) as a calculated button label.

 

Comments

Log in to post comments.

 

Note: these functions are not guaranteed or supported by BrianDunning.com. Please contact the individual developer with any questions or problems.

Support this website.

This library has been a free commmunity resource for FileMaker users and developers for 20 years. It receives no funding and has no advertisements. If it has helped you out, I'd really appreciate it if you could contribute whatever you think it's worth: