laptop and a wrench

Bug

The Calculate Field tool removes the backslash (\) in the Arcade expression which results in the removal of (\) from the final output.

Last Published: August 25, 2020 ArcGIS Pro
Bug ID Number BUG-000132958
SubmittedAugust 10, 2020
Last ModifiedJune 5, 2024
Applies toArcGIS Pro
Version found2.6
Operating SystemWindows OS
Operating System Version10.0
StatusKnown Limit

Additional Information

The backward slash (\) is used as an escape character in Arcade, so it is expected that a single slash is to be replaced when used in an Arcade expression. Use a double backward slash or using the arcade line: TextFormatting.BackwardSlash as a workaround.

Workaround

As a part of the calculations, insert a second backslash (\). This results to the final output. For example: “C:\Users\ISC-DT14-SHAFIQ\Desktop” to “C:\\Users\\ISC-DT14-SHAFIQ\\Desktop”.  

Steps to Reproduce

Bug ID: BUG-000132958

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