Select to view content in your preferred language

Utility and Pipeline Data Model (UPDM) Arcade error: Field not found

2657
14
03-23-2022 08:39 AM
JacobBlankenship1
Occasional Contributor

JacobBlankenship1_0-1648047859588.png

JacobBlankenship1_1-1648048194972.png

 

I am having a issue with Arcade code not being able to find field in the featureclass(Pipeline Line), when trying to do calculate geometry on a field. I use to be able to do this fine as of week ago but know it wont work at all. I updated my ArcGIS pro to 2.9.2 and added some domains to the pressure sensor pipe since than. I for a fact that the field "material" is in the table and spelled correctly and matched the arcade expression in the attribute rules.

I attached a Blank GDB for reference to replicate the issue 

Anyone have any ideas?

0 Kudos
14 Replies
JacobBlankenship1
Occasional Contributor

JacobBlankenship1_0-1648047859588.png

JacobBlankenship1_1-1648048194972.png

 

I am having a issue with Arcade code not being able to find field in the featureclass(Pipeline Line), when trying to do calculate geometry on a field. I use to be able to do this fine as of week ago but know it wont work at all. I updated my ArcGIS pro to 2.9.2 and added some domains to the pressure sensor pipe since than. I for a fact that the field "material" is in the table and spelled correctly and matched the arcade expression in the attribute rules.

I attached a Blank GDB for reference to replicate the issue 

Anyone have any ideas?

0 Kudos
NathanEasley
Esri Regular Contributor

Hi Jacob,

I'd suggest posting this to the Utility Network community as that's where most of the arcade and attribute rule topics have been answered.  https://community.esri.com/t5/arcgis-utility-network/ct-p/arcgis-utility-network

0 Kudos
JacobBlankenship1
Occasional Contributor

Thank you, will do

0 Kudos
MikeMillerGIS
Esri Frequent Contributor

There is an issue when you use a cursor on a class with attribute rules.  You need to make sure all the fields in the AR are in the fields list for the cursor.

0 Kudos
JacobBlankenship1
Occasional Contributor

AR?

Shouldn't the "Calculate Geometry" include all the fields when running the cursor.

0 Kudos
MikeMillerGIS
Esri Frequent Contributor

AR = Attribute Rule, sorry for the abbreviation  

Looking at the script, it does not.  Only fields it is updating.  The core script would need to be modified.  

MikeMillerGIS_0-1648053963872.png

 

0 Kudos
JacobBlankenship1
Occasional Contributor

Ok, I guess I am confused as to why it just stopped working this week and was fine last week. It seems more likely that the issues is something with Arcade expressions or the network.

Also have had this issue, (which was also working last week as well) The project map is set to a state plane.

JacobBlankenship1_0-1648054830721.png

 

 

0 Kudos
MikeMillerGIS
Esri Frequent Contributor

I did find a bug for the issue if you want to follow https://support.esri.com/en/bugs/nimbus/QlVHLTAwMDE0NTc2MA==

0 Kudos
JacobBlankenship1
Occasional Contributor

Thanks you,

Any ideas about symbol rotation error? (maybe just another bug)

0 Kudos