Configuration File

The configuration file is an .xml file that can apply to both standalone clients and browser clients. A configuration file is not essential to use Presentation Client, but it makes it easier for the Administrator to establish the users’ session and connection options settings.

You can edit the configuration file using either the Configuration Assistant or a text editor.

Following is an example of a configuration file with ATT parameters.

<?xml version="0.1"?>
-<configuration version="3.3">
      -<system name="dw">
            <componenttURL>http://webserver.somedomain.com/forms</componentURL>
            <packageprefix>com.unisys</packageprefix>
            <applicationName>sample</applicationName>
            <bundleName>all</bundleName>>
            <serverURL>x-ratl:someotherdomain:2449</serverURL>
            <serverView>dw</serverView>
            <connectionMode>2</connectionMode>
            -<loginDetails>
                  <login>dw</login>
                  <password encrypted="true">-a90sbrf</password>
                  -<hostTags>
                        <tag name="AccessCode">sesame</tag>
                  </hostTags>
            </loginDetails>
            -<reports>
                  -<report alias="April Employees">
                   <name>staffreport</name>
                   <language>english</language>
                   <parameters>"employee april"</parameters>
            </report>
                  <report alias="April Managers">
                  <name>staffreport</name>
                  <language>english</language>
                  <parameters>"manager april"</parameters>
            </report>
            </report>
            -<commands>
                  <command alias="English">:sla*english</command>
                  <command alias="French">:sla*french</command>
                  <command alias="Help">:hel</command>
            </commands>
      </system>
            -<system name="test">
                  <componentURL>http://webserver.somedomain.com/forms</componentURL>
                  <packagePrefix>com.unisys</packagePrefix>
                  <applicationName>test</applicationName>
                  <bundleName>all</bundleName>
                  <serverURL>x-ratl:someotherdomain:2449</serverURL>
                  <serverView>test</serverView>
                  <connectionMode>2connectionMode>
                  -<commands>
                        <command alias="English">:sla*english</command>
                        <command alias="French">:sla*french</command>
                        <command alias="Help">:hel</command>
                  </commands>
                  <attRecord>
                        <enable>true</enable>
                        <mode>connect</mode>
                        <server>127.0.0.1</server>
                        <port>8888</port>
                        <xmlFile>c:\Testcase.smtest</xmlFile>
                  </attRecord>
      </system>
</configuration>

Each of the tags contained in the configuration file corresponds to a node or parameter in the Configuration Assistant. The following sections describe each of the tags.