|
POST
|
The number you're calculating is probably too big for a regular integer field. A small integer field (16-bit) only allows for values from -32,768 to 32,767. An integer field (32-bit) allows for values from -2,147,483,648 to 2,147,483,647. Both of these are shorter than what you want. A big integer field (64-bit) allows for values from -9,223,372,036,854,775,808 to 9,223,372,036,854,775,807
... View more
Friday
|
0
|
0
|
131
|
|
POST
|
To get your format of "2026-05-110356" (did you want to leave out the day?), you would use the syntax Text(Now(), "Y-MM-HHmmss")
//if you want to include the day, use this syntax
Text(Now(), "Y-MM-DD-HHmmss") However, this cannot be converted into an integer with the dashes included. You can use this syntax to return an integer Number(Text(Now(), "YMMHHmmss"))
... View more
Friday
|
1
|
1
|
169
|
|
IDEA
|
Do you own the layer that you're editing? If so, you will be able to edit all fields regardless of how you set their read-only status. You should test this with another account.
... View more
3 weeks ago
|
0
|
0
|
289
|
|
IDEA
|
You can make a field uneditable in a web map by using the Form editor.
... View more
3 weeks ago
|
0
|
0
|
302
|
|
POST
|
I use the JavaScript language selection in the code sample window for Arcade code, which highlights code in a different way than the language that you selected. When working with a normal FeatureSet, you should be able to return the length of a feature using "f.Shape_Leng". If that doesn't work with your feature, I would suggest using Console function to examine the schema and its available fields. console(Schema(fs).fields)
... View more
3 weeks ago
|
0
|
0
|
221
|
|
POST
|
The first line of your script doesn't return a FeatureSet, but rather a dictionary. You have to use the layer property to get the features from $dataSource. var fs = $dataSources["dataSource_1-19d7400ea8f-layer-20"].layer;
var total = 0;
for (var f in fs) {
var len_in_inches = f.Shape.STLength() * 12;
var width_in_inches = Number(f.Width_Inches, 0);
total += width_in_inches * len_in_inches;
}
return total;
... View more
3 weeks ago
|
0
|
2
|
267
|
|
POST
|
You can use the Union function to combine all the intersecting karst features into a single feature, which you'll intersect with your original feature to get the area calculations. Give this a try. I haven't tested it out, however... //Define Karst FeatureSet
var karst = FeatureSetByPortalItem(
Portal("https://www.arcgis.com"),
"689167928f6e49f689d0f08b31ad8c47",
0
);
//Create FeatureSet of Karst features that intersect the aoi ($feature)
var karst_aoi = Intersects(karst, $feature);
//Calculate acreage of aoi
var aoi_acre = AreaGeodetic($feature, "acres");
//Create an array of the karst features to use in the Union function since it doesn't accept a FeatureSet
var karst_array = [];
for (var c in karst_aoi) {
Push(karst_array, c);
}
var karst_feature = Union(karst_array);
var karst_percent = AreaGeodetic(Intersection(karst_feature, $feature), "acres") / aoi_acre * 100;
var final_text = `Approximately ${karst_percent}% of the site contains karst.`;
return {
type: "text",
text: final_text
};
... View more
3 weeks ago
|
1
|
1
|
172
|
|
POST
|
Use the DomainName function to get the description output += '<br>' + DomainName(related_data_row, "field1_table") + " - " + related_data_row.field2_table; Also, you can simplify the code a little bit var output = "No Related Records...";
if (related_data_filtered_count > 0) {
output = "Total of " + related_data_filtered_count + " records : ";
for (var related_data_row in related_data_filtered) {
output += '<br>' + DomainName(related_data_row, "field1_table") + " - " + related_data_row.field2_table;
}
}
... View more
3 weeks ago
|
1
|
1
|
241
|
|
POST
|
Are you checking whether there are any records in related? var related = FeatureSetByRelationshipName($feature, "ACProductsGroundwaterSamplingPoints_ACProductsQuarterlySurveyForm");
return IIf(Count(related) > 0, First(related)["WellID"], "No related records");
... View more
03-30-2026
12:39 PM
|
0
|
1
|
190
|
|
POST
|
I ended up going another route. I created a separate experience for my documentation and using this for my index.html. This way, I can update the help documentation without needing to recompile the experience and deploying it. <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Spatial Prioritization help</title>
<link rel="stylesheet" href="./style.css">
<link rel="icon" href="./favicon.ico" type="image/x-icon">
</head>
<body>
<main>
<!-- <h1>Spatial Prioritization help</h1> -->
</main>
<script>
window.location.replace("https://experience.arcgis.com/experience/d577837e4c5f48e8bda663bbd9da03c1/page/Settings");
</script>
</body>
</html>
... View more
03-25-2026
06:11 AM
|
0
|
0
|
192
|
|
POST
|
There are several ways to do that. You can use html tags in the string. You can also use css. `• <font size="3">${nm} <a href =${link}>${name}</a> ${yr}</font>`
... View more
03-23-2026
09:23 AM
|
1
|
0
|
328
|
|
POST
|
Here's a way to create a bulleted list. In each loop, the string is pushed into the result array. The string also use a template literal. The Concatenate function creates a string from that array, separating the array items by a line break. As for the AsBuilt_Name not coming through, have you checked using a console in your loop whether there's an attribute in that field? var AB = FeatureSetByName($map, 'As Built Polygons')
var ABpoly = Intersects(AB, $userInput)
// uses the intersect of the click//
var result = []
for (var poly in ABpoly){
var link = poly.AsBuilt_Link
var name = poly.Laser_fiche_name
var yr = poly.year
var nm = poly.AsBuilt_Name
console(nm)
Push(result, `• ${nm} <a href =${link}>${name}</a> ${yr}`)
}
//pulls the fields from the layer and builds a url using the field name//
return {
type: 'text',
text : Concatenate(result, '<br>')
}
... View more
03-23-2026
08:30 AM
|
0
|
2
|
341
|
|
IDEA
|
When adding a zip file as a New Item, the only option for custom widgets is "AppBuilder widget package". Since ArcGIS Web AppBuilder has been deprecated, add an option for Experience Builder widgets packages.
... View more
03-19-2026
12:59 PM
|
1
|
0
|
109
|
|
IDEA
|
This idea has been floating around for a loooong time Additional Folders/ Sub-Folders in My Content - Esri Community (2013) Enable subfolders in ArcGIS Online - Esri Community (2023)
... View more
03-19-2026
12:02 PM
|
0
|
0
|
279
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | Friday | |
| 1 | 3 weeks ago | |
| 1 | 3 weeks ago | |
| 1 | 10-11-2023 06:18 AM | |
| 1 | 03-23-2026 09:23 AM |
| Online Status |
Offline
|
| Date Last Visited |
11 hours ago
|