Hello,
I have a Python GP Tool (Python Toolbox) in ArcGIS Pro (3.16) where I have parameters conditionally populated based on the previous parameter selection.
If parameter 1 is layer A name, then the code fetches all features from the layer A and populates attribute names in a filter list in parameter 2 drop down.
I used ArcGIS Enterprise (11.3) Hosted Feature Layers rest endpoints in the code (arcpy.MakeFeatureLayer_management(rest_endpoint_url, "lyr_name") and the tool works fine in ArcGIS Pro. However, when published to Enterprise as a Web Tool and configured this custom tool in the Experience Builder Analysis widget, the tool only populates the default values from the time I ran it in Pro, and parameters do not get dynamically populated.
Am I correct in thinking this conditional logic is not supported in a custom Web Tool? Or do I need to code it specifically?
Many thanks!