Script to Automate PMF production

430
0
03-31-2021 11:15 AM
Labels (3)
mmedinamilam152
New Contributor III

Hey, 

      I am hoping someone can help. I am trying to automate the publication of 50 different readerfiles. So here is my set up.

     My Mxds read from an Admin_Geodatabase and I regularly override those shapefiles with new shapefiles when I get them or updating existing shapefiles. The MXDs will automatically drawn in the new shapefile but then I have to go to each MXD and republish the reader maps. Is there any way to write a script??

So I don't think there is a function - ExportPMF  so I was trying to use it in model builder but I wasn't sure if you are able to use extensions or even sure how to add them to the model builder. 

Steps: 
Open Mxd
Click Publish Map
Parameters for File location and file name
Click ok
Click yes for override
close Mxd 
Repeat for next 49 Mxds

Would anyone be able to help me with this? 

Tags (3)
0 Kudos
0 Replies