Has anyone experienced an issue where a FindTask returns results from fields that are hidden in the map service mxd?
I've got an mxd with a half dozen layers. All of them have a field called "Name" in them. However, in one of the layers I've turned off the field "Name" because I don't want my FindTask to run against that particular field in that layer. Yet, when I run the FindTask, it returns results from that layer with the hidden "Name" field.
If I run a "find" right in the mxd, the results do not reflect that particular hidden field, which is what I want. This is a frustrating example of where Server and Desktop implementations of a given feature differ significantly, but that's a separate discussion.
Another way of looking at this is... if you don't supply anything for "searchFields" for the FindParameters in Flex and just want to rely on the fields that are checked as "visible" in the map service mxd... it appears... that we are out of luck.
This of course may be a features of the REST API but somehow I doubt it.
What's your take?