Hi, when a user add a map service with related table and then remove it, the related table doesn't get removed. So I am trying to clean up the related table.
From the related table relationship, is it possible to determine if the related layer is still on the map? The unique relatedTableId is the layer id and how can I determine if it is still on the map. I am trying to avoid having to query the server for performance reason. (Alot of related tables to remove)