Select to view content in your preferred language

Temp log into SDE and Portal via python script

502
1
12-19-2022 11:51 AM
RobertBorchert
Honored Contributor

I am working on a process to generate a mobile map package.

Ideally I create a data model that does exactly what I need it to do.

I export the data model to a python script. I that past this has worked wonderfully.  

However, this time around it involves connection to our secure SDE databases and then uploading to our Portal. 

They python script does not work, and I think it is because I am not logged in to the SDE database and Portal. 

I tried finding info on logging into SDE and portal in python but could not find it. 

Any help would be appreciated. 

0 Kudos
1 Reply
RobertBorchert
Honored Contributor

It may be a licensing issue. I created a new model that did not access anything other than the C:\ drive. I even created the Pro Project in it.  

Perhaps somehow I need to log into our licensing server to run the model from python.

 

0 Kudos