Questions tagged [arcade]
Use for questions about Arcade expression language used across ArcGIS Platform
205 questions
0 votes
0 answers
30 views
Adding filter to dashboard indicator that is using data expression
I have a script that is used in a dashboard indicator. The purpose of the indicator is to track the average days it takes for my city to issue a permit. It takes two text fields that contain dates ...
0 votes
0 answers
93 views
How to generate a custom ID for ArcGIS Survey123 & show it after user has submitted the form?
I want to generate a registration ID after user has submitted a Survey123 form. The format is as follows: "Region"-INTERNAL-"Running Number"-"Year" Example: PG-INTERNAL-...
1 vote
1 answer
85 views
How to calculate partial lengths for lines that intersect a polygon
I have a line layer that extends for miles, but intersects various polygons along the path. I want to calculate the footage that intersects each individual polygon without calculating the entire line ...
0 votes
0 answers
34 views
Querying features using Arcade Expressions with ArcGIS Javascript SDK
I have a polygon FeatureLayer that I want to be both Query from while also using an Arcade Expression on the results. I have a test link here. Here I just set up a dropdown so when a zip code is ...
1 vote
0 answers
66 views
Arcade script for Map Viewer pop-up needs return on URLs based on different attributes
I have a web map (viewed in Map Viewer so I can edit) that needs a popup that will return different URLs as hyperlinks depending on the different attribute field types. Currently, I have an Expression ...
0 votes
1 answer
45 views
Arcade expression calculating specific line type
I need to calculate the footages for cables of a specific type and have created an expression that should work, but I keep getting the "Test execution error: Unknown Error. Verify test data."...
2 votes
1 answer
269 views
Using Arcade to make Null Geometry
Scenario: There are two point feature classes (PointA, PointB). Both share a common field named ID. Objective is to have an attribute rule on PointA, so that if we delete any feature from PointA the ...
1 vote
1 answer
92 views
Intersect connected Lines and ordering line number using Arcade in ArcGIS Pro
In ArcGIS Pro, I have two layers, Tower (black cycle) and SLR (red line). The SLR layer has two fields – TowerID and OrderID, while the Tower layer has a TowerID field. What I want is to automate the ...
0 votes
0 answers
60 views
ArcGIS Pro "Default" Field Calculation
I have this problem in a map project where when I open the field calculate window, it is populated with the same expression. When I open the field calculate window, the default expression I am getting ...
1 vote
0 answers
40 views
Change which keys are used at different scales when using Dictionary Symbology
I have a simple dictionary with 10 different keys for polygons. Every polygon gets a base symbol (think border and fill) as well as 1 or more other marker symbols at the center (think badges). See ...
2 votes
1 answer
309 views
Arcade remove text after comma in labels
I'm trying to set a label expression to remove the text after the first comma for one of the fields in the label. So in the example here the last line would just say " Pagoda loam" , leaving ...
0 votes
1 answer
109 views
ArcGIS Pro: calculating speed between points in the same attribute table [closed]
I am working with GPS track points, and would like to calculate the speed of movement between points within the same attribute table. Google didn't come up with any obvious solutions, so I assume I ...
1 vote
0 answers
124 views
Return a value depending on if record in related table matches parent table using arcade in field maps web designer
I would like to return the values, good or bad, depending on if a value of a field in the related table matches a value in a field in the parent table. The two values are pressure in PSI and I am ...
2 votes
1 answer
137 views
ArcGIS Arcade Script - No Value Returned when using multiple intersect methods
In this original Arcade script below, room IDs are successfully pulled and populated in the 'room_id' field of a point asset based on the floor level polygon of the intersecting layer. In virtually ...
0 votes
0 answers
73 views
Change colour of a polygon based on a points colour in arcade
I have 2 layers of data, which both have the same values, one point, one polygon. The point layer contains 160,000 points representing 16 areas over the course of 30 years and is time enabled. The ...