Brian Dunning's FileMaker Custom Functions

CF_Generate_QR_Barcode ( Text ; Size ; Encoding )

Converts a string into a QR code using the Google API

  Average rating: 4.6 (27 votes) Log in to vote

Patrick Weh   Patrick Weh
Sansibar
http://www.sansibar.de

Share on Facebook Share on Twitter

  Sample input:
CF_Generate_QR_Barcode ( "just a test" ; 500 ; "UTF-8" )
  Sample output:
A png showing the text as QR Code

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

Troi File Plugin 5.0 or higher is Required to do the shell but you can also change it to work with applescript or any other plugin that can execute shell commands.

The function is using the Google Chart Api.
Description can be found here: https://developers.google.com/chart/infographics/docs/qr_codes

The image can be inserted into a container by using

Go to Field [ Conatiner ]
Set Variable [ $Return_of_CF ; CF_Generate_QR_Barcode ( "Example" ; 500 ; "UTF-8" ) ]
Insert Picture [ $Return_of_CF ]

Working on Mac only, sorry for that ;)

 

Comments

Peter   Peter, Zurich
Jun 26, 2018
Troi File Plugin 5.0 or higher is Required to do the shell but you can also change it to work with applescript or any other plugin that can execute shell commands.

The function is using the Google Chart Api.
Description can be found here: https://developers.google.com/chart/infographics/docs/qr_codes

The image can be inserted into a container by using
 

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: