From iLab Cookbook

HowToEditTheConnector-config: XmlFile

<< Back to the SharedPhidgets page


All the XML configuration files of the tools and example applications in the SharedPhidgets toolkit can be edited directly (e.g., by using a standard text editor like Windows Notepad). While you can configure the applications directly in the user interface, sometimes it might be faster to just edit the XML file.

Please note: Do not change anything in the XML files unless you are familiar with XML editing and structure of valid documents. By changing the wrong setting, the config file might be invalid and causes the application to not work properly.

<SharedPhidgetsConnector.Configuration assembly="SharedPhidgetsConnector, Version=1.0.2197.25789, Culture=neutral, PublicKeyToken=null">
    <sharedDictionaryURL>tcp://136.159.7.93:sp</sharedDictionaryURL>
    <useLocalPhidgetManager>True</useLocalPhidgetManager>
    <removeEntriesWhenDetached>False</removeEntriesWhenDetached>
    <removeEntriesWhenExit>False</removeEntriesWhenExit>
    <addMetadataToLocalPhidgets>True</addMetadataToLocalPhidgets>
    <location>Math Science 671</location>
    <owner>GroupLab</owner>
    <keywords>iLab Homespace GroupLab</keywords>
    <hashtableWSDescriptions>
      ....
    </hashtableWSDescriptions>
</SharedPhidgetsConnector.Configuration>

1) Change the TCP address of the server:

<sharedDictionaryURL>tcp://136.159.7.93:sp</sharedDictionaryURL>

2) Change the metadata location information with:

<location>Math Science 671</location>

3) The owner metadata:

<owner>GroupLab</owner>

4) Or change the keywords for additional metadata tags:

<keywords>iLab Homespace GroupLab</keywords>



Retrieved from http://grouplab.cpsc.ucalgary.ca/cookbook/index.php/HowToEditTheConnector-config/XmlFile
Page last modified on January 25, 2006, at 01:21 PM