function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
chentwchentw 

Fields cannot be queried in query calls

I try do a query on Solution object. It complains that SolutionNote cannot be filtered in query call. Does anyone know how to make it work? Thanks.

 

binding.query("select SolutionName, SolutionNote from Solution where Key_Words__c like '%" + keyWord + "%' or SolutionName like '%" + keyWord +"%'");

 

{"INVALID_FIELD: \nor SolutionName like '%du%' or SolutionNote like '%du%'\n                               ^\nERROR at Row:1:Column:111\nfield 'SolutionNote' can not be filtered in query call"}

Robert MorgensternRobert Morgenstern
I encounter the same problem. Did you figure out how to solve it?

Thanks & best regards,
Robert