Skip to content
This repository has been archived by the owner on Mar 31, 2020. It is now read-only.

Commit

Permalink
Updated Name
Browse files Browse the repository at this point in the history
  • Loading branch information
MikeMillerGIS committed Sep 10, 2014
1 parent 5729e2a commit c88cbeb
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions samples/_register_maplayer_as_item.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,19 +12,19 @@
try:
agol = admin.AGOL(username='',password='')
inparams = {"url":"http://IPADDRESS/arcgis/rest/services/Sanitary_Sewer_Infrastructure/Sanitary_Sewer_Network/MapServer/6"}
res = agol.addItem(name="TestForMark",
tags="Test",
description="Test",
snippet="test",
data=None,
extent="-88.1799,41.7718,-88.1353,41.7823",

res = agol.addItem(name="SampleMapLayer",
tags="Test",
description="Test",
snippet="test",
data=None,
extent="-88.1799,41.7718,-88.1353,41.7823",
item_type="Feature Service",
folder=None,
inparams=inparams,
typeKeywords=["Data", "Service", "Feature Service", "ArcGIS Server", "Feature Access"]
)
print res

print res
except ValueError, e:
print e

0 comments on commit c88cbeb

Please sign in to comment.