Jump to content



CNS Barcode - Getting it working with Filemaker Go (12)

  • Please log in to reply
3 replies to this topic

#1 ianlenehan  newbie

  • Newbies
  • PipPip
  • 2 posts
  • FM Application:12
  • Platform:Windows 7
  • Skill Level:Novice

Posted 05 June 2012 - 03:31 PM


I am trying to get CNS Barcode to work with Filemaker Go, but have been stumped for a while on the last step. Following their instruction on how to get it to work, I am able to press a scan button, which loads the app, scans, and returns to FM Go, but it refuses to paste in the barcode!

I have followed the instructions here so I can not work out what I am doing wrong. I have used this page to update my scripts so they are suitable for FMP 12.

I have a database called "mydb". There is one table, "mydb", and one text field, called "barcode_data". On the layout I have a button called scan that has the following Open URL script ("Scan") attached to it: "cnsbarcode://scan?profile=myprofile"

As the instructions say, there is a second script entitled "Scan_return" which is a Set Field script that has a target field of mydb::barcode_data with a calculated result of "Get(ScriptParameter)"

Finally I have the CNS Barcode app where I have one profile called "myprofile". The launch URL field has fmp://mydb?=script+Scan_return&param=::barcode::

As far as I can see I have followed the instructions to the letter, but I must be missing something as it falters at the last stage every time. The scan button launches the scanner app, the scanner app scans and then returns to Filemaker Go, but never puts anything into the barcode_data field.

Happy to email anyone the FMP12 file, as it won't allow me to upload it here. Any help would be amazing.

  • 0

#2 ianlenehan  newbie

  • Newbies
  • PipPip
  • 2 posts
  • FM Application:12
  • Platform:Windows 7
  • Skill Level:Novice

Posted 06 June 2012 - 10:18 PM

I've tried the Filemaker forums and also can't seem to find any contact details for the CNS guys, so anything anyone can tell me would be great. Even if it's to tell me to use another app. Thanks.
  • 0

#3 Lee Smith  I like the v13 layout tools

Lee Smith
  • Staff
  • 10,525 posts
  • LocationWoodland, CA
  • FM Application:13 Advance
  • FMGo:iPhone / iPod Touch, iPad
  • Platform:Mac OS X Yosemite
  • Skill Level:Expert
  • Membership:TechNet
  • Time Online: 257d 22h 24m 4s

Posted 07 June 2012 - 12:12 AM

Automatic message

This topic has been moved from "FileMaker on the GOFileMaker Go for iPhone & iPad" to "FM Forums Affiliate SponsorsComm-Unity Networking Systems (CNS)".
  • 0

#4 That Guy  newbie

That Guy
  • Newbies
  • Pip
  • 1 posts
  • FM Application:12 Advance
  • Platform:Mac OS X Lion
  • Skill Level:Novice

Posted 23 June 2012 - 07:51 PM

Hi @ianlenehan, I just tried this today.

In the FileMaker Go app I found that it worked when you select 'Add New Record' which automatically selects the first field that you have which is 'barcode_data'. To clarify, after you have made more than 0 records (by clicking the +/- button in the FileMaker Go app on your iOS device and selecting 'Add New Record') if you simply click in the 'barcode_data' field so that you can edit it with any text you would want to input etc., if you then hit the 'Scan' button it will run the two scripts and return the barcode data that you scanned into the now editable field in your FileMaker database and display the barcode data.

Another thing to look out for is that you have specified the target field for your Scan_Return script to the field barcode_data. I originally thought that I had done this but realized afterwards that I left the box unchecked.

Good luck!
  • 0

FMForum Advertisers