[ArcGIS Pro SDK] Extending the event arguments "ArcGIS.Desktop.Internal.GeoProcessing.GPOpenedToolDialogEvent.ToolDialogEventArgs" by list of parameters of currently opened tool (including current values)
We need the ArcGIS Pro SDK to be able to manipulate parameter values of GP tools when calling up the GP tool dialog.
To do this, we want to use the "ArcGIS.Desktop.Internal.GeoProcessing.GPOpenedToolDialogEvent" event that is already available in the ArcGIS Pro SDK.
However, the associated event arguments ("ArcGIS.Desktop.Internal.GeoProcessing.GPOpenedToolDialogEvent.ToolDialogEventArgs") currently only provide the following information:
Feature request
--> In addition in the event arguments properties we need the information on the list of tool parameters including the current values. It also must be possible to manipulate these values so that the adjusted values can be passed in the tool dialog that then opens.
With the extended event arguments (as described above), we would probably also be able to implement support for environment variables in geoprocessing parameter (see Usage of environment variables (e.g. %TEMP%) in va... - Esri Community).
Mockup for better understanding:
1) Define task step as geoprocessing tool with parameters containing placeholders:
2) When executing task step the event "GPOpenedToolDialogEvent" is raised and placeholders are replaced:
3) When GP dialog opens the replaced (dynamic) parameters are used:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.