Skip To Content

00127: <value> uses VBScript and you are publishing to ArcGIS for Server (Linux)

In this topic

Expressions written with VBScript utilizing multiple fields are not supported when publishing to ArcGIS for Server (Linux). This affects expressions written for display, labels, and dimensions. The area affected will be indicated by the <value> parameter.

Solution

You can either remove the VBScript expression or replace the VBScript expression for one written in either Python or JScript.

Note:

If you are changing label expressions, make sure you change expressions for all appropriate label classes.

Learn more about using_label_classes

More information

Advanced expressions can be written in Python, VBScript, or JScript. You should use Python or JScript to write advanced expressions for Linux-based services. VBScript can be used with the following expressions.

  • Display expressions

    The display expression uses the most informative and unique field of an attribute table or table. For example, the display expression for a countries layer would use its name field, or the parcel number would be used for a parcels layer. If your display expression uses VBScript you can update the parser to use either JScript or Python in the Display Expression dialog box. You access this dialog box from the Display tab on the Layer Properties dialog box.

    Learn more about display expressions

  • Label expressions

    Label expressions are used to customize the text string of your labels. If your label expression uses VBScript, you can update the parser to use either JScript or Python in the Label Expression dialog box. You access this dialog box from the Labels tab on the Layer Properties dialog box.

    Learn more about label expressions

  • Dimension expressions

    Expressions can be used to define the text displayed for a dimension. Dimension text expressions are entered in the Text tab of the Dimension Style Properties dialog box. If your dimension text expression uses VBScript, you will need to create a new dimension style that uses either the JScript or Python parser. You set the expression in the Expression Properties dialog box. You access this dialog box from the Text tab on the Dimension Style Properties dialog box. Access the dialog box from the Feature Class Properties dialog box.

    Learn how to create dimension style