ArcGIS Python API - create_service

713
4
08-23-2017 10:58 PM
VassiloWalluschnig1
Esri Contributor

Hi All,

I am able to create a service from a JSON string using the create_service function, however, I can't seem to create it anywhere else other than in the root folder. How do I tell the function to create it in a different folder?

Regards,

Vassilo.

0 Kudos
4 Replies
RohitSingh2
Esri Contributor

Have you tried using the folder parameter?

0 Kudos
VassiloWalluschnig1
Esri Contributor

Hi Rohit,

Yes, both folder= and folder_name=, both return  - TypeError: create_service() got an unexpected keyword argument 'folder_name'

Regards,

Vassilo

0 Kudos
VassiloWalluschnig1
Esri Contributor

Hi Rohit,

I have not heard back from you in quite awhile. Is this problem a known issue, if so, when will it be addressed. If not, what do I need to do to get it to work.

Regards,

Vassilo

RohitSingh2
Esri Contributor

Hi Vassilo,

Please update the arcgis package to v1.2.4 which has a fix for this issue.

conda update -c esri arcgis

Thanks,

Rohit

0 Kudos