I am setting up a searching layer in eSearch xml file. There is a variable (STW_ID)which is integer, not a string. I tried <expression alias="STW_ID" textsearchlabel="Search by ID:">STW_ID = '[value]'</expression>
or
<expression alias="STW_ID" textsearchlabel="Search by ID:">STW_ID LIKE '[value]%'</expression>
or
<expression alias="STW_ID" textsearchlabel="Search by ID:">STW_ID LIKE '%[value]%'</expression>
or
<expression alias="STW_ID" textsearchlabel="Search by ID:">STW_ID = value </expression>
None of these work. The data type of STW_ID is Type: esriFieldTypeInteger. If I search other String type data, they all work. How do I search this kind of pamameter in eSearch? Thanks a lot!