Skip to main content

All Questions

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
36 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
1 vote
1 answer
102 views

Arcade script to return color-coded value from attribute field

I am working in ArcGIS Pro pop-ups Expressions and I have parsed together an Arcade script to search an attribute field in ArcGIS Pro for some words, and then return the words color-coded into the pop-...
TheOmoSlide's user avatar
0 votes
1 answer
87 views

Removing line or row if value is empty or null in Arcade [duplicate]

I am trying to remove lines in a pop-up which have blank values or . Example below: var fieldz = { Category: DomainName($feature, "Category"), Project: $feature.ProjectName, Stat: $feature....
John Driessen's user avatar
0 votes
0 answers
54 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
46 views

Troubleshoot Attribute Rule to Update Parent Table

I am using ArcGIS Pro 3.2.1 and working with an Arcade expression to update a parent layer when new inspections are performed in the related table. I have tried a 1:M relationship class with GlobalIDs,...
Mikhayla's user avatar
0 votes
1 answer
144 views

Calculate date difference between current date and previous date using Arcade with ArcGIS Pro

I can't find the error in my code. I am trying to calculate the difference between the current date and a previous inspection date. I want the difference to be calculated in days. I am using ArcGIS ...
user237830's user avatar
1 vote
1 answer
80 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
40 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
0 answers
25 views

Rebuilding labeling from ArcGIS Pro to ArcGIS Online

I have multiple layers in an ArcGIS Pro project with vbs scripted labeling. I have created a Web Map on ArcGIS Online that uses these feature classes. I wish to rebuild the labeling in ArcGIS Online ...
Bear's user avatar
  • 23
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
2 votes
1 answer
196 views

Create label expression that sums an attribute for features in a group?

I have pipes that have been assigned to a group (1, 2, 3, 4, etc). Each pipe also has a "Length" attribute. I am working in Pro 3.2.0 For each pipe group, I want to have a single label that ...
Zipper1365's user avatar
0 votes
3 answers
45 views

ArcGIS Arcade code not giving desired outcome

I have the following code below. I'm trying to search for a text inside a string from a date field and populate it with the associated month with ArcGIS Arcade. So far I just keep getting the default ...
user avatar
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
0 answers
68 views

Using ArcGIS Pro arcade labeling profile, how to check existence of a field

I am trying to consolidate dozens of arcade label expressions into a single expression that is sophisticated enough to handle two different possible data sources (These expressions are being written ...
cando42's user avatar
  • 41
0 votes
0 answers
50 views

Summarize Two Overlapping Layers Within a Third Layer

My project has 3 relevant layers, 2 with data I wish to extract and a 3rd representing the geography I need a summary of. Landuse, Field "Use" (values x y z), Soils, Field "Soil Type&...
Sean Kennedy's user avatar
0 votes
1 answer
62 views

Manual classes symbol ArcGis Pro

I am trying to create 2 classes of symbol based on attributes. I refer to this doc: https://pro.arcgis.com/fr/pro-app/latest/help/mapping/layer-properties/set-custom-expressions-for-symbology.htm ...
Arthur's user avatar
  • 893
0 votes
2 answers
35 views

Categorise by week number of each year in ArcGIS Pro

I am new to ArcGIS Pro, and I would like to have a categorised symbology based on the year and week number of the year in question. For ex: 2022: Week 1 2022: Week 2 2022: Week 3 ... 2023: Week 1 ... ...
Inès Moreno's user avatar
1 vote
3 answers
514 views

ArcGIS Pro Arcade Expression for various characters in the Asset Id field

I'm looking for an arcade expression for arcgis pro symbology. Involves the Asset ID field to symbolise based on text within an asset ID. Say if the asset ID contains C2 then blue (for instance), or ...
Invercargill's user avatar
1 vote
0 answers
263 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
0 votes
1 answer
612 views

Dynamically display total length of polyline feature class in miles using Arcade expression?

I am using ArcGIS Pro 3.0. I would like to use Insert Table Attribute on a layout to display the total length (in miles) of a polyline feature class. I want this to be dynamic -- not a field calculate ...
Joseph's user avatar
  • 1
1 vote
1 answer
522 views

Arcade expression to calculate field in point dataset based on whether its features lie within specified polygon dataset using ArcGIS Pro ModelBuilder

Can anyone help with an Arcade expression to calculate a new field in a point dataset based on whether or not each point feature is within a polygon dataset in ArcGIS Pro ModelBuilder? I have a point ...
Rachel Sinclair's user avatar
1 vote
1 answer
447 views

Arcade expression that selects the nth element in a dynamic table attribute based on map series rows

I have a map series layout that displays all the photo attachments associated with each feature in a line feature class, housed in a file geodatabase. This line feature class is the index layer of the ...
keenwild's user avatar
0 votes
1 answer
195 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
0 votes
1 answer
104 views

Superscript ordinals for street labels in ArcGIS Pro

I'm using ArcGIS Pro 3.0. I have a Streets feature class that includes the ordinal for numeric streets in the street name field. For example, for "13th Street", the name field is "13th&...
Anna Riling's user avatar
1 vote
1 answer
523 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
1 vote
0 answers
319 views

ArcGIS Pro Pop-ups: How do I show all attributes in rows of a single table?

I have a pop-up configured to display a set of results for a selected location. Using Arcade expressions and HTML, I get a pop-up that looks like this: I need to show all of the rows for each Z range ...
mountainscaler's user avatar
0 votes
1 answer
113 views

ArcGIS Pro Arcade If-And Statement

I have an Expression that I am trying to create for symbology that essentially filters on three categories. The Two are very simple, the last one has a lot of criteria that work for it. For example, ...
Pman's user avatar
  • 1
1 vote
2 answers
629 views

ArcGIS Arcade Labeling When Text Includes HTML Reserved Characters

I am using the following expression in an ArcGIS feature label: "(CH<SUB>4</SUB> " + $feature.Methane + " ppm)" This works (e.g., CH4 15 ppm) unless the $feature....
Ilgeo's user avatar
  • 11
0 votes
1 answer
564 views

Arcade Intersects returns geometries with same areas

I am writing an Arcade expression for a pop-up that will intersect the selected geometry with an underlying layer that has 6 different types of values (C, S, R, O, OC, EMO). I want the expression to ...
RossV's user avatar
  • 338

15 30 50 per page