I was curious if anyone knew how I would go about creating a tool which allowed the user to select a shapefile from an interactive map, for example select a particular state from a shapefile of all the states in the U.S. and then the tool will use that particular state shapefile as the clipping extent for the tool. I have a climate dataset for the entire United States and I would like the user to be able to select a particular state on a map so the climate dataset is clipped to just that state. I know how to add the shapefile as a parameter on the tool's gooey, but instead of the user navigating to a shapefile saved somewhere on their computer, I would like them to be able to interactively select that state's shapefile on a map and then that shapefile will be used as the clip extent. If anyone has an idea about how I would go about this please share, thanks!!