Skip to main content
Question

Feature reader where clause across 2 tables

  • January 23, 2026
  • 3 replies
  • 78 views

tmatiques
Contributor
Forum|alt.badge.img+2

I am using feature reader to connect to an ArcGIS Online feature service.

The feature service has multiple layers in there. I want to use a where clause against 1 layer only to filter the results from that table, but not apply the where clause to the other tables.

 

3 replies

nielsgerrits
VIP
Forum|alt.badge.img+64

I do not know a way to do this at the moment. I think you want to create an Idea and / or a support case for this.


jamatsafe
Safer
Forum|alt.badge.img+16
  • Safer
  • January 28, 2026

Hi ​@tmatiques,

Thanks for the great question! This isn't possible within the FeatureReader because per-feature type filter mapping doesn't currently exist. FeatureReader only provides a single reader-level WHERE clause and that same clause applies to every selected layer (feature type) so it can't apply a filter to only one of the selected layers while leaving others unfiltered. I agree this may not be very useful in a lot of cases.

For your scenario, I would either add another FeatureReader or a standalone ArcGIS Feature Service Reader (exposes a feature type-level WHERE clause within each individual feature type) to query that single layer. 

If you'd like per-feature type filtering at the reader-level when multiple layers are selected for Feature Services (eg. inside a single FeatureReader or Feature Service Reader), I would recommend you submit an FME Idea and outlining your intended use cases. Perhaps the layerDefs parameter from the REST API documentation may be relevant here? This will allow other users to upvote, raise awareness to our developers, and help us gauge interest for potential future support. Hopefully this clarifies the limitations and available options.


ebygomm
Influencer
Forum|alt.badge.img+46
  • Influencer
  • January 29, 2026