MESSAGE
The referenced field {fieldName}
has a fixed value. Instead of the field reference, data has been inserted directly into the formula.
SEVERITY
Warning
DETAILS
The referenced field has a static value - it's not really a dynamic field. Instead of using a data source in the formula, the Converter simplified the design and used the field’s value directly in the formula.
Tip
This report is usually caused by some previous conversion error that assigned a static value to the field.
For example, this field's source might originally be a database connection that is not accessible by the Conversion Service. As a result, the field's value has been set to the text Error importing Data Source - and this is the fixed value used in the formula.
Example 3. Comparing LWL and NLBL layouts
The original LWL template contains a formula like this:
The fields COL_ORDER_ID
and COL_LINE_NO
are database fields.
The converted NLBL label template will report a problem. The referenced database fields do not exist in the converted label, so the formula contains a fixed text Error Importing Data Source.
RESOLUTION
-
Resolve the original problem, which was the reason why this field was assigned a static value. You will have to reconfigure the database connection so the database fields become registered in the label template.
-
Because the original fields are not recreated in the converted label, you do not have a clear indication, which function is affected. You will have to open the definition of each function and update it to include the reference to the correct database field.
Note
What is "formula" in LLM is referred to as "function" in NiceLabel Designer.
-
In Data source explorer, go to Data tab.
-
In Functions node, start with the first function and progress your way down in the list of functions.
-
Double-click the function name to open its definition.
-
Replace the fixed text Error importing Data Source with the appropriate data source (e.g. database field).
Tip
Click Insert data source, to select the data source from the list and insert it into the code.
-
-
Also, see this topic.