|
POST
|
I would like to create an expression using Arcade for symbology purposes. I have one layer with six fields, each listing a distance that the feature is from that type of infrastructure. For example, one polygon's six fields tell me it's 100 feet to the nearest railroad, 150 feet to the nearest primary road, 175 feet to the nearest secondary road, 200 feet to the nearest local road, 225 feet to the nearest other type of road, and 250 feet to the nearest trail. I would like to identify the closest infrastructure type to a feature. I have no problem getting the nearest value; I just use the Min() function. However, I can't get the field name that the value comes from. I'd like to be able to symbolize the features with 6 different colors depending on what infrastructure type is the nearest. Any assistance is appreciated.
... View more
08-20-2024
11:36 AM
|
0
|
4
|
2285
|
|
POST
|
When is the next release planned? I'm not sure how to republish with the field/OBJECTID values--my imagery layers are in COG form. If you have any guidance on that, I'd be appreciative.
... View more
08-16-2024
05:05 AM
|
1
|
1
|
2982
|
|
POST
|
Thanks for the response, @TonghuiMing. My layers show the same as above: there isn't an ObjectID field or other Fields and the Max Record Count is <null>. However, I have the same comment as @DavidColey : these pop-ups WERE working just a couple of weeks ago. I need this capability. What is a solution?
... View more
08-14-2024
05:55 AM
|
1
|
1
|
3018
|
|
POST
|
I have an Experience in which I have a text and sidebar widget. The text widget is just for the title. The sidebar widget has the map in the main screen and a collapsible table that is at the bottom. I have recreated my app using ExB from a Web AppBuilder app. It had been working correctly. The web map contains many layers with pop-ups enabled. It works correctly in the web map. However, when I open my ExB, my hosted image services pop-ups do not display. These image services are stored on our Microsoft Azure Storage Explorer (as a COG) then shared as a web layer to our Portal. In Portal, the image service is shared with Everyone. Then, this service URL is copied and added to ArcGIS Online by "adding a new item by URL." In my ExB app, I can turn on the image service layers and they appear in the map. If I click on the map, if there are any other layers visible, a pop-up appears. If no other layers lay on top of the image service layer, no pop-up appears. For example, I have a hosted vector layer lying on top of a hosted image layer. The pop-up appears and it shows the data for the vector layer and it states that there are two pop-ups to see. But when I click the arrow to move to the second pop-up, the whole pop-up window disappears. If I turn off the vector layer so only the image layer is displayed, no pop-up appears at all. I can't share the map/app publicly as it has sensitive information.
... View more
08-08-2024
09:03 AM
|
3
|
27
|
6148
|
|
POST
|
I'm having a similar issue. This was working previously. See the screenshots below. In the live version there are a couple of duplicate categories, even though this is built using a field that uses domains. Two of the categories are showing as the "All other series" color (grey) but labeled the exact same as with the correct color (Construction Planned/In-Process and Survey Planned/In-Process). So, I went into check this out and edit the Dashboard (but before I click "Configure" the chart). There, the chart looks completely different. After I start configuring the chart, it looks the same as the live view. Also while testing different things out (e.g. removing chart and re-adding), sometimes all three charts looked completely different. Live view: Dashboard Edit view: Configure view: @Stephanie_F
... View more
07-03-2024
11:33 AM
|
0
|
0
|
833
|
|
POST
|
I had to work with Esri to get this situated. I've included a screenshot of the Power Automate workflow. In "Parse JSON," in "Content" I had to put the Current item from the "For each 3" step and under "Schema," I had to paste the following: {
"type": "object",
"properties": {
"attributes": {
"type": "object",
"properties": {}
},
"geometry": {
"type": "object",
"properties": {}
},
"changeType": {
"type": "string"
}
}
} Then, in the "Create a record in a feature layer" step, under "Geometry," open the "Insert function" box and then click on the Dynamic content tab in that box. This will give the option to choose and add "Body geometry" from Parse JSON. I think that should make it work.
... View more
05-16-2024
11:45 AM
|
0
|
1
|
4966
|
|
POST
|
I'm having a similar issue, too. I have a hosted polygon feature layer that I'd like to have points visible at small scales, and then when a user zooms in, the points disappear and the polygon appears. To do this, I have filtered the hosted feature layer to display a subset of the layer. I added a field that's populated with '0' so I can display the features using the "Color and Size" symbology, which makes the polygon layer look like a point. Then, I've added the layer again to the map and customized the polygon symbology. I then adjusted both layers' extents to turn off and on at certain scales. The layer that's being displayed as a point shows some points and then when I zoom in and out some appear and some disappear. Seemingly random. I've tried downloading the hosted feature class and checking geometry and there are no errors. I've rebuilt the cache and optimized layer drawing but to no avail. Any suggestions on what to do next would be appreciated. Unfortunately, the data are sensitive so they can't be shared publicly.
... View more
05-16-2024
06:56 AM
|
0
|
1
|
3549
|
|
POST
|
No, I saw that one, but this specific issue is not to do with position anchors or call outs; it assigns a negative vertical offset when there wasn't one. Furthermore, the vertical offsets are different for different elements; the legend offset is -1 and other text boxes are -2 and -3. But, to your point, I did notice, too, that position anchors aren't consistent between elements, even though they were before. They are showing in one of the 8 spots they are supposed to be (that is, not just anywhere along the border, as in the bug you referenced), but each element is random on which of the 8 is actually chosen/set.
... View more
05-03-2024
08:01 AM
|
0
|
0
|
1176
|
|
POST
|
My organization just recently upgraded to ArcPro 3.2.2 and now all of my existing projects that include layouts, as well as my saved layouts, have vertical offsets applied. The map elements that are affected are rectangle text boxes (those texts that have a bounding box) and legends. It seems as there was a bug that was fixed in 3.2 with regards to offset, but I wasn't having that issue before (BUG-000138577). Anyone else have the same issue? Any fixes? Manually fixing all these maps would be tedious at the best.
... View more
05-03-2024
06:38 AM
|
0
|
2
|
1227
|
|
POST
|
@VivianPham, I think there may be some type of bug going on here. I found another post from a user that was having similar issues. The Fed UC is this week so it's likely Esri employees are pretty busy and haven't had time to respond. Hopefully something can get figured out!
... View more
02-15-2024
11:45 AM
|
0
|
0
|
3277
|
|
POST
|
@AnthonyLatini : any updates on this issue? I think I'm running into the same thing.
... View more
02-01-2024
07:12 AM
|
0
|
0
|
1403
|
|
POST
|
Following up on this with an update: I found some documentation about the Geometry attribute and found out to find this attribute you have to type in "geometry" in the search bar in the Dynamic content window. After trial and error, I found a flow that partially worked: using the trigger "When a record is updated in a feature layer," run the "Get data from feature layer action." After that, run the "Fetch updates, changes, or deletions from feature layer" action and then run the "Create a record in a feature layer" action. The geometry gets written to the feature layer however it creates a polygon for each record in the original feature layer (not just the updated one) and the attributes are incorrect (the attribute is populated with the same value across each record, even those that are different). I have gotten just one record to be written (with the correct attribute) but in that flow there is no geometry associated with the record.
... View more
01-29-2024
11:07 AM
|
0
|
0
|
3362
|
|
POST
|
Oooh, success! After looking at your expression, I modified mine a bit to remove the duplicate lines (e.g. I didn't need to run the FeatureSetByPortalItem twice) and to check if the Secondary Contact existed before I did all of the Secondary Contact information gathering. It worked! I copied my expression here just in case it will help someone else. Appreciate your input! var primPhone = $feature.prim_phone
var secPhone = $feature.sec_phone
var fs = FeatureSetByPortalItem(Portal(Removed for Privacy), 'Removed for Privacy',
0, ['contact_name', 'contact_address1', 'contact_address2', 'contact_city', 'contact_state',
'contact_zip', 'contact_phone', 'contact_email'], false )
var primPhoneID = First(Filter(fs, 'contact_phone=@primPhone'))
var primPhoneConcat = Concatenate("Primary Contact Name:" + TextFormatting.NewLine + primPhoneID.contact_name + " (" + Proper($feature.prim_contact_type) + ")" + TextFormatting.NewLine +
primPhoneID.contact_address1 + (IIf(IsEmpty(primPhoneID.contact_address2), '', TextFormatting.NewLine + primPhoneID.contact_address2)) + TextFormatting.NewLine + primPhoneID.contact_city +
", " + primPhoneID.contact_state + " " + primPhoneID.contact_zip + TextFormatting.NewLine + primPhoneID.contact_phone + TextFormatting.NewLine + primPhoneID.contact_email)
if(secPhone==null) {return primPhoneConcat}
var secPhoneID = First(Filter(fs, 'contact_phone=@secPhone'))
var secPhoneConcat = ("Secondary Contact Name:" + TextFormatting.NewLine + secPhoneID.contact_name + " (" + Proper($feature.sec_contact_type) + ")" + TextFormatting.NewLine +
secPhoneID.contact_address1 + (IIf(IsEmpty(secPhoneID.contact_address2), '', TextFormatting.NewLine + secPhoneID.contact_address2)) + TextFormatting.NewLine + secPhoneID.contact_city +
", " + secPhoneID.contact_state + " " + secPhoneID.contact_zip + TextFormatting.NewLine + secPhoneID.contact_phone + TextFormatting.NewLine + secPhoneID.contact_email)
return primPhoneConcat + TextFormatting.NewLine + TextFormatting.NewLine + secPhoneConcat
... View more
01-25-2024
11:29 AM
|
0
|
0
|
2816
|
|
POST
|
All, I am using Power Automate to help automate a portion of a project's workflow. Unfortunately, I'm running into issues and my Flow is failing. Here's the goal: user updates an attribute in an ArcOnline hosted feature layer. When that attribute is changed to a certain value, we need that feature (polygon and some attributes) to be copied to another hosted feature layer. I've attached screenshots of my current Flow, but am having issues with getting the polygon to be copied. I can get the attributes copied: what happens is a attributed record is created but there is no geometry associated with it. I think it all has to do with the "Geometry" attribute in the "Create a record in a feature layer," but I can't figure out what to put there. I've tried all kinds of combinations. What am I doing wrong? Just a note, too: I haven't added the condition portion of the Flow yet that identifies the attribute and value that should trigger the copying of the record (I want to get the geometry copying portion to work first!). @SeanKMcGinnis @AnthonyLatini
... View more
01-25-2024
10:50 AM
|
1
|
3
|
3496
|
| Title | Kudos | Posted |
|---|---|---|
| 2 | 03-03-2026 12:15 PM | |
| 1 | 02-23-2026 11:59 AM | |
| 1 | 02-06-2026 05:48 AM | |
| 1 | 02-04-2026 07:38 AM | |
| 1 | 02-04-2025 05:12 AM |
| Online Status |
Offline
|
| Date Last Visited |
yesterday
|