Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

For each Workspace it may be necessary to override certain configuration settings. This is done in the iShareMaps.xml file which may be found in the \webapps\webservice\config folder.

...

 

Code Block
titleLanguages
<Languages>
   <Language>
      <LanguageDefinition>LangCYM</LanguageDefinition>
      <DisplayName>Cymraeg</DisplayName>
   </Language>
</Languages>

 

Language

LanguageDefinition = the name of your Language xml file without the .xml extension.

DisplayName = the entry that is used as the lang entry in the <Workspace> node as described in point 2 below. It is also the Language  entry in the Languages Editor.


  • Now you need to add a <Workspace> node for each Site / Workspace. This Workspace node is used to override the chosen single Configuration Settings and MapSources for a particular Workspace and must contain a name and a langsetting.

...

Code Block
titleWorkspaces
<Workspaces>
   <Workspace name="SiteA" lang="Cymraeg">
     <ConfigurationDefinition>
       <Web>
         <CookieHost>JLT2008</CookieHost>
         <Content>
           <Welcome>atWelcomeWelsh.aspx</Welcome>
         </Content>
         <URL>http://JLT2008/welsh.iShareMaps.Web/</URL>
       </Web>
     </ConfigurationDefinition>
 
     <MyHouseMapSources>
       <MapName>Workshop/MyHouse</MapName>
       <MapName>Workshop/MyNearest</MapName>
     </MyHouseMapSources>
     <MyMapsMapSources>
       <MapName>Workshop/AllMaps</MapName>
     </MyMapsMapSources>
 
   </Workspace>
<Workspace name="SiteB" lang="Default">
...
</Workspace>
</Workspaces>

Workspace

name = the name for your Workspace and is compulsory

...

In the example above we have added one for "SiteAusing language "Cymraegand "SiteBwith "Default".

Configuration Settings

The ConfigurationDefinition settings can be used to override any of the settings used by iShare. In the example above, the CookieHostWelcome Page and Web URL have been overridden.

MapSource Settings

You also need to have your MyHouseMapSources and/or MyMapsMapSources nodes to identify the MapSources to be used with each Workspace. See above code example for details.