POST
|
I am still seeing the stuck circled. Also do I need to Intersect the parcels (see line 31). I really just want to join the 'Site Boundary' table to the 'Ownership Parcels' table. Thanks again!
... View more
07-01-2025
08:49 AM
|
0
|
0
|
94
|
POST
|
Like this? Thank you for all your help! for (var parcel in parcels) {Console(parcel.name)
... View more
07-01-2025
08:45 AM
|
0
|
1
|
94
|
POST
|
Here is my updated expression, still unable to execute. In the Arcade Playground my output says "Test execution error: Unexpected token '}'.. Verify test data."
... View more
07-01-2025
07:20 AM
|
0
|
5
|
538
|
POST
|
// Connect to the same portal as your dashboard
var portal = Portal("https://some.portal.college.edu/portal")
// Shared item ID for both layers
var itemId = "7712f75bdb7246d9b6c56f2c9e029dbe"
// Ownership Parcels (Layer 24)
var parcels = FeatureSetByPortalItem(
portal, itemId, 24,
["Name", "CalculatedArea", "COST_CENTER"]
)
// Site Boundary (Layer 57)
var sites = FeatureSetByPortalItem(
portal, itemId, 57,
["Name", "COST_CENTER"]
)
// Define table schema
var fields = [
{ name: "Parcel_Name", type: "esriFieldTypeString" },
{ name: "Calculated_Area", type: "esriFieldTypeDouble" },
{ name: "Parcel_COST_CENTER", type: "esriFieldTypeString" },
{ name: "Site_Name", type: "esriFieldTypeString" },
{ name: "Site_COST_CENTER", type: "esriFieldTypeString" }
]
// List of output features
var features = []
// Intersect parcels with sites and build output table
for (var parcel in parcels) {
for (var site in sites) {
if (Intersects(parcel, site)) {
Push(features, {
attributes: {
Parcel_Name: parcel["Name"],
Calculated_Area: parcel["CalculatedArea"],
Parcel_COST_CENTER: parcel["COST_CENTER"],
Site_Name: site["Name"],
Site_COST_CENTER: site["COST_CENTER"]
}
})
}
}
}
// Return result (dictionary structure — required by Dashboards)
return FeatureSet({ fields: fields, features: features });
}
... View more
07-01-2025
07:20 AM
|
0
|
6
|
538
|
POST
|
So when I add the expression above everything is still red and the return I get is 'null"
... View more
07-01-2025
07:01 AM
|
0
|
0
|
542
|
POST
|
var portal = Portal("https://some.portal.college.edu/portal")
var itemId = "4b1aefe40a8847bab37217a36688dfbf"
... View more
07-01-2025
06:53 AM
|
0
|
1
|
544
|
POST
|
Hello All, I have created a Dashboard on my Portal. The layers I am referencing for the Dashboard are found in a map which is also included in the portal. I need to create a Table Widget that pulls field from two different layers within the map. I am attempting to use a Data Expression to retrieve the data from the two layers. I am just beginning to learn Arcade but I am pretty sure I am on the right track with the expression below; however, no matter how many times I have tried to correct an syntax errors within the expression I allows receive a message stating stating "Unable to execute the Arcade Script". I can't even get a simple expression to work. 1. Are there any specific permissions on the Portal that need to be enable to use Data Expressions withing a dashboard? Here is the current expression. I am pulling from two layer 'Ownership Parcels' and 'Site Boundary'. From the 'Ownership Parcels' layer I need the following fields: 'COST_CENTER', 'Name', and 'CalculatedAcre'. From the 'Site Boundary' layer I need the these two field: 'Name' and 'COST_CENTER'. 'COST_CENTER' is the field that will link the two layers. Any advice would be appreciated! // Connect to the same portal as your dashboard var portal = Portal("https://some.portal.college.edu/portal") // Shared item ID for both layers var itemId = "4b1aefe40a8847bab37217a36688dfbf" // Ownership Parcels (Layer 24) var parcels = FeatureSetByPortalItem( portal, itemId, 24, ["Name", "CalculatedArea", "COST_CENTER"] ) // Site Boundary (Layer 57) var sites = FeatureSetByPortalItem( portal, itemId, 57, ["Name", "COST_CENTER"] ) // Define table schema var fields = [ { name: "Parcel_Name", type: "esriFieldTypeString" }, { name: "Calculated_Area", type: "esriFieldTypeDouble" }, { name: "Parcel_COST_CENTER", type: "esriFieldTypeString" }, { name: "Site_Name", type: "esriFieldTypeString" }, { name: "Site_COST_CENTER", type: "esriFieldTypeString" } ] // List of output features var features = [] // Intersect parcels with sites and build output table for (var parcel in parcels) { for (var site in sites) { if (Intersects(parcel, site)) { Push(features, { attributes: { Parcel_Name: parcel["Name"], Calculated_Area: parcel["CalculatedArea"], Parcel_COST_CENTER: parcel["COST_CENTER"], Site_Name: site["Name"], Site_COST_CENTER: site["COST_CENTER"] } }) } } } // Return result (dictionary structure — required by Dashboards) return { fields: fields, geometryType: "", features: features }
... View more
06-30-2025
01:46 PM
|
0
|
11
|
685
|
POST
|
Could someone explain how my organization is supposed to enable 'Spatial Analysis' tools for a Apps within the Portal? My user type is 'GIS Professional Advanced.' When I add data to a 'Map Viewer' viewer app I do not see the 'Analysis' icon.
... View more
10-24-2024
06:14 AM
|
0
|
1
|
323
|
POST
|
@DanPatterson thank you for the reply. The polygons did come from a raster conversion, they are two different land cover types, specifically the edges of each land cover. I am only interested in the areas where those to edges converge. The remaining polygons (edges) I want to delete. Do you know of a simple way to do this?
... View more
02-16-2024
07:17 AM
|
0
|
0
|
1281
|
POST
|
The yellow lines present where the purple and blue touch each other. I want to remove all the polygons where the do NOT touch. Does anyone know which GP tool(s) I would use to do this? Thank you!
... View more
02-16-2024
07:03 AM
|
0
|
4
|
1330
|
POST
|
Hello All, I am working on project to identify where different landscape edges meet. For example, where do urban areas, touch or converge with agriculture or where does wetland landscapes, meet urban areas. I have already extract the different landscapes but I need to identify the proper method and/or tool to conduct this analysis. Thank
... View more
01-24-2024
09:45 AM
|
0
|
1
|
566
|
POST
|
I tried this yesterday and it did not make a difference.
... View more
01-10-2024
10:45 AM
|
0
|
1
|
2788
|
POST
|
No I am not using any effects. They are very "basic" layouts. What is strange is that the symbology changes are not seen on everyone's machine.
... View more
01-10-2024
10:02 AM
|
0
|
0
|
2803
|
POST
|
Aubri, Thank you for replying. I have attached the export settings I am using.
... View more
01-10-2024
06:59 AM
|
0
|
3
|
2856
|
Title | Kudos | Posted |
---|---|---|
1 | 09-10-2021 10:51 AM | |
2 | 10-20-2022 07:22 AM | |
1 | 02-06-2023 02:23 PM | |
1 | 03-18-2019 12:51 PM | |
5 | 12-16-2022 07:47 AM |
Online Status |
Offline
|
Date Last Visited |
07-09-2025
09:28 AM
|