Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »


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

<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>

  • No labels