Hoppa till huvudinnehållet

Is there a way to edit multiple map service connections for a site?

Kommentarer

2 kommentarer

  • Permanently deleted user
    Hi Lee,

     

    You can manually edit the site.xml file for the site and do a find/replace.  I would be sure to step through and replace all the found instances individually as opposed to doing a bulk "replace all".  The section of code to look for will look something like this - 

     

        <MapServices>

     

          <FeatureLayer ConnectionString="url=https://....

     

    I would perform the find on the text "ConnectionString=" and make sure the found text is for a map service connection and one that you are sure you want to change.

     

    I would also make a backup copy of the file because the file is your site, if it goes bad, your site is gone! 

     

    We don't recommend editing the site.xml file but in a case like yours, it can save a lot of time.  Make sure Essentials Manager is not open if you edit the file, you don't want to be editing the same file using two methods at the same time.

     

    Regards,

     

    Wayne Richard

     

    Latitude Geographics Group Ltd.

     

    Head Office: 300 – 1117 Wharf Street  Victoria, BC Canada V8W 1T7

     

    Tel: (250) 381-8130 | Fax: (250) 381-8132 | wrichard@latitudegeo.com 

     

    Developers of Geocortex web-based mapping software | www.geocortex.com

     

    An Esri Platinum Business Partner

     

     
    0
  • Lee Brannon
    Oh right, the site's xml file!  Thanks Wayne!  Your reply is a good reference...I'm saving that!
    0

Du måste logga in om du vill lämna en kommentar.