POST
|
Didn't work.. AttributeError: module 'arcpy.management' has no attribute 'UpdateLayer'
... View more
a month ago
|
0
|
1
|
182
|
POST
|
I have 40 layers with the same table schema and I need to apply symbology and table settings from another layer. I have a template layer and applying symbology works as expected. Is it possible to apply fields visibility and formats as well? I can see pasteProperties (source_layer, {layer_paste_properties}) method but when applying in on a layer object I get the following error: AttributeError: 'Layer' object has no attribute 'pasteProperties' L = map.addDataFromPath(r"..\Address.lyrx") for lyr in map.listLayers(): print(lyr.name) lyr.pasteProperties(L, layer_paste_properties="FIELD_PROPERTIES") Thanks,
... View more
a month ago
|
0
|
5
|
263
|
POST
|
I need to set up the extent and scale for publishing the map so anytime I add the map service to a web map the content is already in place. Is there a better approach for that? I will execute the py script from the command line later on without opening ArcGIS Pro
... View more
08-04-2025
06:52 AM
|
0
|
0
|
498
|
POST
|
Thanks. I still do not get it. I do not have any layouts, just a simple map frame. I get an empty list: lyt = aprx.listLayouts()
... View more
08-04-2025
05:43 AM
|
0
|
1
|
511
|
POST
|
Hi, it should be pretty simple, I know but I'm stuck. I have one layer, I grab the extent of it and set the defaultCamera extent based on that value. This is my "pan to layer". Now I need to zoom in to a, let's say, 1:1000 scale. How can I do that?
... View more
08-04-2025
04:42 AM
|
0
|
7
|
544
|
POST
|
I have a url which selects the feature. I can see that selection on the map but adding "zoom_to_selection=true" does not zoom but pans the map. here an example: experience/?id=9077fb48ea4f4e13b9892859e384c753#data_s=id%3AdataSource_5-194cb6decdc-layer-1-57%3A323&zoom_to_selection=true What am I doing wrong?
... View more
04-23-2025
06:56 AM
|
0
|
2
|
394
|
POST
|
Laura, I have found what I was doing wrong: I thought my two envs host the same map service sets but unfortunately layers IDs were different which caused popus not working properly. Thanks!
... View more
04-03-2025
04:31 AM
|
0
|
0
|
397
|
POST
|
I also need to change the source and some other things which in my organisation we do by scripts. Web Map is actually some sort of configuration saved in json file. Why the popup conf is not stored there?
... View more
03-13-2025
02:54 AM
|
0
|
1
|
530
|
POST
|
I made a copy of a web map with a detailed popup configuration. Output map has not pop-ups enabled and after turning them on the content goes back to default (all fields, no aliases etc.) Is this expected behavior?
... View more
03-11-2025
10:48 AM
|
0
|
6
|
594
|
POST
|
I have a map with more than 60 layers and I want to duplicate the map many times using arcpy. I use aprx.createMap() to create an empty map and .addLayer to add layers in the loop from the "template" map. The thing is that the order of layers in the resulting map is different than in the template one. I monitor the process with prints, the iteration of adding the layers looks fine but the output is different. How to do it properly so that order of layers is identical? Thanks, B
... View more
01-28-2025
11:32 AM
|
0
|
3
|
805
|
POST
|
Solved. Map viewer "Search tool" should be used instead of "Search" widget configured with ArcGIS Online Geocoding service..
... View more
11-20-2024
09:22 AM
|
0
|
0
|
287
|
POST
|
Hi, I need to clearly show my end users, a simple dot will do, a result of geocoding search. "Pan to" trigger/action is not enough. How to mark a location of a geocoding search result on the map?
... View more
11-20-2024
08:03 AM
|
0
|
1
|
304
|
Title | Kudos | Posted |
---|---|---|
1 | 08-04-2025 08:40 AM | |
1 | 09-15-2023 02:28 AM | |
1 | 07-04-2023 06:33 AM |
Online Status |
Offline
|
Date Last Visited |
a month ago
|