|
POST
|
Is it possible to change ArcGIS Online and/or Portal items so that the first and last name associated with an account displays as the owner instead of the user name? It's purely a personal preference, but I think a first and last name looks nicer and makes more sense to the lay person than a username.
... View more
03-15-2019
07:52 AM
|
1
|
6
|
2909
|
|
DOC
|
LOL! I really wish I hadn't posted that now! I was starting over from scratch when I got that message, so I hadn't actually configured anything yet. It went away as soon as I finished the configuration. I found the missing configuration in the meantime. I didn't have the "Ask for values" box checked inside the Update Expression Value.
... View more
03-14-2019
09:49 AM
|
0
|
0
|
12231
|
|
DOC
|
I'm not getting any errors. When I activate the widget, the highlighted lines show up, but no errors that I'm finding.
... View more
03-14-2019
09:38 AM
|
0
|
0
|
12231
|
|
DOC
|
I'm setting up a new web app with WABDE version 2.11, so I downloaded your latest update on this widget. I've got it installed and configured, but my browser is not accepting any text in the search box. Is there anything in your settings that I might need to change to fix this? The layer I'm using works fine in the regular Search widget, but I'm not discounting the possibility that there is an issue with my service.
... View more
03-14-2019
09:23 AM
|
0
|
0
|
12231
|
|
POST
|
Here's a widget that has worked well for us: GitHub - igrasshoff/esri-wab-widget-google-analytics: A google analytics widget & template for use in Esri Web AppBuilde…
... View more
02-21-2019
07:26 AM
|
3
|
0
|
766
|
|
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
|
2570
|
|
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
|
1127
|
|
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
|
4324
|
|
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
|
4324
|
|
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
|
4324
|
|
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
|
4698
|
|
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
|
11557
|
|
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
|
11557
|
|
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
|
11557
|
|
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
|
13099
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 12-16-2021 07:17 AM | |
| 6 | 3 weeks ago | |
| 1 | 06-27-2024 01:11 PM | |
| 1 | 07-15-2021 01:53 PM | |
| 2 | 01-09-2026 07:45 AM |
| Online Status |
Offline
|
| Date Last Visited |
3 weeks ago
|