Skip to main content

Questions tagged [arcade]

Use for questions about Arcade expression language used across ArcGIS Platform

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 ...
Rob Matthewman's user avatar
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
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 ...
TheOmoSlide's user avatar
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, ...
TheOmoSlide'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
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 ...
Geographos's user avatar
  • 4,029
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 ...
Pop's user avatar
  • 21
-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 ...
camtmiller's user avatar
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 ...
Pop's user avatar
  • 21
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 ...
ChrisT671's user avatar
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 ...
amcameron'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
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?
Kate D's user avatar
  • 13
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

15 30 50 per page
1
2 3 4 5
13