|
POST
|
import os import arcpy from datetime import datetime n = datetime.now() datestamp = n.strftime("%B_%d_%Y") mxd = arcpy.mapping.MapDocument(r"D:\temp\AGOL_Data.mxd") df = arcpy.mapping.ListDataFrames(mxd)[0] destPath = r"D:\temp" outgdb = destPath + "\\GarbageCanSDE.gdb" for lyr in arcpy.mapping.ListLayers(mxd, '', df): if lyr.isFeatureLayer == True: d = lyr.name.encode('ascii', 'ignore') d = d.replace(' ','_') #file_name = d + "_" + datestamp + ".shp" file_name = outgdb + "\\" + d + "_" + datestamp dest1 = os.path.join(destPath, file_name) print(file_name) print(type(file_name)) print(dest1) if arcpy.Exists(dest1): arcpy.Delete_management(dest1) print("deleted") try: arcpy.CopyFeatures_management(lyr, dest1) except: pass
... View more
06-28-2019
08:30 AM
|
0
|
1
|
4016
|
|
POST
|
I don't know the exact size since it is coming from AGOL, but it is a feature service hosted by AGOL with under 100 points, and only about 10 attributes. So quite small.
... View more
06-27-2019
07:59 AM
|
0
|
3
|
9981
|
|
POST
|
I tried this script - but am getting an error: Traceback (most recent call last): File "<stdin>", line 1, in <module> File "c:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\lib\site-packages\arcgis\gis.py", line 2590, in __getattr__ raise AttributeError("'%s' object has no attribute '%s'" % (type(self).__name__, name)) AttributeError: 'Item' object has no attribute 'export' Not sure why the item doesn't have this ability? In the settings in AGOL I have this turned on Any thoughts? Thanks Darryl
... View more
06-20-2019
03:00 PM
|
0
|
5
|
9981
|
|
IDEA
|
I would also really find this useful. This is roadblock in my workflow if I want to use operations dashboard. Please add this enhancement ESRI. Thanks
... View more
04-08-2019
11:02 AM
|
1
|
0
|
8415
|
|
POST
|
Hi Stuart, Did you ever find a solution to this problem? Thanks Darryl
... View more
04-04-2019
08:33 AM
|
0
|
1
|
724
|
|
POST
|
Hello, I have a batch attribute widget within my Web App and it is editing a feature service that has a domain on it. Possible values for the domain are: Is there any way to limit these values? i.e. I only want 3 values available to the user: Swept, To Be Swept and Not Swept. Any thoughts? Using ArcGIS Online (not portal) and an oracle db backend for the feature service.
... View more
03-21-2019
09:10 AM
|
0
|
1
|
1157
|
|
POST
|
Hi David, I don't see an option in the List Widget Options to Zoom or Pan on the map. I only see a filter option. Where do you see this? Thanks Darryl
... View more
03-07-2019
11:17 AM
|
1
|
1
|
4769
|
|
POST
|
Hi Philip Queen, Do you know if there is a way to add the value and reference together? i.e. {value + reference} I am trying this, but it doesn't appear to be an option. Thanks Darryl
... View more
03-06-2019
09:04 AM
|
2
|
3
|
9454
|
|
POST
|
Thanks Scott Harris. That worked. Should have thought of it. Darryl
... View more
03-05-2019
01:22 PM
|
1
|
0
|
2079
|
|
POST
|
I am having the same issue. I can query my rest end point data, but I get the same error when trying to look at the table in AGOL. Rest End Point: Layer: GIS.GIST_MTI_TICKETS_1_WEEK (ID: 6) AGOL Map: https://kamloops.maps.arcgis.com/home/webmap/viewer.html?webmap=49a3513d70294b72ae2f588379d7d5e1 Any help is appreciated.
... View more
03-05-2019
12:02 PM
|
0
|
2
|
2079
|
|
POST
|
Agreed. For us, we have a mix of Operations Dashboard and Insights. Right now, Operations Dashboard seems to have some better functionality.
... View more
02-14-2019
11:54 AM
|
2
|
0
|
2663
|
|
POST
|
Randy, Did you ever find an answer to this issue? I have had the same request from our users, but haven't figured out how to add labels. Thanks Darryl Klassen
... View more
02-14-2019
10:53 AM
|
2
|
2
|
2663
|
|
IDEA
|
I would like to see a shared insights page update its data automatically when the source data (i.e. Map service) data changes. We are using it to provide statistics to different departments, i.e. length of different classifications of roads. When the data changes, the shared page does not, but I believe should. I am using Insights for ArcGIS Online.
... View more
01-14-2019
10:35 AM
|
8
|
0
|
648
|
|
IDEA
|
I would like to see a shared insights page update its data automatically when the source data (i.e. Map service) data changes. We are using it to provide statistics to different departments, i.e. length of different classifications of roads. When the data changes, the shared page does not, but I believe should. I am using Insights for ArcGIS Online.
... View more
01-14-2019
10:35 AM
|
8
|
0
|
636
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 10-11-2019 11:04 AM | |
| 2 | 03-15-2024 09:49 AM | |
| 1 | 02-16-2024 02:12 PM | |
| 1 | 11-28-2023 12:32 PM | |
| 1 | 11-27-2023 11:50 AM |
| Online Status |
Offline
|
| Date Last Visited |
a month ago
|