ArcGIS Pro 3.0 SDK addin development, Button esri_sharing_ShareMapService didn't work

680
0
03-19-2023 12:14 AM
Labels (1)
有翔于
New Contributor

hi guys,

      I was trying to publish a mapservice to standalone server. I can do this by right click on the server--publish-- map service.

_1-1679208056272.png

    Now i want to customize a button to do the same thing, my code is :

_3-1679208647125.png

The code won't take effect and the Select Map window won't show,unless i left-click the server with my mouse first.

any suggestions?

thanks 

 

 

    

 

Tags (1)
0 Kudos
0 Replies