0

I want to exclude addresses to the state of Oregon. Pre 2.3.1 code was

<listfield>State</listfield>
<listvalues>OR</listvalues>

for 2.3.1 ESRI says to use

<fields>State</fields>
<fields listvalues="OR">

but no dropdown shows up, and it still searches all of US?

0

this works:

<fields><field name="State" defaultvalue="OR" visible="false"/></fields>
  • This worked for me as well. That, and I didn't have the <usesingleline> tag set to false. Thanks. Also, you can mark your own answers as accepted if you want to, to show that the question has been answered successfully. – Timothy Michael Aug 3 '11 at 20:52

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.