|
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
|
2433
|
|
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
|
2437
|
|
POST
|
var portal = Portal("https://some.portal.college.edu/portal")
var itemId = "4b1aefe40a8847bab37217a36688dfbf"
... View more
07-01-2025
06:53 AM
|
0
|
1
|
2439
|
|
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
|
3072
|
|
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
|
754
|
|
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
|
2419
|
|
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
|
2468
|
|
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
|
957
|
|
POST
|
I tried this yesterday and it did not make a difference.
... View more
01-10-2024
10:45 AM
|
0
|
1
|
7199
|
|
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
|
7214
|
|
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
|
7267
|
|
POST
|
Hello, Our organization is experiencing an issue when exporting layouts form Pro to a PDF. In some case the text color will change to black. Other times a symbol will change. Does anyone have any suggestions on how to resolve this issue. I am currently using ArcGIS Pro version 3.2.
... View more
01-09-2024
01:56 PM
|
0
|
7
|
7418
|
|
POST
|
Hello All, I have recently noticed that using the 'Split' command in version 3.0.x is causing historic lines when the 'Record' is active. This was not the case in version 2.9.x, is this a new update or a possible bug? For reference, which commands and/or tools are supposed to create historic lines (beside 'Set Historic' command)? Thank you, Chad
... View more
04-25-2023
06:32 AM
|
0
|
0
|
814
|
|
POST
|
Hello All, Is there a limit and/or threshold to the number of parcels (Created Parcel Count) that can be created from a particular 'Record?' In our organization we have 17 'Records' were the 'Created Parcel Count' > '100.' We two 'Records' were the 'Created Parcel Count' > '700.' For the latter two, I have noticed some odd behavior. 1. After shrinking the parcel to seed, I have noticed extended build times ('Build Active'). Builds can last up to and past 5 minutes. This is contrary to normal build times which are usually just a few seconds. 2. A subdivision 'Record' with a 'Created ParceI Count' = 1324. I can shrink a parcel (a lot) but it will not allow me to 'Build' the parcel (lot). Instead I receive the attached message (first attachment). I tried using the GP tool but the parcel still does not build successfully. However, if I try first try 'Build Extent' I will receive the same error message but a slightly different GP tool appears (see 2nd attachment) when clicking 'Yes.' This slightly different variation allows me to successfully 'Build' the parcel (lot). 3. Another scenario for a 'Record' that has a 'Created Parcel Count' = 739. There is one very large, multi-part that I can shrink but it will not 'Build' using the command or the GP tool. I tried exploding the parcel and then rebuilding but that still failed. The only solution I was able to do for this parcel was to create a new 'Record' assign all the features (lines, polygons), shrink the parcel, and then build. Do my comments above seem like normal behavior? Any comments and/or advice would be appreciated! Thank you! I am using ArcPro Version 3.0.1 and Enterprise 10.9.1.
... View more
02-06-2023
02:23 PM
|
1
|
1
|
2055
|
|
IDEA
|
A method to easily identify "orphan points" (i.e. points not covered by a line). Original discussion of this ide can be found at the link below. https://community.esri.com/t5/arcgis-parcel-fabric-questions/select-points-that-are-not-covered-by-lines/m-p/1148718#M602 Thank you!
... View more
12-16-2022
07:47 AM
|
5
|
4
|
1934
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 4 weeks ago | |
| 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 |
| Online Status |
Offline
|
| Date Last Visited |
a week ago
|