Questions tagged [arcade]
Use for questions about Arcade expression language used across ArcGIS Platform
188
questions
0
votes
1
answer
16
views
Arcade labels not drawing in ArcGIS Online
I have a hosted feature service view that I would like to customize a label expression for.
I want to concatenate an abbreviation of one field with another field. I'm doing this in the Visualization ...
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 ...
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 ...
0
votes
1
answer
41
views
Return a URL from a Cell in a Field in A Feature Layer as Hyperlinked Text
I have a feature layer in AGOL Map Viewer full of polygons. This feature layer has a field titled 'dotcms_factsheet'. In each cell in this field is a URL. I am trying to write an expression in Popups ...
0
votes
2
answers
83
views
How to Activate Hyperlink in Pop-up From Attribute Field
I am building expressions in a pop-up in AGOL Web Map. A specific field in the attribute table I am drawing from has URLs in each cell. When I drop the field name into the pop-up from the Fields List, ...
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-...
0
votes
1
answer
25
views
Arcade - problem with rule-based styling for more than one condition
I want to set the Arcade expression in my ArcGIS Online project, which will be based on more than one criterion. I need to include two fields instead of one as I can usually do in ArcGIS Online ...
1
vote
1
answer
67
views
Adding Code to Experience Builder Text Widget
I have some Arcade code I wrote (that surprisingly works) and I'd like to insert the code into a Text Widget in Experience Builder (I need to replace the XXX in the image below with the code). The ...
-1
votes
1
answer
56
views
Converting XY coordinates into local coordinate system using Arcade
I am currently trying to convert coordinates into a local county coordinate system. The use case is when I have my field workers out collecting, it could auto calculate a field for the geometry.x and ...
1
vote
1
answer
62
views
Arcade script to group attribute fields in a PopUp
I have a feature layer of land use zones in AGOL Map Viewer. I want to script the Popups to group by a given header name all the different attribute fields and records that pertain to the selected ...
0
votes
1
answer
84
views
ArcGIS Arcade Pop up expression - How to get a list in the pop up to show colours related to symbology
I'm relatively new to ArcGIS Arcade but I've been trying to learn, with lots of help from Esri lessons and articles - also Copilot assists with some scripts.
Outside of one of the lessons learning ...
1
vote
0
answers
45
views
Why won't Arcade recognize related table in Field Maps app?
I have a Field Maps application to inventory trees.
The application's associated web map has the following features associated with it:
Layers
trees
Tables
Maintenance
Inspections
trees_related
I ...
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....
1
vote
3
answers
39
views
ArcGIS Arcade Pop-Up Record Concatenate
I have numerous records where FieldName1 = categories, and FieldName2 = unique types. I am trying to concatenate FieldName2 by FieldName1.
Is this possible?
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 ...