What we are trying to accomplish are two things:
- get access to the entities in the sublayer created with the join
- apply a definitionExpression to subset the entities
in our scenario, we'd like to accomplish these tasks on the var layer = new MapImageLayer
before adding the layer to a map and the map to a view.
We have tried
but it doesn't get resolved until the layer is used in the View
Does anyone have a suggestion on how to accomplish this ?
thanks in advance