Using ArcGIS Pro 2.0(1) SDK, how can I initiate the command "Share as Web Layer" as I do from the popup menu on the layer from the content dialog:
![](/legacyfs/online/380284_pastedImage_1.png)
Also, how can I pre-populate the parameters of the tool:
![](/legacyfs/online/380288_pastedImage_2.png)
I need the user just to check and click Publish...