Hi everyone,
sorry for the newbie question.
I have a FeatureService containing a FeatureLayer "Pipelines" with attributes: id, code, pressure ... and a Table "Report" with attributes: id, pipe_id, report_code, where 0 or N reports are listed for each "Pipeline" feature (relation via attribute pipe_id).
I'd like to know the best way to display on a map the "Pipelines" FeatureLayer, showing only the features with a report_code="X."
Does the relationship need to be defined in the FeatureService, or can it also be defined directly on the client side?
Keep in mind that there may be many features to load.
Thanks in advance for your help 🙂
You can filter a FeatureLayer by creating a definitionExpression.