Zum Hauptinhalt gehen

Reinherit map service from parent site

Kommentare

5 Kommentare

  • Stefan Schweigert

    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, 

     

    Stefan
    0
  • Permanently deleted user

    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
  • Stefan Schweigert

    Unfortunately, there is no way to re-add these layers once removed from the child site.

    0
  • John Nerge

    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
  • Permanently deleted user

    Thanks John. That is extremely useful. 

    0

Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.