MESSAGE
Object {itemName}
has a script data source that cannot be converted, so the script content has been set as the fixed value of the {objectType}
object.
SEVERITY
Danger
DETAILS
The original label template uses a script to execute some business logic. NiceLabel does not support that particular script language (for example, JavaScript). The Converter will create an object in the label and set the script code as the text content of the object.
Example 2. Comparing LWL and NLBL layouts
The original LWL label template contains JavaScript:
The converted NLBL label contains the Text object in the location of the original Text object but with static content set to the JavaScript from the original label.
RESOLUTION
-
Open the label for editing in NiceLabel Designer.
-
In Data Source Explorer go to Data tab.
-
Click Add new function.
-
Select VBScript or Python script, dependent on the language of your preference. You will have to rewrite the unsupported script into VBScript or Python.
Note
The script rewrite might take quite some time dependent on the length and complexity of the original script.
Tip
Many of the existing scripts are simple IF..THEN..ELSE statements that can be quickly converted.