Creates a graphical image in the form of a two-dimensional bar code which, when read by a QR scanner, directs you to a particular web site.
Typically, QR scanners are available for download on camera-enabled smart phones for free. After you line up the scanner to the QR code, you are automatically taken to a specific web site that was configured on the QR code view.
Data bindingSet or modify the data binding for the view in the General properties tab. The QR code view is bound to a
Stringvariable that has a default value set to http://www.ibm.com.
Under Configuration, set or modify the appearance and behavior properties for the view. Under Events, set the formula configuration properties.
- Screen size
- A configuration property that has the Screen Sizes icon beside the property name can have different values for each screen size. If you do not set a value, the screen size inherits the value of the next larger screen size as its default value. If you are using the Process Designer desktop editor (deprecated), you are setting the value for the large screen size. The other screen sizes inherit this value.
- Theme definitions
- Theme definitions specify the colors and styles for a view and determine its appearance. You can preview the look and feel of views in the theme editor. See Themes.
The appearance configuration properties for the QR code view are shown in the following table:
|Appearance configuration property||Description||Data type|
|Label placement||Specifies the label placement for the view:
Note: Labels on the left change the specified width of the view.
|Label width||The width of the label. You can specify the width in px (pixels), % (percent), or em units. For example, 50px, 20%, or 0.4em. If a unit type is not specified, px is assumed.||
|Width||Specifies the width of the view in pixels, percent, or em units. For example: 50px or 20% or 0.4em. If no unit type is specified, px is assumed.||
|Height||Specifies the height of the view in px (pixels) or em units. If no unit type is specified, px is assumed.||
|Background image URL||Specifies the background image for the QR view.||
|Behavior configuration property||Description||Data type|
|Error correction level||Specifies the error correction levels that are used for QR codes. Each error
code adds a different amount of backup data depending on how much damage the QR code is expected to
suffer in its intended environment, hence how much error correction might be required.
EventsSet or modify the formula configuration properties and the event handlers for the view in the Events properties. You can set events to be triggered programmatically or when a user interacts with the view. For information on how to define and code events, see User-defined events.
|Formula configuration property||Description||Data type|
|QR code formula||Specifies the formula or expression to use for calculating the QR code
For more information about formulas, see Formulas.
- On load: Activated when the QR code is loaded. For example:
- On change: Activated when the QR code value is changed. For example:
information about how to create a coach, see Building coaches.
For information about standard properties (General, Configuration, Positioning, Visibility, and HTML Attributes), see View properties.