|
POST
|
I had overlooked that the Geometry bundle is not available in the Dashboard list formatting profile, most likely for performance gains. I'm looking into a way to add that to your data as you load it into Dashboard
... View more
04-18-2024
10:18 AM
|
0
|
2
|
2891
|
|
POST
|
Take a look at the page on template literals. The two examples I provided give the same output.
... View more
04-18-2024
08:49 AM
|
1
|
4
|
2901
|
|
POST
|
If you use regular quotes, then the line would like this var output = 'x: ' + thePoint.x + ', y: ' + thePoint.y
... View more
04-18-2024
08:14 AM
|
0
|
6
|
2917
|
|
POST
|
My code uses template literals , which uses the back tick (`) instead of the regular quote (').
... View more
04-18-2024
08:10 AM
|
0
|
8
|
2919
|
|
POST
|
You can use the Centroid function to get the center point for a polygon. var thePoint = Centroid(Geometry($feature));
var output = `x: ${thePoint.x}, y: ${thePoint.y}`
... View more
04-18-2024
07:23 AM
|
1
|
10
|
2932
|
|
POST
|
You can check the status of ArcGIS Hub at the Health Dashboard and report any issues.
... View more
04-17-2024
01:40 PM
|
0
|
0
|
2187
|
|
POST
|
That should be set by the layer's name, either from the web map or the feature service. If you look at this popup sample, that heading is "US Counties". If you look at the web map used in the sample, you'll see that the layer has the title of "US Counties". For a sample using a service, the heading has "ACS Marital Status Boundaries - Tract", the service name and layer name. The empty space next to your symbol for that Untitled layer can have text that is set by the PopupTemplate's title property.
... View more
04-16-2024
11:59 AM
|
0
|
0
|
846
|
|
POST
|
Ooops, I tested it on a popup, not the field calculator. You have to get the layer from the $datastore variable, not the $layer variable. var fs = FeatureSetByName($datastore,'your layer name')
return $feature.disability_ACSHHDIS/Sum(fs, 'disability_ACSHHDIS') * 100
... View more
04-16-2024
09:57 AM
|
0
|
1
|
2317
|
|
POST
|
You're just getting the sum of that single feature in line 1, so its percentage would always be 100%. You have to get the sum of all the features in the dataset to calculate the percentage return $feature.data/Sum($layer, 'data') * 100)
... View more
04-16-2024
09:36 AM
|
0
|
3
|
2328
|
|
POST
|
A Data Expression has to return a FeatureSet //var result = Round(total, 0);
//return result
var Dict = {
'fields': [
{'name': 'Result', 'type': 'esriFieldTypeInteger'}],
'geometryType': '',
'features': []};
// fill the data schema with the data
Dict.features[0] = {
'attributes': {
'Result': Round(total, 0)
}}
// return the featureset
return FeatureSet(Text(Dict));
... View more
04-12-2024
01:52 PM
|
1
|
1
|
2057
|
|
POST
|
Which version of QuickCapture are you using? Arcade wasn't supported in versions before 1.18.
... View more
04-12-2024
08:22 AM
|
0
|
0
|
4165
|
|
POST
|
This doesn't address the QuickCapture question, but you can get that formatting much easier using the Text function Text(Now(), "DD/MM/YYYY, hh:mm A"); The only thing is doesn't address is the ISOYear, but I'm not clear on why you would want that. If you used your formula on a date like 31 December 2024, it would return "31/12/2025"
... View more
04-12-2024
07:25 AM
|
0
|
2
|
4166
|
|
POST
|
The variable highpipeelev is a FeatureSet, but Geometry requires a Feature. var highpipeelev = First(FeatureSetByName($datastore, "SewerLine", ["DOWNSTREAMINVERT"], true));
... View more
04-11-2024
07:19 AM
|
1
|
1
|
2084
|
|
POST
|
In the 4.29 version, the MapView.hitTest method was improved to respect drawing order or use the orderBy property.
... View more
04-10-2024
07:44 AM
|
2
|
1
|
1417
|
|
POST
|
If I understand your question, the Filter function would do that.
... View more
04-10-2024
07:39 AM
|
1
|
1
|
2416
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 02-04-2025 06:39 AM | |
| 1 | 05-01-2026 08:26 AM | |
| 1 | 04-10-2026 12:01 PM | |
| 1 | 04-13-2026 09:11 AM | |
| 1 | 10-11-2023 06:18 AM |
| Online Status |
Online
|
| Date Last Visited |
4 hours ago
|