All Questions
Tagged with arcgis-pro arcade
73
questions
3
votes
1
answer
6k
views
Evaluating string in Arcade 'if' statement?
I'm tasked with building an Arcade expression that evaluates whether a string field includes given characters, and returns values accordingly. Attribute UTILITY_GROUP may be E, EU, G, or GU. To cut ...
3
votes
1
answer
1k
views
Arcade Expression for Label Halo Color
I am trying to label Census Block Groups and Tract ID for the block group feature layer. I would like to label them using different color halos. Is there an arcade expression that will allow me to ...
3
votes
1
answer
2k
views
Dynamic/calculated field in ArcGIS Pro via Arcade expression?
In an ESRI video called Getting to Know Arcade, the presenter states that dynamic/calculated fields are possible via Arcade expressions.
How many of you have ever been in a
situation where you had a ...
3
votes
1
answer
4k
views
Using Arcade expression to obtain X and Y values from geometry of Map Service
I am trying to set up an expression for use in a pop-up in my portal web map in point feature class (image) service that was published referencing SDE Enterprise Feature Class.
When building the ...
3
votes
1
answer
2k
views
What is the arcade equivalent to "If value in list" in the Visualizations profile
What is the arcade equivalent to Python evaluating the conditional statement "If value in list":
fueltype = 'JP5'
fueltype_list = ['F24', 'JP10', 'JP4', 'JP5']
if fueltype in fueltype_list:
...
3
votes
1
answer
804
views
How to call another Arcade expression?
I have been using Arcade expressions for custom popups. These are being authored in ArcGIS Pro for later deployment to AGOL.
These expressions are all being named, can be successfully embedded in ...
3
votes
1
answer
683
views
Setting label value for varied symbology by attribute using size as variation
In using ArcGIS Pro 2.4.1, I wanted to have symbology that represented two attributes at one time. This is possible using a variety of symbology setups, specifically, I did the following:
Created a ...
3
votes
0
answers
566
views
Using feature's one-to-many statistics as graduated color symbology in ArcGIS Online application?
I've made a task oriented ArcGIS Online application that I like to improve: The application is about filling a numeric score field in a table for each row. Each row in the table is related to a ...
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: ...
2
votes
3
answers
5k
views
ArcGIS Pro arcade if else statements
I am tasked with sorting Zoning codes numbering over 100 to just 5 (Residential, Office, Commercial, Industrial and Misc).
For whatever reason I cannot get Arcade to recognize a text attribute other ...
2
votes
2
answers
574
views
Arcade expression to find minimum value that is not zero
I am trying to create an Arcade expression to calculate a field in ArcGIS Pro.
In my streets feature there are 4 number fields to evaluate. I can easily use the Min() function to do this. The problem ...
2
votes
2
answers
639
views
How to test if a field exists in a feature?
Is possible to test if a field exists for a feature in the visualisation profile ArcGIS Pro? In the Arcade Playground (https://developers.arcgis.com/arcade/playground/) I've been testing various ...
2
votes
1
answer
180
views
Decoding Shape using Arcade in ArcGIS Pro
I have Shape column in ArcGIS Pro.
How do I get x,y from it with Arcade?
2
votes
3
answers
7k
views
Trim symbology label decimal places when using Arcade in ArcGIS Pro?
I have an issue trying to symbolise a layer with graduated symbols using a custom expression:
I am limited to using arcade/there are no other languages in the
drop down which I don't believe should ...
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) ...