The expression authored does not match the field name available. The field name for shape length has 2 underscores on it and the one in the sample case only has 1 underscore (_).
解决办法
Publish the layers to ArcGIS Server.
Add the layers as Items to Portal for ArcGIS or ArcGIS Online.