Questions tagged [arcade]

Use for questions about Arcade expression language used across ArcGIS Platform

Filter by
Sorted by
Tagged with
1
vote
2answers
71 views

Finding number of days per ID in table using ArcPy?

I need to count the span of days an individual has been observed, from the first til the last observation day. There can be many observations per ID per day and not everyday has observations, hence ...
0
votes
0answers
8 views

Customizing Symbology Based on Time Slider for Time Frame in ArcGIS Online using Arcade?

We have a feature service for gates that have fields for when the gates will be under construction and closed. There are 2 date fields, one for the start of the closure and one for the end of the ...
0
votes
0answers
12 views

Calculating length of field using Arcade?

I have data with this format: 4024-457 and I need to separate the left and right portions from the '-'. The data is not always in that proportion (4 numbers left and 3 to the right) so I need to ...
2
votes
0answers
27 views

Arcade Expression to Intersect Features and add Attribute to Popup

New to Arcade. I have two features in an AGOL map, "SS Parcels" and "SS Zoning". I would like to configure the popup for "SS Parcels" to also display the zoning code from "SS Zoning". It seems like ...
0
votes
1answer
41 views

Using Arcade in ArcGIS Online to customize labeling?

I am trying to clean up the labeling for a city zoning map using ArcGIS Online. To do this I need to trim the property address to only the numeric values, which has been accomplished, but due to ...
0
votes
0answers
27 views

Converting Python to Arcade in ArcGIS Online?

The following python expression can trim street addresses for labeling in ArcMap. I need to convert the expression to Arcade so I can retain the same labeling scheme when pushing my feature layer ...
1
vote
1answer
46 views

Change Symbology of no value in ArcGIS Online

I created web map in ArcGIS Online with point data. I will update one field of attribute which doesn't have any value on it (empty) with random number or text. I just want when I am putting any number ...
0
votes
2answers
66 views

Eliminating empty values using arcade in ArcGIS Portal pop up?

I am attempting to create a conditional arcade expression that will list all of the fields that do not have a null value with an individual label and not show the field at all if the field is null. My ...
0
votes
0answers
40 views

How to hide attributes in one field via Arcade expression language - ArcGIS Online

I have a layer and I am configuring pop-ups, but in one specific field - Name, I have blank records which I don't want to include them in the pop -ups. Does anyone knows how to create the expression, ...
0
votes
0answers
45 views

Using Arcade “Buffer(Geometry” in Portal for ArcGIS Web Maps

I have a Portal for ArcGIS web map, with a Point Feature Service and Line Feature Service. I wish to use an Arcade expression to buffer the geometry in the display. I've figured out the basics of the ...
1
vote
1answer
26 views

Vary symbol rotation to point towards fixed point?

How would I write an expression in the expression builder to rotate a marker symbol towards a fixed grid reference? It does not need to be too accurate (no haversine required) as the points are ...
0
votes
1answer
104 views

Arcade expression for multi fields

I am new to Arcade and I am trying to symbolize a feature based on a domain value in multiple fields. The feature class is named Zones and there are 3 fields Phase1, Phase2, Phase3 with the same ...
1
vote
1answer
191 views

Labeling expressions on AGOL with Arcade for certain features

I am working on a web map in AGOL for the indoor office map. I have some issues writing custom expressions with Arcade in order to label the types of rooms (office rooms) based on another attribute ...
2
votes
1answer
129 views

ArcGIS Online Webmap: Summarize values of overlapping polygons in quantitative symbology

I am attempting to create a dynamic webmap to display varying values across a grid of polygons. Within each grid cell there are multiple overlapping polygons (grid cells) each with a unique value. I ...
0
votes
2answers
301 views

Using Arcade, AGOL, and Attribute Expressions to Create a Text field with Quotes

I am working on creating a Attribute Expression that would display HTML with quotes in the field. I tried putting double quotes for the inner quotes, but I keep getting "Parse Error: Unexpected String"...
2
votes
1answer
98 views

Unable to use Arcade expression to obtain X and Y values from geometry

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 ...
1
vote
1answer
341 views

Arcade expression to see if current date is within two dates?

I am new to building expressions in Arcade and I am having trouble writing an expression that can be used to check start and end times of different areas and evaluate if the current date is within the ...
0
votes
1answer
441 views

Arcade IIF function, return field name plus string

I am pretty new to programming so I don't really understand how I can do this. Basically I have data with field that are 0, I wanted to display "No Data" when the field is 0, and when it is not 0, ...
3
votes
0answers
976 views

Using multiple If/Else if statements in Arcade Symbology Expression?

I am tasked with creating a multiple If/Else If statement in an Arcade Symbology Expression. I have 16 date fields, 8 sets of a planned submittal date, and 8 sets of the actual submittal date. So I ...
1
vote
1answer
102 views

ArcGIS Arcade Expression: Data from a Service Query

This maybe not be possible but trying anyway. I have a Map Service with geometry features published. Two of the columns are 'Zone1' and 'Zone2' with values like 'ABC' or 'DEF'. The values of 'ABC' or '...
0
votes
2answers
349 views

Return field names using Arcade function in ArcGIS Online

I'm trying to write an expression for a pop up in ArcGIS Online that will display the name of the fields if there is a specific value under those fields for each feature. I adapted the following ...
4
votes
0answers
262 views

How to use feature's one-to-many statistics as a graduated color symbology in an 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 ...
0
votes
1answer
44 views

Having Symbology apply only to data that has been entered more than once using ArcGIS Pro?

I am mapping a neighborhood and want to show lots by ownership in symbology but I have too many lots, over 300 atm. Is there a way I can configure the symbology to only show unique values when owners ...
2
votes
2answers
423 views

Is it possible to have the number of features shown in the TOC of ArcGIS Pro

I was wondering if it is possible to show the number of features per category in the table of contents in ArcGIS Pro. It is one of the most simple tasks in QGIS to do so, but in ArcGIS Pro I only ...
3
votes
1answer
1k 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 ...
2
votes
3answers
822 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 ...
4
votes
1answer
2k views

How to create an Arcade Expression that excludes empty field values

In ArcGIS Online, I have a point layer with attributes Provider1, Provider2, Provider3.....Provider13. The values are text consisting of people's names. I would like to configure the popup to ...
0
votes
2answers
946 views

ArCade Expression in Pop-Up- change color based on attribute

I have a layer with a "Completed" field with 4 unique values. - design phase - future year - under construction - completed in my pop-up configs I have "Status: {Completed}" How can I use Arcade to ...
2
votes
1answer
477 views

How to save the result of an Arcade expression to the database?

What course of action would you recommend if I did want to store the results of an Arcade attribute expressions to a database? For example, right now I have a layer which includes Leveraging Partner ...
0
votes
2answers
588 views

Changing colour of point based on null value using Arcade Expression in ArcGIS Online?

I have a map in ArcGIS Online with a point layer showing lighting assets. These are symbolised based on unique type (post = circle, column = square). The user will update a separate field to have a ...