|
POST
|
I've found documentation on silent installs for Desktop and Pro. Is it possible to do a silent install on ArcReader? I'm thinking that the fact that I can't find it is a good indicator that it does not exist...
... View more
02-08-2019
08:39 AM
|
0
|
2
|
2270
|
|
POST
|
My follow up question to this: for my web apps that are designed for viewing only, I like to publish all of the layers for that app in one service and then add that whole service to the base map. Right now, each web app has its own separate ArcMap mxd. I assume that it is possible to have a Pro project with multiple maps and then publish each map as a separate service. BUT -- is this advisable? (Or a best practice, if you prefer.) If combined, I would have one project with 15+ maps in it. Would there be performance issues with doing that? Edited to add: I was under the assumption that Pro could publish web services to Online or Portal. Evidently, that is not the case? I either have to publish a web layer or a web map? (I saw the ArcGIS Idea that asked Pro to have the ability to publish services to Server, and that Esri is hoping to have it available in Pro version 2.4.)
... View more
01-31-2019
01:04 PM
|
0
|
1
|
887
|
|
POST
|
Well, this is very frustrating! Refresh does not do what the ArcGIS documentation on Map Series for Pro says it should do. Even if I click the Refresh button in the ribbon, the dynamic labels update, but the map does not update its extent to the location specified by the index layer's updated definition query. I get the same results with the Python code. And, as you point out, Stephen, arcpy.mp doesn't have a zoom to selected features option. I tried zoomToAllLayers(), but it did exactly that -- zoomed to the full extent of every layer in the map. Does anyone know how to look up bug reports to see if anyone has reported this to Esri?
... View more
01-24-2019
01:38 PM
|
0
|
0
|
3655
|
|
POST
|
That worked! Well, OK, it refreshed the dynamic text that I had on the page, but it did not refresh the map's extent to go to the new PIN. Maybe that's a bug?
... View more
01-23-2019
02:34 PM
|
0
|
2
|
3655
|
|
POST
|
Once the script is completely rewritten, the user will input a PIN number for the parcel being mapped. When that PIN number changes, it will meet the criteria for using the refresh method. I just can't figure out how to tell it to refresh.
... View more
01-23-2019
02:04 PM
|
0
|
0
|
3655
|
|
POST
|
I'm rewriting a Python 2.x script so that it can be used in Pro. I am struggling to figure out the syntax for refreshing a map series in Python. I found this page: MapSeries—ArcPy | ArcGIS Desktop, and I know there is a refresh() method, but I cannot figure out how to use it. I tried lyt = aprx.listLayouts("AgLayout")[0]
for lyr in m.listLayers("Parcel*"):
lyr.definitionQuery = "JOINPIN = '201-02-0-00-00-012.03-0'"
lyt.refresh() Line 6 throws an error that says "AttributeError: 'Layout' object has no attribute 'refresh'
... View more
01-23-2019
01:35 PM
|
0
|
6
|
4029
|
|
POST
|
Of all things, it appears that I just needed an asterisk after my layer name to make it work: aprx = arcpy.mp.ArcGISProject("CURRENT")
m = aprx.listMaps("agmap")[0]
for lyr in m.listLayers("Parcel*"):
lyr.definitionQuery = "JOINPIN = '201-02-0-00-00-012.01-0'"
... View more
01-18-2019
02:14 PM
|
1
|
0
|
10636
|
|
POST
|
Good tip, thanks. Let's try this: aprx = arcpy.mp.ArcGISProject("CURRENT")
m = aprx.listMaps("Map")[0]
for lyr in m.listLayers("Parcel"):
if lyr.supports("DEFINITIONQUERY"):
lyr.definitionQuery = "JOINPIN = '201-02-0-00-00-012.01-0'"
... View more
01-18-2019
01:45 PM
|
0
|
2
|
10636
|
|
POST
|
My indents are good, and I tried the quotes like you have in your example (JOINPIN is a string). Still no luck. Other ideas?
... View more
01-18-2019
01:19 PM
|
0
|
4
|
10636
|
|
POST
|
I'm rewriting a Python 2.x script so that it can be used in Pro, and I'm stuck on setting a definition query for a layer. Here's what I tried in Pro's Python Window: aprx = arcpy.mp.ArcGISProject("CURRENT") m = aprx.listMaps("Map")[0] for lyr in m.listLayers("Parcel"): if lyr.supports("DEFINITIONQUERY"): lyr.definitionQuery = 'JOINPIN = 201-02-0-00-00-012.01-0' Then I thought maybe the definition query had to be written like a SQL statement, so I tried: aprx = arcpy.mp.ArcGISProject("CURRENT") m = aprx.listMaps("Map")[0] for lyr in m.listLayers("Parcel"): if lyr.supports("DEFINITIONQUERY"): lyr.definitionQuery = 'Join Pin is Equal to 201-02-0-00-00-012.01-0' Neither option generated an error message, but no definition query is set on the Parcel layer. Appreciate any help I can get! Documentation for moving from 2.x to 3.x for ArcPro doesn't have a lot of code examples that I can copy.
... View more
01-18-2019
12:43 PM
|
0
|
8
|
12178
|
|
POST
|
Your comment about the "messy" GDB made me realize that this particular point feature class has had delete features run on it many, many times. Sure enough, when I checked the OBJECTIDs on the newly appended data, they were running in the six digit range. I deleted the topology and then ran truncate table on that feature class to strip out all of the history. No more hanging on the delete features tool - it finished in seconds. Moral of the story: use truncate table whenever you can! Thanks for the brainstorming help, Dan.
... View more
12-10-2018
09:12 AM
|
0
|
1
|
1618
|
|
POST
|
I'm running the model from ArcCatalog, so no luck there. Knowing that, do you still recommend trying it in Pro?
... View more
12-10-2018
07:56 AM
|
0
|
3
|
1618
|
|
POST
|
Working with 10.5.1, Advanced Desktop license. I've got a model set up in Model Builder that starts with a step to Delete Features from a point feature class in a file geodatabase with about 55,000 points in it. The points are deleted quickly, but then the tool sits at 100% complete for about 10-15 minutes before going on to the next step in the model. Because of the number of steps in the whole model, I am reluctant to export to Python and deal with the mess of code that is generated, so I'm hoping to brainstorm possible causes of the hangup in Model Builder. If I have to go to Python, so be it. Just looking for alternatives.
... View more
12-10-2018
07:17 AM
|
0
|
5
|
1769
|
|
POST
|
Thank you so much for posting! I've been scouring the forums but hadn't come across this yet. We'll give this a try and see if it resolves the issue.
... View more
09-21-2018
06:18 AM
|
1
|
0
|
1127
|
|
POST
|
My team has three brand new iPads with Collector installed. They all do the same work – update the sign inventory in the field. We have a basemap permanently installed on their iPads, and when they are ready to go out to work, they download the sign inventory features for disconnected editing. When they come back in at the end of the day, they sync up their data. Afterward, we have them delete the features that they downloaded so that they can start fresh in the morning with a new copy of the data. Two of the iPads see this message when they go to Manage and Remove Map: Those two iPads never have any problems with synchronization. The third iPad, which regularly has synchronization issues, gets this message: We thought maybe the third iPad had a different version, so we uninstalled/reinstalled Collector on that iPad. When that didn’t work, we completely stripped that iPad down to factory settings and reformatted it from scratch. Still, it gives this message instead of the one that the other two get. We have that employee choose the “Remove features only” option when he gets that message. This used to work well, but for the last month, I've noticed that the replica is not being removed from the master database when they choose “Remove features only.” I could live with orphaned replicas that require manual cleanup, but this same iPad keeps throwing this error message when the user syncs his edits: And let's just make this a bit more confusing: his edits actually do sync into the associated version and we can reconcile and post with no problem. But Collector thinks that the edits did not go through. Bottom line is that I need the iPad to reliably sync with no error messages when the user comes back in from the field. I don't know if the orphaned replica has anything to do with our error messages, but I'm at a loss on what to try at this point.
... View more
09-20-2018
02:46 PM
|
0
|
2
|
1425
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 2 weeks ago | |
| 1 | 05-12-2025 06:28 AM | |
| 1 | 3 weeks ago | |
| 1 | 06-26-2025 12:50 PM | |
| 1 | 08-28-2025 06:14 AM |
| Online Status |
Offline
|
| Date Last Visited |
2 weeks ago
|