create and display a dynamic barcode based on a field value
AnsweredHi There,
I'd like to display a dynamic barcode that uses the results of one or more fields.
eg. "https://barcode.tec-it.com/barcode.ashx?data=[[Title]]" alt="Barcode"
I can create a new [[column]] that contains the following text <img src="https://barcode.tec-it.com/barcode.ashx?data=123456" alt="Barcode"> where 123456 is the title, and put that placeholder [[column]] into a rich text field, but I wonder is there a solution that doesn't involve creating a new column?
-
Hi Andrew Kirby,
yes, you can use placeholders and other expressions in rich text controls directly. For your case simply add a rich text control to your form and then add an image with your url including the [[Title]] placeholder -> https://barcode.tec-it.com/barcode.ashx?data=[[Title]]
Kind regards
Matthias
0 -
amazing, thanks
0 -
I want to embed a QR or other barcode into a document. Unfortunately the help article on this is not useful, since it seems to be an extreme niche use case with a slovakian payment company. Is there any simpler possibility?
0 -
Hi Andrew,
some months ago we released our own Generate QR Code action for Scheduled/Triggered actions
In the combination of the Insert Image to PDF action you should be able to achieve exactly what you are looking for.
We have a configuration of those actions in our Expenses template. There you can check out how we did it:
Kind regards
Matthias0 -
Thanks Matthias!
I've never had much success with triggered actions, I'm not sure why but whenever I've made them they have been unreliable, so I have tended to avoid. The pdf method would be more challenging for a variety of Word document types because of having to really standardise the x-y position when other page elements might move around. What I want is unique barcoded numbers, a bit like in a mail merge. I guess I could use an [[image=]] placeholder and a temporary list, where the list was two columns, one of which was the base64 data from the QR triggered action, stored in a multi-line text field? The QR code maker could return the value when the list item was created. The document generator could loop through the list, picking up the QR data, saving the files and then deleting the list entries at the end?
One of the problems I've had with triggered items in the past, though, was not really knowing how long it would take before they were actioned.0
Please sign in to leave a comment.
Comments
5 comments