Hi all,
Is it possible to disable the "Use the selected records" toggle from a Python toolbox?
I have some tools which should always use all features from the input, I've instructed users to ensure that toggle is turned off but would like to remove the option altogether.
Thanks!
Not to my immediate knowledge, but you could modify the code to work on the datasource of the input layer, rather than the layer itself?
Or maybe add the Select Layer By Attribute tool to your script to run on the inputs, with the CLEAR_SELECTION option.
Interesting question as I too wish to hide the select toggle. Whilst all the suggestions would solve the problem it would be nice not to have to defensively code for that situation and simply hide the toggle. Will be interesting if esri expose such property in the future?