Skip to main content

Questions tagged [attribute-rules]

Use for questions about the Attribute Rules functionality of ArcGIS Pro

Filter by
Sorted by
Tagged with
0 votes
1 answer
45 views

Restricting numeric fields to specific ranges using ArcGIS Pro Attribute Rules (Arcade)

Working in ArcGIS Pro 3.1.2 and trying to use Attribute Rules to restrict the values in a couple numeric fields. The ESRI documentation does not specify how this might be answered, despite my best ...
JAKeeley's user avatar
0 votes
0 answers
35 views

ArcGIS Pro 3.2.1 Attribute Rule error: Return type is not compatible with field type

I have a point layer and a standalone table within a relationship class that both have date fields. I have an Arcade script that is supposed to update the date field within the point layer using the ...
Isaac Bowling's user avatar
0 votes
0 answers
52 views

Combining two Arcade expressions to calculate field and update parent class

I currently have two Arcade expressions as attribute rules that I need to combine into one because they evaluate in the wrong order, but I can't figure out how to combine them. I need GPM calculated ...
Mikhayla's user avatar
0 votes
0 answers
63 views

ArcGIS Pro Arcade Expression Attribute Rule: Validation Rule

I am trying to debug this validation rule where its giving me an error: "Edit operations failed. The row contains a bad value." var reason = isEmpty($feature.reason) var number = isEmpty($...
user206005's user avatar
1 vote
1 answer
77 views

Attribute Rules for ArcGIS Pro to transfer attribute from Line to Point

I want to use attribute rules to transfer an attribute from lines to points based on which end of the line a point intersects. I have a set of Flow Meter Points that intersect Pipe Lines. They are ...
Zipper1365's user avatar
1 vote
0 answers
37 views

My ArcGIS Pro attribute rule to update facilityids sequentially is not working

I have a featureclass with the field "FACILITYID". There are values in it that go up to P-72340. I am trying to create an attribute rule so that each time a feature is inserted, the ...
Calvin's user avatar
  • 11
0 votes
1 answer
61 views

Attribute Rules for M:N Relationship Class and Updating Relationship Class Intermediary Table

Working on an attribute rule that populates a M:N relationship table between two polygon layers in cases where they intersect. In this case the intermediary relationship table is RelationshipTable_AB ...
Boomer1187's user avatar
1 vote
0 answers
73 views

Converting ArcMap DynamicValue rules to Attribute Rules in ArcGIS Pro

I am slowly migrating my work processes from ArcMap to ArcGIS Pro. One of the hold-ups for me is that I have a large table of Attribute Assistant rules in ArcMap that make inputting of utility data ...
Midavalo's user avatar
  • 29.8k
0 votes
0 answers
49 views

Attribute rule to union buffers

I've successfully created an attribute rule to add a new buffer to a polygon feature class (FC) when a new point is added to a point FC. However, now I need to dissolve all buffers in the polygon FC (...
Matt Warren's user avatar
1 vote
1 answer
148 views

Prompt User in ArcGIS Pro Attribute Rules

In Attribute Assistant I have some prompts for the user to enter a value. Sometimes these fields do not have value and the field can be null. Attribute Rules don't have a prompt methodology. I am ...
Mary Ann Reyes's user avatar
3 votes
2 answers
259 views

Combination of maximum values in QGIS

I'm making classification by rules to create a map with different colors; I have 4 values (A,B,C,D) assigned to some areas and I want to find the maximum values between the four in each area. Thus, I ...
Mark's user avatar
  • 33
1 vote
0 answers
259 views

Getting count of intersect in Arcade attribute rule in enterprise geodatabase

Having two feature classes in an enterprise geodatabase like - EGDB.North.Parcels - EGDB.North.ProjectsInvest I am trying to get the total count of Intersection between EGDB.North.Projects in ...
Suffii's user avatar
  • 588
1 vote
2 answers
147 views

Use Trigger field with a calculation attribute rule to deleniate between auto calculated data and manually entered data

I have a calculation attribute rule in Arcade that is meant to have the following fields work in conjunction with each other: Name: eight digit unique ID AMPageName: 5 digit page name that consists ...
JBizz49's user avatar
  • 17
0 votes
1 answer
274 views

Attribute Rule with known criteria to enforce but expression to enforce rule over subset of data (alllow null and other attributes)

I'm trying to add some conditional acceptance criteria for an ArcGIS Pro attribute rule. Basically, I have a feature class with a domain-restricted field (Feature) that has a few values ("PAR&...
JBizz49's user avatar
  • 17
0 votes
1 answer
194 views

Get Associations using Attribute Rules

i am trying to get all content features and put their GlobalID inside new array and use this array later to filter the table or the feature class containing this features. var contentRows = ...
mohamed gamal's user avatar
1 vote
1 answer
518 views

Using arcade in an attribute rule: error "array type expected" (ArcGIS Pro)

I want to do the following attribute rule in ArcGIS Pro: Query the excavation ID attribute according to xxx.xxx.x / x.xx.x / xxx.xx.x / xx.xx.x (e.g. Bhg.018.1 / B.33.2 / Lhb.28.3 etc). , i.e. the 2- ...
Fabio's user avatar
  • 21
0 votes
0 answers
201 views

Export feature classes with ArcGIS Pro attribute rules to FGDB that can be opened in ArcMap

I have data stored in an enterprise database that our team is currently editing using ArcGIS Pro. Attribute rules are set up on some of the feature classes in order to auto-increment IDs as new ...
medubose's user avatar
0 votes
0 answers
298 views

Auto-populating field using spatial location of another feature and its attributes using ArcGIS Pro

I'd like to auto-populate a field based on its spatial location of another feature. For example, I have a US County layer and a polygon feature class called "Locations" illustrated below: ...
pac_co's user avatar
  • 547
0 votes
1 answer
469 views

Auto-calculating Geodetic Length using Geographic Coordinate System other than WGS 1984

At How to show geodatabase calculated area and length in meters from WGS84 FC?  (from 2018) it was said that "a little further ahead it will be possible to use Arcade expression (in Pro, not ...
PolyGeo's user avatar
  • 65.2k
1 vote
1 answer
1k views

Using Attribute Rules to Pull in Attribution from Another Feature Class

I could use some assistance creating a calculation that just simply pulls attribution from a field in one feature class, and populates the edited result into another feature class's table. For ...
Fire GIS Guy's user avatar
1 vote
1 answer
1k views

ArcGIS Pro Attribute Rule to pass a value from child to parent

I have an ArcGIS geodatabase with a parent feature class related to a child stand alone table containing the various inspections made on each parent feature. Primary key is GlobalID and foreign key is ...
Maja's user avatar
  • 33
2 votes
1 answer
121 views

Attribute rule works in Pro 2.9.2, but not in Pro 2.6.8 [closed]

I have a calculation attribute rule that works in Pro 2.9.2 (in a 2.9.2 FGDB). It updates the M-values of the polyline’s geometry: function pythagoras(x1, y1, x2, y2) { return sqrt(pow(x2 - x1, 2) ...
User1974's user avatar
  • 1,172
1 vote
1 answer
836 views

Return values to multiple fields — using an Arcade calculation attribute rule in ArcGIS Pro

ArcGIS Pro 2.9: Is there a way to return values to multiple fields using an Arcade calculation attribute rule? For example, return values to the following fields, all within a single expression/rule: ...
User1974's user avatar
  • 1,172
1 vote
0 answers
761 views

ArcGIS Pro attribute rule fails when collecting from an online map in Field Maps

I am using ArcGIS Field Maps to collect building inspection records to a standalone table by tapping on a feature in a related building layer. (See Inspect—Add a related report.) The inspection table ...
Sky's user avatar
  • 39
1 vote
1 answer
903 views

ArcGIS Pro add attribute rule (Arcade expression)

I am trying to create an Arcade expression in add attribute rule which will auto populate the attribute field (DPA_GROUP) in my points layer (as I create new point features) from the underlying ...
Ryan Chittenden's user avatar
1 vote
1 answer
685 views

Symbol Rotation for all features along line in ArcGIS Pro

I have a waterline with accesories set along the pipes and I would like to rotate the symbols towards the pipe direction (Paralel, perpendicular, etc Depending on the fitting or device type). For that,...
Serggg182's user avatar
  • 621
2 votes
1 answer
102 views

Select SDE.ST_GEOMETRY polylines that have arcs?

Oracle 18c/10.7.1 EGDB: I have an SDE.ST_GEOMETRY polyline feature class. Some of the polylines in the feature class have arcs. Question: Is there a way to use Oracle SDE.ST_GEOEMTRY functions to ...
User1974's user avatar
  • 1,172
2 votes
3 answers
2k views

Multiple values for condition in IIF statement in Arcade

I am trying to create an immediate calculation attribute rule for a feature class in ArcGIS Pro (that I hope carries over when published as a feature service on AGOL). I understand the basic syntax: ...
TravisB's user avatar
  • 173
1 vote
1 answer
602 views

Dynamic query to show XY coordinates as values in columns (FGDB)

I have a point FC in a file geodatabase. I want to create a feature layer on the FC that has columns that show the X & Y coordinates of the geometry. The values in the query would be dynamic; they ...
User1974's user avatar
  • 1,172