Previous Topic: Customizing Remote ControlNext Topic: Control the Ability to View and Manage Properties


Control the Visibility of Viewer and Host Properties

You can control the visibility of each property on the Advanced tab in the Viewer Properties dialog and the DSM Properties - Advanced tab.

To control the visibility of a property

  1. Access the appropriate XML file, rcViewerConfig.xml or rcHostConfig.xml.
  2. Change the value of the flags attribute for the relevant parameter. Valid values for the flags attribute are:
    0–1

    If set to either of these values, the property does not appear in the Advanced tab.

    2–7

    Indicate reserved values.

    8–9

    If set to either of these values, the property appears in the Advanced tab.

    9–15

    Indicate reserved values.

Example: Hide Compression Property

To prevent overriding the viewer's default compression strength setting, for example, you may want to hide the existence of this property. To remove this property from the Advanced tab, you need to set the flags attribute for the compressionstrength parameter to 0 or 1 in the rcViewerConfig.xml file:

<configuration>
<allusers>
<paramsection name="itrm">
<paramsection name="rc">
<paramsection name="viewer">
<paramsection name="managed">
<parameter name="manageripaddress" value=""><parameterinfo name="pi_manageripaddress">
<attribute name="flags">17</attribute>
<attribute name="desc">Viewer: IP address of the viewer's management server.</attribute>
<attribute name="type">string</attribute>
</parameterinfo></parameter>
</paramsection>
</paramsection>
.
.
</paramsection>
      </paramsection>
      </paramsection>
            </paramsection>
   </allusers>
.
.
.
<user>
<paramsection name="itrm">
<paramsection name="rc">

<attribute name="managed">local</attribute>
.
.
.
<paramsection name="general">
<parameter name="migrated" value="no"><parameterinfo name="pi_migrated">
<attribute name="flags">1</attribute>
<attribute name="desc">Viewer: Have the rcViewer settings from RC6 been migrated</attribute>
<attribute name="type">string</attribute>
</parameterinfo></parameter>
<parameter name="defaultConnectionType" value="2"><parameterinfo name="pi_filter">
<attribute name="count">7</attribute>
<attribute name="string0">View</attribute>
<attribute name="string1">Stealth</attribute>
<attribute name="string2">Shared</attribute>
<attribute name="string3">Classroom</attribute>
<attribute name="string4">Exclusive</attribute>
<attribute name="string5">Secure</attribute>
<attribute name="string6">Meeting</attribute>
<attribute name="flags">9</attribute>
<attribute name="desc">Viewer: The default connection type to be used by the viewer.</attribute>
<attribute name="type">enum</attribute>
</parameterinfo></parameter>
<parameter name="computername" value=""><parameterinfo name="pi_computername">
<attribute name="flags">9</attribute>
<attribute name="desc">Viewer: Optional name for this computer: defaults to netbios name</attribute>
<attribute name="type">string</attribute>
</parameterinfo></parameter>
<parameter name="usealternatesmoothing" value="0"><parameterinfo name="pi_usealternatesmoothing">
<attribute name="max">1</attribute>
<attribute name="min">0</attribute>
<attribute name="flags">1</attribute>
<attribute name="desc">Viewer: Uses an alternate smoothing method when shrinking the view.</attribute>
<attribute name="type">bool</attribute>
</parameterinfo></parameter>
<parameter name="smoothwhenshrinking" value="1"><parameterinfo name="pi_smoothwhenshrinking">
<attribute name="max">1</attribute>
<attribute name="min">0</attribute>
<attribute name="flags">1</attribute>
<attribute name="desc">Viewer: Uses a smoothing filter when shrinking the view in shrink/scale to fit mode.</attribute>
<attribute name="type">bool</attribute>
</parameterinfo></parameter>
<parameter name="smoothwhenmagnifying" value="1"><parameterinfo name="pi_smoothwhenmagnifying">
<attribute name="max">1</attribute>
<attribute name="min">0</attribute>
<attribute name="flags">1</attribute>
<attribute name="desc">Viewer: Uses a smoothing filter when stretching the view in scale to fit mode.</attribute>
<attribute name="type">bool</attribute>
</parameterinfo></parameter>
<parameter name="showsessiontoolbar" value="1"><parameterinfo name="pi_showsessiontoolbar">
<attribute name="max">1</attribute>
<attribute name="min">0</attribute>
<attribute name="flags">1</attribute>
<attribute name="desc">Viewer: Display the session toolbar during a viewer session.</attribute>
<attribute name="type">bool</attribute>
</parameterinfo></parameter>
<parameter name="bandwidthlimiter" value="0"><parameterinfo name="pi_bandwidthlimiter">
<attribute name="count">9</attribute>
<attribute name="string0">Unlimited</attribute>
<attribute name="string1">4Mbit</attribute>
<attribute name="string2">2Mbit</attribute>
<attribute name="string3">1Mbit</attribute>
<attribute name="string4">512Kbit</attribute>
<attribute name="string5">256Kbit</attribute>
<attribute name="string6">128Kbit</attribute>
<attribute name="string7">64Kbit</attribute>
<attribute name="string8">32Kbit</attribute>
<attribute name="flags">9</attribute>
<attribute name="desc">Viewer: Limits the maximum network bandwidth usage of sessions.</attribute>
<attribute name="type">enum</attribute>
</parameterinfo></parameter>
<parameter name="compressionstrength" value="2"><parameterinfo name="pi_compressionstrength">
<attribute name="count">5</attribute>
<attribute name="string0">No Compression</attribute>
<attribute name="string1">Light Compression</attribute>
<attribute name="string2">Medium Compression</attribute>
<attribute name="string3">Heavy Compression</attribute>
<attribute name="string4">Extra Compression</attribute>
<attribute name="flags">1</attribute>
<attribute name="desc">Viewer: Viewer data compression strength.</attribute>
<attribute name="type">enum</attribute>
</parameterinfo>
</parameter>
.
.
.
</parameterinfo></parameter>
</paramsection>
</paramsection>
</paramsection>
</paramsection>
</user>
</configuration>

More information:

Extract XML Files