Loops through the arcgisinput folder to find mxds to publish to a different server.
Thanks for this! Super-Super useful!!!
Jonathan -
Going through this right now myself. Looking at your script, does it require that the database connections already be present before looping through the input folder?
Joe
It expects the data store items to already exist. You could look into the AddDataStoreItem function, but you'd need the .sde files unless you're going to create them on the fly based on the connection string information within the layer.
Les membres connectés peuvent publier, suivre les mises à jour, et plus encore. Nouveau ici ? Inscrivez-vous gratuitement.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.