redeemarr

Predefined search. How to?

Discussion created by redeemarr on Nov 28, 2012
Latest reply on Dec 28, 2012 by njarecha-esristaff
I got JSON document with search parameters (?) from database maintainer. It looks similar to JSON string in this post. As I understand, I can use this JSON to perform searches in my iOS application.
But I have no idea how to do that. I found AGSFindParameters class, and it has method initWithJSON. So far I can suspect I should pass my JSON to this method and thus create parameters for AGSFindTask. However, AGSFindTask needs an URL for init method. I've tried to pass there URLs for feature layers, etc, but I always getting error "Invalid URL".
What I'm doing wrong and how I should use JSON to do predefined searches?

Outcomes