I have a map with several features in it. Each of those features has a filter set up so only certain features appear on the map. When I click on a feature on the map, the pop up displays ALL features whether they are filtered on or off. Is there any way for just the features on the map to be shown in the popup? (i.e. If I have a specific attribute filtered off and it doesn't appear on the map, is there a way to prevent it from showing up in the pop up?) The example below has 3 features actually filtered "On", but is still pulling the filtered "Off" features too. Any ideas?
Filters in the map viewer are for display purposes. If you would like to filter data with the intention to hide features you should create a hosted feature layer view and set a view definition > define features in the visualization tab.
Create hosted feature layer views—ArcGIS Online Help | ArcGIS