RFID
- Last UpdatedJun 25, 2024
- 5 minute read
Use RFID control to scan a RFID tag using Near Field Communication. This control is applicable only for AVEVA Work Tasks Pro App.
Properties
The properties for the control are grouped under the following tabs:
Basic
|
Property |
Description |
|---|---|
|
Name |
Name that identifies the control. This value is also used for the label of the control. |
|
XML Node |
XML node mapped to the control. Use this value to map a list to a form and a form to a workflow.
Note: |
|
Description |
Description for the control. |
|
Button Text |
Text for the control. |
Appearance
|
Property |
Description |
|---|---|
|
Enable |
Enable or disable the control.
|
|
Visible |
Show or hide the control.
|
|
Label Position |
Position of the label for the control.
Note: |
|
Label-Control Area |
Area occupied by the label and the control in percentage.
Note: |
|
Alignment |
Alignment of the control with respect to the form.
|
|
Display Mode |
Show text and/or image for the control.
|
|
Button Size |
Size of the button for the control.
|
|
Image Path |
Path to the image for the control. The image path is specified as:
|
|
Image Position |
Position of the image with respect to the text for the control.
Note: This property is applicable only when the Display Mode property is set to Text and Image. |
|
Show as Link |
Enable or disable the control to show as link.
|
Advanced
|
Property |
Description |
|---|---|
|
On Data Change |
Run a script when the value of the control changes. |
|
ID |
Reference identification code for the control. This value is automatically generated and cannot be changed. |
|
Form Button |
Enable or disable the control to act as form button. When this property is enabled, the control is displayed at the bottom-right corner of the form.
Note: If the value is Yes, and the form is viewed on a mobile device, then the control appears in the Action Bar of the mobile device. |
To use the value coming from RFID control, use the On Data Change script of RFID Control. For example,
control.findByXmlNode("Textinput").value = currentValue;
"Textinput" is the value coming from RFID Control.
Scripts
For information about using scripts, see scripting guidelines for Button property.