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

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

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