QR-Code Generator
This document function allows you to create various bar and QR codes.
Configuration:
<Configuration>
<QrCode id="StaticQRCode" format="QR_CODE" type="text">Vaue</QrCode>
</Configuration>
NOTE
Since a QR code cannot be empty, in the case of empty content the text "no content" is set.
Caution is required with vCards, because even with small distances or not adhering to specifications, mobile phone readers cannot read the QR code.
Attributes
id: Name in the designer; with a dot folders can be created (e.g. Folder.QrCodeName)
type: type of the QR code
Possible values:
Value | Description |
---|---|
text | Static text that will not be modified |
data | A OneOffixx data element, such as the profile name (Profile.User.FirstName) or the company website (Profile.Org.Web) |
dynamic | Static text mixed with OneOffixx data elements |
height: Height of the QR code; the attribute is optional. If it is not specified, 100px is taken as default.
format: Format of the QR code; there is no check whether the value in value has any place in this format.
Possible values:
Value | Constraints |
---|---|
AZTEC | Â |
CODABAR | Â |
CODE_39 | Only numbers possible |
CODE_93 | Only numbers possible |
CODE_128 | Only numbers possible |
DATA_MATRIX | Â |
EAN_8 | Â |
EAN_13 | Â |
ITF | Â |
PDF_417 | Â |
QR_CODE | Â |
RSS_14 | Â |
RSS_EXPANDED | Â |
UPC_A | Â |
UPC_E | Â |
All_1D | Â |
UPC_EAN_EXTENSION | Â |
MSI | Â |
PLESSEY | Â |
Examples
With static content:
<QRCode id="StaticQrCode" type="text">This is a static text.</QRCode>
<QRCode id="WLANQrCode" type="text">WIFI:S:ssidName;T:WAP2;P:password;;</QRCode>
With OneOffixx data:
<QRCode id="OneOffixxDataViaID" type="data">Profile.User.LastName</QRCode>
<QRCode id="OneOffixxDataViaXPath" type="data">{*//Text[@id='Profile.User.LastName']}</QRCode>
With dynamic code:
ATTENTION
No indentations may be made in the code! (The data will not be found otherwise.)
PrimeSoft AG, Bahnhofstrasse 4, 8360 Eschlikon, Switzerland