Zebra Mobile Computer Configure
The Zebra Mobile Computer Configure action (screenshot below) configures the Zebra mobile computer's (Zebra MC's) barcode scanner. New barcode scans will be carried out according to the settings defined by the Configure action/s. Each Configure action defines one configuration setting. You can add as many Configure actions as you want to an event's action handler, and these actions will be executed in order from first to last.
When the MobileTogether app is installed on a Zebra mobile computer, the Zebra MC assigns the MT app a default profile. If you create a new profile in the MT app (see settings below), then this profile will be assigned and used instead of the default profile. If you delete the MT-assigned profile, the Zebra MC will fall back on its default MT profile. For more information about profiles, see your Zebra product's technical documentation.
Note: | Make sure that a Zebra Mobile Computer Connect action is triggered before any Configure action is triggered. |
Note: | Since Zebra mobile computers are Android devices, MT solutions for them must be designed for Android. |
To define a configuration, select a configuration option from the Zebra Mobile Computer Configure dropdown list (see screenshot above) and then assign to it a configuration value. You can either select a value from the corresponding dropdown list or enter an XPath expression to select a valid value. The advantage of using an XPath expression is that the value can be selected dynamically (for example, from a node of a page source). If not explicitly noted in the list below, an XPath expression must evaluate to the string equivalent of one of the values in the corresponding dropdown list.
The following Zebra scanner configuration options are available. For more information about specific configuration options, see your Zebra mobile computer's technical documentation.
•Enable/Disable Scanner: Can be used for enabling the scanner (XPath true()) or disabling it (XPath false()).
•Resume/Suspend Scanner: When the scanner is enabled, you can temporarily suspend it (XPath false()) and resume it (XPath true()).
•Start/Stop Scanning: To start capturing barcode data, select Start (XPath true()). To stop scanning, select Stop (XPath false()).
•Create/Delete Profile: You can create a new profile (profile names are strings), update a profile, overwrite a profile, or delete a profile. In a profile configuration, you can also specify whether keyboard output from the Zebra mobile computer is to be enabled (XPath true()) or disabled (XPath false()). The MT-created profile will be used by the scanner instead of the scanner-created default MT profile. If you delete the MT-created profile, then the scanner falls back to its default MT profile.
•Get Device Info: Gets scanner-related information (Status, VersionInfo, and ActiveProfile). This data will be passed to the $MT_ZEBRAMOBILECOMPUTER page source tree and can be accessed from there.
MobileTogether extension functions
MobileTogether provides a range of XPath extension functions that have been specifically created for use in MobileTogether designs. Some functions can be particularly useful with specific actions. For example, mt-available-languages() returns the languages in which the solution is available and could, for example, be used with the Message Box action. If a function is especially relevant to this action, it is listed below. For a full list of extension functions and their descriptions, see the topic MobileTogether Extension Functions.