I'm developing a custom ArcGIS Desktop tool for my Planning department. I want to provide users with an option for which dataset will be used as an input. I want them to be able to select between 1) a layer (shapefile or featureclass) or 2) one ore more tax parcel ids that will be used to construct a feature layer using select by attribute.
Essentially, they will be choosing the layer from which to clip soils. They will either be clipping soils against our tax parcels layer or a special feature class representing a farm.
I'd like the tool to only allow for one of these inputs based upon a true/false box parameter. What is the best way to wire this up when creating the custom tool?
Thanks,
Patrick