I have a python toolbox with a 'GPFeatureLayer' parameter, and a 'GPString' parameter. The string field is a dropdown populated with the unique values of an ID field in my feature layer. If there is a selection on the feature layer, the dropdown value list is correctly populated using just that selection.
If the user updates their selection, the list does not update. Clicking the refresh arrows next to "The input has a selection. Records to be processed: X" does not call updateParameters(). The user must select a new feature layer and the reselect the old feature layer to force the update, or close the tool and reopen it. This is not the desired workflow.
Is there any way to force a parameter update when refreshing the selection? Can ESRI staff perhaps help me find the clearest language to make a new Idea post to ask for this functionality? Something like Geoprocessing Tool Selection Refresh should call updateParameters() in python toolbox. Thanks.