How do I set dynamic layers on a map service with ArcPy

3707
11
01-25-2016 12:04 PM
JacobBoyle
Occasional Contributor III

I've been writing a script to publish services, and I am getting stuck on setting dynamic layers on a map service in Manager

Enabling dynamic layers on a map service in Manager—Documentation (10.3 and 10.3.1) | ArcGIS for Ser...

I'd like to add this as a SOE I'm assuming to my script, but i'm not having any luck finding anything on how to do so.

0 Kudos
11 Replies
BillDaigle
Occasional Contributor III

I use a script to publish as well.  What I shared was just a piece from the end of my script.  We have been publishing this way for a couple of years.  Works great.  It takes a while to set up, but is well worth it in the end.  Our GIS analysts use python toolboxes we developed to publish/update services on our test server.  After some initial testing, the GIS manager uses other tools in the same toolset to migrate the changes to production. Everything is validated and logged, which make tracking down bugs pretty easy. 

JacobBoyle
Occasional Contributor III

Thanks Bill, I'm going to dive back into this today, I'll Let you know the outcome.

0 Kudos