Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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, cell 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:

Code Block
languagexml
<QRCode id="StaticQrCode" type="text">This is a static text.</QRCode>
<QRCode id="WLANQrCode" type="text">WIFI:S:ssidName;T:WAP2;P:password;;</QRCode>

...

Code Block
languagexml
<QRCode id="TextWithData" type="dynamic">Hello, my name is {Profile.User.FirstName} {Profile.User.LastName}.</QRCode>
<QRCode id="vCard" height="300" type="dynamic">BEGIN:VCARD
	VERSION:3.0
	N:{Profile.User.LastName};{Profile.User.FirstName}
	FN:{Profile.User.FirstName} {Profile.User.LastName}
	ORG:{Profile.Org.Title}
	TITLE:{Profile.User.Title}
	TEL;TYPE=WORK,VOICE:{Profile.User.Phone}
	TEL;TYPE=HOME,VOICE:{Profile.User.Phone2}
	ADR;TYPE=WORK:;;{Profile.Org.Postal.Street};{Profile.Org.Postal.City};;{Profile.Org.Postal.Zip};{Profile.Org.Postal.Country}
	EMAIL;TYPE=PREF,INTERNET:{Profile.User.Email}
	URL:{Profile.Org.Web}
	REV:2015-03-31T08:30:10Z
	END:VCARD
</QRCode>
Note

ATTENTION
No indentations may be made in the code! (The data will not be found otherwise.)