QR Codes and barcodes in PPTX templates

Modern templating engine

Still using Classic syntax? See the Classic documentation.

Learn the differences.

You can use #qrcode operation or #barcode operation to dynamically insert the codes into PPTX documents.

There are some steps you need to do to use the codes tags. I’ll show an example with a QR code; the same steps work for #barcode operation. Let’s take a look.

It will not work if you just insert a tag with a QR code/barcode in the pptx templates. We need to insert a dummy picture to the template and place the qrcode tag into AltText section of the dummy image.

QRCode
{{#qrcode OnlineCopyURL 150}}

After I run the Microsoft flow, the dummy picture will be replaced with a QR code.

This is how the action looks:

QR Code

and the result

QR Code

You can download the QR Code PPTX template here.

The same works with the #barcode operation. Insert a dummy picture to the template and place the barcode tag into AltText section of the dummy image.

Barcode
{{#barcode value "CODE128" 200 100}}

Action with barcode value:

Barcode

Barcode is in the PPTX template

Barcode

You can download the Barcode PPTX template here.