I have a bit of a complex scenario that I'm unsure how to put together into one model or script file. What I'm doing is creating service definition files then uploading these SD files to a server. All my MXDs are housed in folders and subfolders.
I have created a model that iterates through all folders and sub folders and creates the SD files.
Then I have created a model that takes the input of the folder where the SD file exists, the server and the server folder and uploads the SD to the server.
These both work independently of each other.
What I would like to do is be able to integrate these together into one model or script. Where the first model will create all the SD files then these will subsequently be uploaded to the server with the second model.
An issue I'm running into is having the Server Folder as a parameter in the second model. I would like to be able to create a new server folder based on the name of the folder that the SD exists in. I'm not sure if this is possible but I am very hopeful!