POST
|
Thank you! I had been searching for where the map's itemID was but just couldn't locate it. In retrospect, I suppose I could have used ctrl+f to and searched for the map's item id...
... View more
11-19-2020
02:46 PM
|
0
|
0
|
319
|
POST
|
I needed to make changes to the JSON of an existing web map that is part of a web app. Before replacing it, I want to test the JSON changes on a new web map. The new web map is a near duplicate the replacement--including its data sources, published services, and the layer ID. The main difference is in the itemIDs it uses to reference several feature layers. The Web App uses a lot of configured widgets including different Searches, Group Layers, and the eSearch widget. I don't want to have to re-do any of those. Is there an easy location within the Web App's JSON I can change to point to the new web map instead?
... View more
11-19-2020
02:38 PM
|
0
|
2
|
335
|
POST
|
Hello Martin, Are there ESRI support articles on those bugs? I couldn't locate them on the support page.
... View more
10-01-2020
08:47 AM
|
0
|
0
|
294
|
POST
|
Thank you for the help! I don't believe there is a good way to filter the polygons. The fields are identical for all overlapping polygons (they directly overlap and are essentially duplicates) except for two fields: The name of an attachment and a URL to that attachment. I'm not sure why this is the setup, and have no authority on making changes to the process so changes to the polygon data is unfortunately not possible. Since all the fields but for two are identical, I don't care which polygon shows the popup. I'd like to basically have it so instead of 2+ popups, I can have one popup and that popup will create a list of all the Attachment names + attachment URL in a single popup. I used $feature and $layer as you noted, and was able to produce an ugly and disorganized list (really wish I could output HTML in the arcade expressions on Portal..) It works and I end up with the below, but the main problem is I still have the 2+ popups showing up for every single polygon. Is there a way to have another expression or add to this expression a way to grab the first instance of Intersects and output only that one? var int = Intersects($layer, $feature); var cnt = Count(int); var result = ""; if (cnt > 0) { for (var i in int) { var attach = i.WorkOrdersMonthly_DOCUMENT_ + ":" + i.WorkOrdersMonthly_URLNAME; result += TextFormatting.NewLine + attach; } } else { result = "No Layers"; } return result
... View more
09-29-2020
07:21 AM
|
1
|
1
|
92
|
POST
|
I have had no problem following the very informative blog posts and GeoNet threads on using Arcade expressions to show information from multiple overlapping layers in a single popup. However, I have a tangentially related issue that I couldn't figure out how to do using FeatureSets and Intersects in Arcade. I have a layer with multiple overlapping polygons. There are basically 2-11 duplicate polygons for each area. For various reasons due to back infrastructure and reasons I don't understand, we can't condense these into a single polygon with multiple attribute fields. I would like to have the popup for each of these show only a single time while showing a single selected field from each of the other overlapping features. However, I'm not sure how to do this or if it can even be done. So I suppose: 1) Is it possible to reference overlapping polygons within a single feature layer in a single popup? 2) And where would I start using Arcade to do that?
... View more
09-29-2020
06:04 AM
|
0
|
3
|
141
|
POST
|
There are other features with subtypes on the layer that aren't giving the same error, so I don't think so. I'm not 100% positive though.
... View more
09-25-2020
06:17 AM
|
0
|
0
|
294
|
POST
|
Hello Jonah, Unfortunately, it does not. The symbology uses a custom arcade expression (which published with no errors in Pro 2.5 and still has a feature layer referencing the existing published service). The expression takes values from two fields and creates a third, non-field based field upon which the symbology is then based. The code looks like a longer version of this: var size = $feature.PIPEDIAMETERDBL; var pressure = $feature.OPERATINGPRESSURE; var result = 'Unknown'; if (pressure == 'LP') { if (size < 😎 { result = 'Low Pressure, Under 8"'; } else if (size <= 12) { result = 'Low Pressure, 8-12"'; } else { result = 'Low Pressure, 14"+'; } Thus, the end result is values like "Low Pressure, 14"+" in the symbology list.
... View more
09-18-2020
05:20 AM
|
0
|
2
|
294
|
POST
|
I have a layer with a custom expression of nested arcade If statements. This expression worked prior to updating ArcGIS Pro to 2.6.1 and still works in Pro itself now. However, where before I had no issue with publishing the layer to Portal, now I receive an Error 00334 stating that the symbology is referencing a subtype and the values must be included in the subtype field to enable feature access. This wasn't an issue in the version prior to 2.6 (2.5.X?) but is now. I'm assuming its a bug but am hoping there's a work around. Additionally, another layer on the same map does NOT show any errors when publishing. However, when published it is not on the feature layer. It is present on the published map image layer, but not the feature layer. It does have errors on ArcGIS Server Manager, however. On manager, the layer states that there was an error while initializing types for the layer. It states "Error while initializing Type for unique value: 10 label: Vent Valve for layer: Name of Layer." And it has multiple of those, replacing Vent Valve with each other label on the layer. Does anyone have suggestions for fixing these issues?
... View more
09-17-2020
06:15 AM
|
2
|
8
|
475
|
POST
|
That would explain it! No, the current Pro version is 2.5.2. I'll look into having it updated.
... View more
09-08-2020
08:27 AM
|
0
|
0
|
123
|
POST
|
Confusingly enough, there is (1) no error code, just a "Failed to share, the stylex file is empty or does not contain valid symbols" in red at the bottom and (2) no option to Analyze in the Share As Web Style tool. There also isn't a way to select what type of features are in the style (2d, 3d, dictionary). The style was created by just saving existing symbols from the symbology tab. There are only 2D Point symbols in the style. I went through them in the Catalog/Properties tab to verify and look for any weird inconsistencies. I couldn't find any. In the Error link you provided, the option for 2D says to click New Item to add a supported 2D style. That isn't an available option. Add and Import are both greyed out while New is possible. Do you have any ideas on why the existing symbols could be considered invalid, or why Add item isn't an available option? Thanks!
... View more
09-08-2020
07:28 AM
|
0
|
2
|
123
|
Online Status |
Offline
|
Date Last Visited |
01-07-2021
02:41 PM
|