I have developed a script tool which will allow a user to specify input feature class or table and then will process it.
Surprised I haven't noticed this before: I cannot find which data type my input features parameter should be to let users specify both feature class / tables (by drag-n-drop from Catalog window or browsing to a place on the disk) and layers from the table of contents (TOC) in case they have already added a feature class / table to the map document.
Feature Class type will let me to browse to tables/feature classes and feature classes only, respectively.
Layer will let me specify the added feature layer from the TOC only.
Core GP tools such as Frequency and many others, in contrast, will let you drag-n-drop feature classes/tables and choose a layer/table in case you have some added to the TOC.
I've read through the list of GP data types from the Esri Help, but cannot find any that will help me. Am I hitting one of the limitations of the custom script tools? I am on 10.2.1.