Bypass Teamcenter site preferences

How to bypass Teamcenter site preferences, e.g. for loading customizations:

1.      Set the following environment variables
SET TC_PREFERENCES_OVERRIDE_FROM_FILE=TRUE
SET TC_PREFERENCES_OVERLAY_FILE=<<path>>\PREF_BYPASS.xml

2.      Create the preference overlay file <<path>>\PREF_BYPASS.xml
Ex. Which overrides the customizations to load:

<?xml version="1.0" encoding="ISO-8859-1"?>
<preferences>
  <category name="General">
    <category_description>Teamcenter Preferences</category_description>
    <preference name="TC_customization_libraries" type="String" array="true" disabled="false">
      <preference_description>Test</preference_description>
      <context name="Teamcenter">
        <value></value>
      </context>
    </preference>
  </category>
</preferences>


Note that you can add whatever site preference in this file as needed.
The format etc. can be taken from Teamcenter by exporting preferences,
either using the Rich Client (Edit ŕ Options…) or by using the preferences_manager
command line utility.

From: Viersen, Jouke <jouke.viersen@siemens.com>
Date: 9 Nov 2010

