laptop and a wrench

Bug

Publishing a web tool to ArcGIS Enterprise returns the analyzer warning message, "Tool Calculate Field cannot use VB expressions for services" when the code_block parameter is used, even when the expression_type parameter is Python 3.

ArcGIS Pro
Bug ID Number BUG-000159302
SubmittedJune 22, 2023
Last ModifiedJune 5, 2024
Applies toArcGIS Pro
Version found3.1.2
Operating SystemWindows OS
Operating System Version10.0 64 Bit
Version Fixed3.3
StatusFixed

Additional Information

This issue is addressed in ArcGIS Pro 3.3.

Workaround

Remove the code_block parameter from the arcpy.management.CalculateField() method.

Steps to Reproduce

Bug ID: BUG-000159302

Software:

  • ArcGIS Pro

Get notified when the status of a bug changes

Download the Esri Support App

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options