POST
|
It looks like you may have an issue in the onFocus method. You create a list of the current layers in the dataframe called "Layers" but then try to iterate though them with for Layer in LayerList. Try changing LayerList to Layers.
def onFocus(self, focused):
"""Occurs when the user clicks on the Combobox, giving the ComboBox focus"""
# Empty the Combobox items list
self.items = []
# Establish a reference to the current MXD
mxd = arcpy.mapping.MapDocument("Current")
# Establish a reference to the first DataFrame object in the current MXD
df = arcpy.mapping.ListDataFrames(mxd)[0]
# Build a List of LayerObjects contained in the first DataFrame of the current MXD
Layers = arcpy.mapping.ListLayers(mxd, "*", df)
# Iterate through the Layers
for Layer in Layers:
# Append the current Layer's name to the Items List
self.items.append(Layer.name)
... View more
06-12-2014
08:46 AM
|
0
|
0
|
773
|
POST
|
I tried again to delete these two problem feature services this morning and it didn't work until I created a new feature service in my account. After I did that I was able to delete the two problem services. I don't know why I had to create a new feature service before it would let me delete the two problem ones, but the problem is resolved now. Sage
... View more
10-18-2013
09:33 AM
|
0
|
0
|
384
|
POST
|
I am unable to delete two feature services from my content on ArcGIS Online. If I click on the delete button nothing happens, no error or anything displays it just never finishes. If I look at the item details the feature service I get an invalid URL error. If I try to add the data to an online map I get an error that says the layer cannot be added to the map. I can recreate the two feature services but I really would like to delete these broken ones from the my content section of ArcGIS online. Any ideas? Broken URLs: http://services1.arcgis.com/kl2GDQGD7Il9fuUc/arcgis/rest/services/LocationTracking/FeatureServer http://services1.arcgis.com/kl2GDQGD7Il9fuUc/arcgis/rest/services/SagePlaces/FeatureServer Thanks, Sage
... View more
10-17-2013
02:17 PM
|
0
|
5
|
973
|
IDEA
|
-->
Currently if you have a relationship class to a stand alone table in a geodatabase and project the associated feature class into a different projection the relationship class to the table is not created in the new feature class. It would be very nice if when projecting feature classes that have relationship classes to stand alone tables that a copy of the relationship class would be created and link the feature class to the stand alone table.
... View more
05-30-2012
08:42 AM
|
7
|
0
|
385
|