Reinherit map service from parent site
Is there a way to reinherit map services from a parent site, if you have previous deleted them from the child?
I know that you can import map services from other sites, however this method appears not to establish a link between the map service and the one in your child site. Ideally, if I make a change in the parent, it will automatically do so in the child. Is there a way to reestablish this connection again.
-
Hello Lisa,
Yes it is possible to reinherit. In the child, you will need to go to the Site Info page, and click Add Reference, then select your site. If a reference already exists to that site, you may need to remove it first, then add again.
Thanks,
Stefan0 -
Ok. I was hoping to avoid that because I do not want to drag out and drag in all the layers again. I just want to readd one layer. Is there any way within the configuration files or another method to do this?
0 -
Unfortunately, there is no way to re-add these layers once removed from the child site.
0 -
Actually, I've done this before by going into the Site.xml and deleting the line that removes the layers. Search your xml for MergeMode="Remove" , and delete the layers you want to re-add to your map.
<Layers MergeMode="Remove">
<Layer Name="Census2010_Tracts" NativeID="2" />
<Layer Name="Census2010_BlockGroups" NativeID="3" />
<Layer Name="CityNeighborhoods" NativeID="5" />
</Layers>0 -
Thanks John. That is extremely useful.
0
Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.
Kommentare
5 Kommentare