I was wondering if someone can give an explanation to why the following the scenarios happen ?
or direct me to relevant thread or documentation?
Back story is that I have been working a lot with layer files and group layer files. I wanted to give these to user to use as the way of accessing the data.
Although through testing I have come into a couple of issues and I was interested in knowing why these happen
Scenario 1 ( one single layer from one feature class)
I am working on MXD_1 and take a single feature class streets_new_york and run a definition query to filter it to show only red sections , using the sections field.
I save this out as layer file onto windows calling the layer red_sections.lyr
At a later point I am working on MXD_2 and I drag and drop red_sections.lyr into MXD_2 and save the map.
At a later point I am working on MXD_3 and I edit the streets_new_york to include addition polygons , some of which are red_sections.
When I open MXD_2 it has Automatically updated to show the new data that has been Added to the new feature class.
Scenario 2 Group Layers
I Create a group layer , that contains data from three separate feature class
I call this group layer USA_SECTIONS.lyr , Save to windows and then drag and drop this layer from windows onto my MXD_2.
At point , while working on a different map that contains the USA_SECTIONS.lyr , i add another layer into the group , so it now consists of 4 layers. i save this layer file using the same name USA_SECTIONS.lyr , Overwriting the old file. I open up MXD_2 and it contains the first version.
I think that there is an issue with how the in memory layers work and group layers.