This article shows you how you can create a QR code in your DocumentsCorePack TemplateDesigner.
How to create a custom QR-Code
1. First you need to insert a QR-code field. If you don´t know how to insert a field have a look here.
2. The QR-code properties window opens and now you can enter the QR-code content.
❶ On this step you would need to add some information to the QR code, the information which you will see after scanning the code. If you would like to add a logo to the QR code, it is recommended to use error correction property as it is shown on the picture below.
❷ Error correction in a QR Code helps it remain scannable even if it is damaged up to 30%. You should choose at least level M or higher to add a logo to your QR Code. This will ensure high number of rows and columns of data modules in your QR Code and hence, high scannability.
Continue with [OK].
Please Note: You have to put a plus sign (“+”) between your entries, otherwise you will get an error message and fixed text must be typed manually into the text field and must be enclosed by single quotes ( ‘ ). Learn more about the DCP Property Syntax.
3. A QR code will be created in the template.
How to add a logo image
Now we would need to insert an image to customize a QR code. The example image is presented below.
Please Note: Here are the details to the example image which has to be followed (otherwise it won´t work!):
Format – PNG
Hight – 166 pixels (0,7 cm)
Width – 166 pixels (0,7 cm)
You can find here a guideline to define the content of a QR-Code that can be used to initiate SEPA credit transfer.
Place the logo image on top of the QR code. To place the image on top you can use a layout option called “In Front of Text”.
The QR code is ready to be merged.
Before you can use or test your template you must save it. Either you save your template locally with the standard Save or Save as the functionality of Word, or you use the Save template-option of the DocumentsCorePack TemplateDesigner to publish the template to Dynamics 365.
Merge template and test
As you have made changes to your template, you might want to test them quickly. If you need a brief introduction, have a look here.
A result QR code will look like the following image below:
Now you can read your QR-Code with any QR-Code-Reader.
That’s it! We appreciate your feedback! Please share your thoughts by sending an email to firstname.lastname@example.org.