|
POST
|
Experience Builder also uses URL parameters. Look at the Data-related parameters section to see how to configure it to zoom to your selected feature
... View more
05-07-2025
01:49 PM
|
1
|
4
|
1175
|
|
POST
|
You can submit corrections and feedback about Esri Basemaps here.
... View more
05-07-2025
07:44 AM
|
0
|
0
|
799
|
|
POST
|
I'm referring to a text element like this: The expression used in that element just has a text return, not an object return var label = "This is a test"
return label
... View more
05-06-2025
07:25 AM
|
1
|
1
|
1711
|
|
POST
|
You can use the $map variable in AGOL if you're referring to a featureset in the current map. If featureset is not in your map, then you have to retrieve it using FeatureSetByPortalItem.
... View more
05-06-2025
06:31 AM
|
0
|
0
|
1722
|
|
POST
|
If this a simple text element, you don't need to return an object. For an Arcade element (or a chart), you will need to return an object.
... View more
05-06-2025
06:25 AM
|
0
|
3
|
1726
|
|
POST
|
This will remove "MDU " from your string if it contains it. Otherwise, the original string will be returned var label = $feature.MDU_NAME
return iif(Left(label, 4) == 'MDU ', Mid(label, 4), label);
... View more
05-06-2025
06:13 AM
|
2
|
0
|
1512
|
|
POST
|
The Combobox component is designed for multiple selections and uses those icon for selections in the multiple-selection mode. Can you use the Select component instead?
... View more
05-01-2025
01:40 PM
|
0
|
1
|
809
|
|
POST
|
You have to replace the single quotation mark with two single quotation marks (the first one is used as an escape character). var qf = new SpatialQueryFilter();
qf.FilterGeometry = myShape;
qf.SpatialRelationship = SpatialRelationship.Intersects;
qf.WhereClause = $"{AllFieldnames.parcelNumFieldname} = '{intersctedParcelNum.Replace("'","''")}'";
... View more
05-01-2025
10:45 AM
|
3
|
0
|
1221
|
|
POST
|
You can add multiple statistics to the GroupBy function. This will return the latest and earliest inspections for each hydrant. However, this does not include dates that are null GroupBy(inspections , 'HydrantID', [{name: 'Latest', expression: 'dateinspected', statistic: 'MAX'},{name: 'Earliest', expression: 'dateinspected', statistic: 'MIN'}])
... View more
04-30-2025
12:19 PM
|
1
|
1
|
2725
|
|
POST
|
Give this a try var activities = GroupBy(fil2, 'RecType', [{ name: 'NumTypes', expression: 'RecType', statistic: 'COUNT' }, {name: 'Icon', expression: 'iconPath', statistic: 'Min' }]) You can use the Min and Max statistics on string fields. In your case, each would give the same result, since the paths are the same for each RecType.
... View more
04-30-2025
05:48 AM
|
1
|
1
|
1411
|
|
POST
|
Do you have a timeline when the CSS utility classes will be upgraded to Bootstrap 5.x, since 4.3.x was originally released in 2019 and 5.0 was released in 2021?
... View more
04-29-2025
06:46 AM
|
0
|
1
|
1251
|
|
POST
|
In Dashboards, a Data Expression must return a FeatureSet. Your code is returning a dictionary, but that has to be to converted into a FeatureSet for it to be used in the Dashboard. return FeatureSet({
fields: [
{ name: "projectID", type: "esriFieldTypeString" },
{ name: "appropriations", type: "esriFieldTypeDouble" },
{ name: "encumbrance", type: "esriFieldTypeDouble" },
{ name: "expenditures", type: "esriFieldTypeDouble" },
{ name: "availableBalance", type: "esriFieldTypeDouble" }
],
geometryType: "",
features: features
});
... View more
04-29-2025
06:40 AM
|
1
|
1
|
1541
|
|
POST
|
If I am understanding your data correctly, your code would look like this // address count agol
var p = Portal('https://www.arcgis.com')
var features = FeatureSetByPortalItem(p, '9cf1341131214c15b7900f0153557246', 30)
//filter point layer for fiber only
var fiberFeatures = Filter(features, "Coverage = 'Fiber'")
// get the points inside the current polygon feature
var points_in_polygon = Contains($feature, fiberFeatures)
// count them and return the number
return Count(points_in_polygon) Setting a variable to be used in the sqlStatement (variable substitution in the Filter function) means you don't have to worry about whether to use quotes. var value = 'Fiber'
Filter(features, "Coverage = @value")
// or
var value = 99
Filter(features, "numericField = @value") It's more useful when you have to get a variable from the incoming feature or make some a calculation, since you can't use Arcade profile variables like $feature or Arcade functions in the sqlStatement var averageValue = Average($layer, 'POPULATION')
var result = Filter($layer, 'POPULATION > @averageValue');
... View more
04-29-2025
06:28 AM
|
0
|
2
|
1476
|
|
POST
|
What version of Bootstrap does the current Developer Edition use? The documentation links to version 4.3.x, but another section of the documentation says the components are extended and customized from Reactstrap, which says it's compatible with Bootstrap 5.1
... View more
04-28-2025
02:38 PM
|
0
|
3
|
1322
|
|
POST
|
What is your actual Filter function? What you have in there is confusing, since you shouldn't include "feature" as part of the sqlExpression. It should look like this: var value = xy
var result = Filter(FeatureSetByPortalItem(p, 'itemId', layerId), "pointField = @value");
... View more
04-28-2025
02:27 PM
|
0
|
4
|
1524
|
| 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 |
Offline
|
| Date Last Visited |
3 weeks ago
|