Skip to content Skip to main navigation Skip to footer

Generate a QR image that can then be merged into document

Example Use Case: I would like to merge a QR image into my template. Is this possible to do with Opero Documents or Google Docs?

With Opero Documents, you can merge a URL of the image. Google has various google chart API’s that you can use to generate charts pretty easily with some data.  Here is an example of them generating a simple QR code which is just a URL: https://chart.googleapis.com/chart?chs=200×200&cht=qr&chl=https://ramseysolutions.com.

To do this, create a formula field in Salesforce with Image() function to display a QR code for a record for example.  Or create a formula field that will create the URL for generating the QR code then merge that URL as the image in the document template.  And then you get a QR code merging on the document without any code or actual image needing to be saved. A QR code basically is just a URL and when you scan the QR code it accesses the url, so you just put a variable in the url and the web script gets the order and then can update Salesforce matching on that ID.