How do you specify the folder name when creating a new servier using the ADMIN API

822
2
01-03-2013 07:19 AM
ArtUllman
New Contributor
I am trying to write a script for creating new services using the ADMIN API:

http://resources.arcgis.com/en/help/server-admin-api/

I do not see any way to specify a folder name for the service.
Tags (2)
0 Kudos
2 Replies
KevinHibma
Esri Regular Contributor
If you're using the actual "CreateService" in the admin - you dont specify a folder.
You use the CreateService function within the folder you want to create the service.

http://gizmo:6080/arcgis/admin/services/createService
vs.

http://gizmo:6080/arcgis/admin/services/newFolder/createService
ArtUllman
New Contributor
Thanks.  That makes sense.  I will try that.
0 Kudos