IDEA
|
I discovered that the Web Editor template (Instant Apps) doesn't allow for normal pop-ups. Apparently, users can access a pop-up via multiple clicks and interacting with the Selection pane, as described in the solution in this post, but I feel like that's an unreasonable way to access a pop-up. I think the whole point of pop-ups is to show information in a quick, easy, intuitive way, and the current pop-up situation is none of those things. Can you please change the Web Editor template to allow pop-ups when simply clicking on a feature on the map? For context, my use case is an app where users share adventures they've been on. They can edit in order to create a new feature about their adventure. A large purpose of the app is to browse other people's adventures, too, so this is why pop-ups are essential.
... View more
Tuesday
|
0
|
0
|
83
|
POST
|
Thank you very much. That's good to know how a user can access a popup. That's too complicated to make users do that, for my purposes, so I guess I will have to use Experience Builder instead.
... View more
Tuesday
|
0
|
0
|
86
|
POST
|
I just went through a lot of work to configure an Instant App using the "Web Editor" template, but I discovered that pop-ups are not working in the app. I enabled and configured pop-ups in the Map Viewer, and they work there. I re-saved the map and re-published and re-launched my app. But still no pop-ups - I click on a point and nothing happens. Does anyone know what is going on with this? Are pop-ups somehow not allowed in this template?!
... View more
Tuesday
|
0
|
2
|
131
|
POST
|
Thank you so much for sharing this! I had tried a couple different google searches on this topic, and I searched Esri Community, but I never found info about this bug. Thanks.
... View more
2 weeks ago
|
0
|
0
|
164
|
POST
|
I'm having a weird problem with labels in ArcGIS Online map viewer. I published a map service from ArcGIS Pro to our standalone ArcGIS Server. Then a web map in ArcGIS Online contains layers from the map service. I configured the layers' labels in Pro (Pro version 3.3). I used a Python expression for the labels: Many months ago when I first published the service, the labels worked fine in ArcGIS Online. But I happened to discover today that now the labels show up in Map Viewer as the literal text contained my Python expression, but with the "+" replaced by the word "CONCAT". Label should be: District 1 Label shows up as: "District" CONCAT 1 Why??? Any ideas of what to do about this? I would really prefer to configure labels in Pro rather than the AGOL Map Viewer, so that I don't risk labels getting wiped out when I republish the map service. Thanks for reading!
... View more
2 weeks ago
|
0
|
2
|
279
|
POST
|
I think I fixed it! I was comparing the contents of C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3, on the broken machine vs. a machine where arcpy works. I then noticed two files that were created today on the broken one, but do not exist on the good one. I deleted the files, then ran my script, and I didn't get the error! The 2 files I deleted were: .gitignore and pyvenv.cfg I also deleted the PyCharm project I had created earlier.
... View more
08-05-2025
12:29 PM
|
1
|
0
|
365
|
POST
|
I seem to have broken arcpy by setting up an "environment" in a certain way in PyCharm. Can anyone help me fix this, without having to uninstall and reinstall ArcGIS Pro? (Reinstalling would mean I'd have to re-do a bunch of other settings on this machine.) I know this documentation exists about setting up PyCharm for Pro, but I failed to double-check it today. PyCharm Setup for ArcGIS Desktop - Esri Community Instead of setting up an "existing environment" like the documentation says to, I chose "new environment," with "location" of C:\Program Files\ArcGIS\Pro\bin\Python\envs\argispro-py3 - apparently this was bad. For "interpreter," I selected the python.exe from that arcgispro-py3 folder. Now when I run a script that worked perfectly on a different machine, I get error "No module named 'arcpy'". When I double-click "C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\python.exe" in File Explorer and then type "import arcpy," I also get the same error. Any ideas?
... View more
08-05-2025
12:10 PM
|
0
|
5
|
388
|
POST
|
Thank you! I changed my code to simply "if not row[...]:" and it works. Thanks for the reminder about this possibility.
... View more
05-29-2025
09:05 AM
|
1
|
0
|
1425
|
POST
|
Hello, I am adding something to a script I wrote a few years ago, and in the process, I happened to notice some logic in the script that I would think is wrong, yet it works as desired. This is breaking my brain! While it is apparently not an actual problem, I would love some help in understanding it. (I can't recall why I wrote it this way a few years ago, so my memory is no help here.) This part of the script uses an arcpy update cursor to populate certain fields in a feature class, depending on what the existing values are. If the State field is Null OR an empty string, it is supposed to be populated with "CA". In other words, all records should have "CA" in this State field. The script is supposed to ONLY edit records that really need editing, which is why I'm using criteria to pick which records get edited, rather than just doing a field calculation on the entire feature class. However, the code is saying "if it is Null AND it is NOT an empty string, then make it CA." I don't get it. I would think that only Nulls would be picked... or maybe nothing at all. But the script does correctly populate the field with "CA" if there was an empty string there. I don't understand how this is possible. Any thoughts??? Here is the code: # If State is blank or null, make it "CA"
if row[field_index_dict.get("State")] is None and row[field_index_dict.get("State")] != '':
row[field_index_dict.get("State")] = "CA"
field_uc.updateRow(row) Thank you for reading!
... View more
05-23-2025
12:06 PM
|
0
|
9
|
1700
|
POST
|
If anyone from Esri is reading this... I am curious whether the behavior I described above is a bug (where the URL of my "copy" of the routing service changes back to the generic URL (https://route.arcgis.com/arcgis/rest/services/World/Route/NAServer/Route_World) after I go into the content item's settings, but then when I close and re-open the Item Details, the URL is back to a unique one that points only to my specific content item rather than Esri's source (https://utility.arcgis.com/usrsvcs/servers/ [unique string here]/rest/services/World/Route/NAServer/Route_World) Is this a bug? Thank you!
... View more
05-08-2025
03:21 PM
|
0
|
0
|
640
|
POST
|
Thank you so much for your reply! I did actually create my item using the exact same steps you describe. When I reopened my routing item in AGOL just now, I saw that its URL was different than earlier today. the URL has the pattern you mentioned, so I'm hoping it'll work now! Something very weird is that when I went into the item's settings (via Item Details page) and tweaked something unrelated, then went back to the item's Overview, the URL went back to what I described in my original post! No!! But then I closed and reopened the item's Item Details page. Then the URL was back to the utility.arcgis.com pattern. What the heck? Anyway, I'm glad that I now have access to that correct URL, and I have learned to close and reopen the item to get it.
... View more
05-01-2025
05:03 PM
|
0
|
1
|
665
|
POST
|
Hmm, I just discovered something: When I hit the "copy" button by my content item's URL on the Item Details page, I get this URL, the standard URL for the world routing service, as I said in my original post: https://route.arcgis.com/arcgis/rest/services/World/Route/NAServer/Route_World However, when I right-click on the "View" button by the URL and then choose "copy link address," the URL I obtain includes a token. So... is THIS the URL I am supposed to use in my third-party app? I don't know anything about tokens; can this one token be used by the app forever, as opposed to needing a new token each time someone uses the app?
... View more
05-01-2025
11:09 AM
|
0
|
0
|
701
|
POST
|
I am trying to follow Esri documentation and create an "item" in ArcGIS Online consisting of the ArcGIS World Routing Service, so that I can have some control over the service's use: I have stored credentials for a particular user and limited the credits the service can use. This is all described in this documentation written by @ScottSandusky ; unfortunately it is from 11 years ago: https://www.esri.com/arcgis-blog/products/arcgis-online/transportation/public-access-to-arcgis-online-routing-and-traffic-services I want to use my AGOL "item" (the world routing service) in a third-party web app, used by staff in my organization for routing. So I need to figure out the URL I should use in this application to connect to my AGOL "item." My question is: The above documentation says to use the URL labeled as "ArcGIS Web API REST Connection," which is shown on the item's Item Details page. The problem is that since this documentation is from 11 years ago, much has changed in AGOL, and I do not see anything like that now. There is the item URL at the bottom of the Item Details page, but it is simply the standard, generic URL for the world routing service (see screenshot below). I am afraid that if I use this URL in my app, the app will use the routing service from the source, and it will have zero connection to my AGOL "item" and therefore not pay attention to the credit usage limit I have set for the routing service. Do you know what I mean? Like, I would think that my AGOL item for the routing service would have a unique URL that would tell the app to use my specific connection to the routing service (like a URL that includes a string of random letters and numbers, like all other items I create in AGOL), but this appears to not be the case. In other words, isn't it pointless to create this Routing Service item in AGOL if my third-party app will have to just use the standard routing service URL (https://route.arcgis.com/arcgis/rest/services/World/Route/NAServer/Route_World), which presumably leads the app to NOT connect to my AGOL item where I have configured credit limits? Scott Sandusky, would you be able to provide any insight? thank you for reading!! My AGOL item's URL:
... View more
05-01-2025
11:02 AM
|
0
|
5
|
705
|
POST
|
Starting with ArcGIS Pro version 3.2, there's the new option, "Add Spatial Join," rather than just "spatial join." "Add Spatial Join" allows you to temporarily join (like how "join by attributes" is temporary). You can remove the join after you're done with field calculations or whatever. So it does not produce a new feature class. https://pro.arcgis.com/en/pro-app/latest/tool-reference/data-management/add-spatial-join.htm#
... View more
04-28-2025
11:23 AM
|
0
|
0
|
1365
|
Title | Kudos | Posted |
---|---|---|
1 | 08-05-2025 12:29 PM | |
1 | 05-07-2024 12:37 PM | |
1 | 05-29-2025 09:05 AM | |
1 | 01-23-2025 01:26 PM | |
1 | 01-23-2025 12:23 PM |
Online Status |
Offline
|
Date Last Visited |
Tuesday
|