The problem is this, I can get this to work with any map service layer, but not with a table view. The table view in the map service contains an ID of 1. This particular application will not have a map service, just input parameters and a data grid. That is it.
I can run queries through the REST endpoint and get the results I want.
My question is, what is the correct class to use for querying from table views. I thought I could use findParams, but that doesn't seem to work.
Anyone have any ideas?