2 Replies Latest reply on Feb 15, 2017 7:11 AM by jbante

    Scanning a PDF417 barcode from FileMaker Go

    user25429

      Has anyone been successful scanning a PDF417 barcode from FileMaker Go?

       

      To date, it's my understanding that FileMaker Go does not support PDF417 because iPads at one time didn't have high enough resolution. The cameras have changed, but it seems FileMaker Go still doesn't support Insert Device PDF417.

       

      As an alternative, I'm trying to use the only App in the App Store I could find that has a documented URL Scheme (PDF417 Pro has been removed from the App Store).

       

      ScannrApp:

      https://itunes.apple.com/us/app/scannr/id880966829?ls=1&mt=8

       

      Documentation:

      http://scannrapp.com/scannr_url_scheme.pdf

       

      Syntax Example:

      Open URL "scannr://?callbackScheme=foo"

       

      Calls the app but callback doesn't work:

      Open URL "scannr://?callbackscheme=fmp://utm614113.local/PRMISUser.fmp12?script=paste_dl_scan"

       

      Dynamic Open URL that calls the app but callback doesn't work:

      Open URL "scannr://?callbackScheme=" & GetAsURLEncoded ("fmp://" & Get (HostName) & "/" & GetAsURLEncoded(Get(FileName)) & ".fmp12?script=paste_dl_scan")

       

      Thanks in advance for any help you might provide,

      Mike

        • 1. Re: Scanning a PDF417 barcode from FileMaker Go
          user19752

          How about using "current file" as

           

          "scannr://?callbackScheme=" & GetAsURLEncoded ("fmp://$/" & GetAsURLEncoded(Get(FileName)) & "?script=paste_dl_scan")

          • 2. Re: Scanning a PDF417 barcode from FileMaker Go
            jbante

            The documentation you link to seems to presume that developers reading it will be writing iOS applications with Objective-C or Swift, rather than FileMaker. This doesn't mean that integrating with FileMaker won't be possible, only that you may have to experience beyond what the documentation tells you to get it to work.

             

            What about the callback doesn't work? Does FileMaker Go re-open after Scannr scans a barcode, or not? If FileMaker Go does re-open, what parameter does the script have to work with? This latter question seems like a big question mark after reading the data. Once you're at that point, I'd start by seeing if Scannr is just appending its data to the end of the URL callback by adding "&param=" to the end of the URL:

             

            "scannr://?callbackscheme=fmp://$/PRMISUser.fmp12?script=paste_dl_scan&param="

             

            The hope is that the data returned from Scannr will just be concatenated to the end of the URL.

             

            If Scannr or some other iOS app doesn't work out, getting a hardware scanner might be easier to integrate, albeit more expensive.