|
POST
|
Why doesn't this use the normal convention (like in ArcGIS Pro and Web AppBuilder) of Shift to add features and Ctrl to remove features?
... View more
07-25-2025
11:41 AM
|
0
|
0
|
881
|
|
POST
|
You can use the lasso or rectangle tools to do this by just clicking once on the point. What you have to do is hold down the Ctrl key before starting the selection
... View more
07-25-2025
10:31 AM
|
0
|
0
|
895
|
|
POST
|
Yes, by pressing the Ctrl key while clicking on points, but it doesn't always seem to work properly. I don't know if it's an issue of tolerance, but it doesn't consistently work. You can use the Ctrl key with the rectangle and lasso options to add to the selection. It's surprising that it doesn't follow the normal Esri selection convention of using Shift to add to the selection, Ctrl to remove from the selection
... View more
07-25-2025
08:16 AM
|
2
|
2
|
941
|
|
POST
|
You can check whether the service order number is empty before the filtering the FeatureSet for (var t in services) {
var tableID = t["SERVICE_ORDER_NUMBER"];
if (!IsEmpty(tableID)) {
for (var p in Filter(surveys, "service_order_number = @tableID")) {
feat = {
attributes:
{
SERVICE_ORDER_NUMBER: tableID,
Backflow_Required: p["backflow_required"]
}
};
Push(features, feat);
}
}
}
... View more
07-24-2025
11:51 AM
|
1
|
0
|
511
|
|
POST
|
When posting code, use the "Insert/Edit code sample" button instead of attaching it as a text file. It's much easier to read and make reference to. It looks like the "service_order_number" field isn't a numeric field, but rather a text field, so the Filter expression would need quotes around the variable. Try using this line instead for (var p in Filter(surveys, "service_order_number = @tableID")) { Using variable substitution (see the Filter function documentation) will automatically take care of whether quote are required around the variable.
... View more
07-24-2025
05:49 AM
|
1
|
2
|
528
|
|
POST
|
You can use the selectors on the map itself, wiring up the actions to filter the layers on the maps.
... View more
07-23-2025
12:16 PM
|
0
|
1
|
341
|
|
POST
|
You can use Arcade in a list widget which does have access to the $feature variable.
... View more
07-23-2025
06:50 AM
|
0
|
4
|
616
|
|
POST
|
The text widget doesn't have access to the $feature variable, just the $dataSources variable (see the profile for more information). You can get the selected feature with the syntax var dataSource = $dataSources['dataSource_1-187acf797e1-layer-5-selection'];
var selectedFeatures = dataSource.selectedFeatures;
var feature = First(selectedFeatures)
... View more
07-23-2025
06:15 AM
|
0
|
6
|
624
|
|
POST
|
Glad to help. Don't forget to check the Accept as Solution box. The reason it may not be showing all of them is that the legends generated by Arcade will only give you the values that exist. If your data doesn't contain the values for each of the possibilities, you'll have to use dummy data to build it. Having said that, I don't see how you'll every get "Over" returned. If you changed line 13 to use && instead of ||, then you can get "Over" You can simplify your expression also. In line 14, you don't need to check whether difDays is less than 15 since that was checked in line 13
... View more
07-23-2025
05:57 AM
|
1
|
0
|
492
|
|
POST
|
You can use this expression iif ($feature.closingDate < DateOnly(), "No", "Yes") And in the Styles dialog, move the "No" entry to the Other category and make sure it's turned off
... View more
07-22-2025
01:02 PM
|
1
|
2
|
529
|
|
POST
|
That is the correct case number This is xyzxy from Esri Support Services writing to you in regard to case #03950934- "Cannot configure forms for attribute editing".
... View more
07-22-2025
05:22 AM
|
0
|
0
|
701
|
|
POST
|
The Intersects function returns a FeatureSet, not a feature, so you'll have to extract a feature from "ints". If you know there will only be one feature in that FeatureSet, then you can use the First function. iif(Count(ints) > 0, First(ints)['placement'], false); Otherwise, you'd have to loop through the FeatureSet to get each feature..
... View more
07-21-2025
11:43 AM
|
0
|
0
|
373
|
|
POST
|
This Arcade script is one way to do that, assuming your Yes/No field is called Binary and the date field called Date. This will return values that you can symbolize with the correct colors var theYear = Year($feature.Date);
var currentYear = Year(Now());
if ($feature.Binary == "Yes") return "black";
When(
theYear <= currentYear, "green",
theYear == currentYear + 1, "yellow",
"red"
); Line 1 gets the year of the point's date. Line 2 gets the current year. Line 4 returns "black" if the Binary field is Yes Line 5 uses the When function (and uses an implicit return) Line 6 returns "green" if the point's year is equal to or prior to the current year. Line 7 returns "yellow" if the point's year is the next year. Line 8 returns "red" if the point's year is after the next year.
... View more
07-17-2025
11:54 AM
|
3
|
0
|
401
|
|
POST
|
This will strip off the directional text if there's a space in the first three characters. var addstreet = $feature['L0Parcel_boundaries.situs_street'];
if (Find(" ", Left(addstreet, 3)) < 0) return addstreet;
return Concatenate(Slice(Split(addstreet, " "), 1), " "); In line 2, if there is no space in the first three characters, the street name is returned. Otherwise, in line 3, the string is split into an array, the first array item is removed using the Slice function, and the items in the array are Concatenated into a text string separated by a space.
... View more
07-16-2025
01:11 PM
|
2
|
1
|
949
|
|
POST
|
Unfortunately you can't assign colors to a label using Arcade. Instead, you'll have to create label classes for each symbol. In this first class, I want to show the deep points with a red label Use the Filter to show only that attribute and set the Label style. Here I've added another label class to show shallow points with a smaller green label. This class uses a different filter
... View more
07-16-2025
12:37 PM
|
0
|
0
|
452
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 3 weeks ago | |
| 2 | 4 weeks ago | |
| 1 | 11-18-2025 12:30 PM | |
| 2 | 11-18-2025 06:53 AM | |
| 1 | 11-17-2025 06:38 AM |
| Online Status |
Offline
|
| Date Last Visited |
Friday
|