
Configuring Data Sources
l From the Properties box, select the Data Source property, and click the browse button.
2. Select Script from the Data Sources field.
3. Create the script by typing it in the Enter Script field. You can also copy and paste an existing
script into the field.
4. Click OK to save the script.
Note: See the Scripting section of the Loftware Knowledge Base for some specific examples of how to use
scripts on a label.
Verify a Script
You can test the syntax of your script.
l After entering a script, click Verify Script. The result of the verification appears in the Results
field.
The possible results are SUCCESS or FAILURE.
If the syntax is correct, the Results field will display "Script verification completed successfully."
If the syntax is invalid, the Results field will display the first error encountered
For example
Line 2: ReferenceError: x is not defined"
Clear a Script
You can clear the text from the Enter Script and Results fields.
l Click Clear Script to remove the text from the Enter Script field.
l Click Clear All to remove the text from both the Enter Script and Results fields.
Find a Script on the Label
On labels with many fields, it may become difficult to find the field with the script. Use the Find Script to
open the Data Source configuration window for a label's script without first locating the field.
l With a label open, select Options | Find Script, or right-click on the label, and select Find Script.
The Data Source configuration window opens, and the field that contains the script is selected on the
label.
Loftware Label Manager Version 10.1.1 User's Guide
302
Kommentare zu diesen Handbüchern