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

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.


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


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?






Tags (1)
0 Kudos
0 Replies