Solved

What is the syntax used in the ESRI ArcGIS Portal Feature Service Where Clause:

  • 14 July 2021
  • 2 replies
  • 11 views

I've connected to my ArcGIS Portal and can read a feature service. I want to add several where clauses to narrow down this read each time. Adding "objectid">0 returns records, adding "workerid"=88 returns records, but I can't figure out the syntax to apply both in the same where clause. When using the REST API directly its just where=ObjectID>0&workerid=88 and this returns multiple records. But in FME it returns 0

 

Any ideas how i can combine multiple conditions in my where clause?

icon

Best answer by andreaatsafe 14 July 2021, 18:26

View original

2 replies

Badge +10

Hi @har40428​ ,

Try using AND to combine your where clauses - eg."objectid">0 AND "workerid"=88

 

Here's an example:

AGOL_Where_Clause-Andrea

Thank you - that worked

Reply