Teamcenter Preference Category(s) For Customer Changed Preferences

2022-08-17T13:54:50Z
Core Functions

Summary


Details

Customer Changed Preferences Get Over-Written When Running TEM

PreferenceCategorysForCustomerChangedPreferences.docx (1.13 MB)

Solution

Create Preference Category(s) For Customer Changed Preferences For Export/Import and Filtering

 

  • Create Category

    RAC

    Edit -> Options

     

    Enter New Category -> Create




     

    To Create A -Sub-Category -> Select Parent Category -> Enter New Sub-Category -> Create



    Utility

    NOTE: Only system administrators can create new categories using the -mode=category option

    NOTE: This will create category(s)/sub-category(s) only. Importing preferences from a file will create category(s)/sub-category(s) as well as assign preferences to the category(s)/sub-category(s)

    preferences_manager -u=user-id -p=password -g=dba -mode=category -action=CREATE -categories=GTAC,GTAC.GTACSUB1 -delimiter=,

     

    Result:

     


    • Assign Category/Sub-Category

       

      RAC

      Find Preference To Change Category -> Edit -Change Category -> Save


      Utility

      Export Preferences to change category(s)/sub-category(s)

       preferences_manager -u=user-id -p=password -g=dba -mode=export -scope=site -out_file=c:\temp\GTAC_GTACSite_Preferences.xml

      Edit XML File -> Change category name -> Add <preference xxxx>…</preference> into category

      IS:

       <?xml version="1.0" encoding="windows-1252"?>

                <preferences version="10.0">

                      <category name="GTAC">\

                                      <category_description>No description ...         

                       </category_description>

                                      <preference name="Fms_BootStrap_Urls" type="String"

                                      array="true" disabled="false"

                                      protectionScope="Site" envEnabled="true">

                                                  <preference_description>Indicates

                                                  ...

                                                   http://hostabc:4447.

                                                  </preference_description>

                                                  <context name="Teamcenter">

                                                                <value>http://gtac1:4544</value>

                                                  </context>

                                      </preference>

                      </category>

               </preferences>

       

      WAS:

       <?xml version="1.0" encoding="windows-1252"?>

                <preferences version="10.0">

                      <category name="General">\

                                      <category_description>No description ...         

                       </category_description>

                                      <preference name="Fms_BootStrap_Urls" type="String"

                                      array="true" disabled="false"

                                      protectionScope="Site" envEnabled="true">

                                                  <preference_description>Indicates

                                                  ...

                                                   http://hostabc:4447.

                                                  </preference_description>

                                                  <context name="Teamcenter">

                                                                <value>http://gtac1:4544</value>

                                                  </context>

                                      </preference>

                      </category>

               </preferences>

       

      Import

      NOTE: Importing preferences from a file will create category(s)/sub-category(s) as well as assign preferences to the category(s)/sub-category(s)

       

      preferences_manager -u=user-id -p=password -g=dba -mode=import -scope=site -file=c:\temp\GTAC_GTACSite_Preferences.xml -action=OVERRIDE

       

      Result


      • Export Category/Sub-Category Preferences

         RAC

        Edit -> Options


         

        Search -> Export -> Select Location -> Select Category

         


        Enter File And Location -> Export



        Utility

        Export Preferences to change category(s)/sub-category(s)

         preferences_manager -u=user-id -p=password -g=dba -mode=export -scope=site -mode=category -categories=GTAC -out_file=c:\temp\GTAC_GTACSiteExport_Preferences.xml

        Result

         <?xml version="1.0" encoding="windows-1252"?>

                  <preferences version="10.0">

                        <category name="GTAC">\

                                        <category_description>No description ...         

                         </category_description>

                                        <preference name="Fms_BootStrap_Urls" type="String" 

                                        array="true" disabled="false"

                                        protectionScope="Site" envEnabled="true">

                                                    <preference_description>Indicates

                                                    ...

                                                     http://hostabc:4447.

                                                    </preference_description>

                                                    <context name="Teamcenter">

                                                                  <value>http://gtac1:4544</value>

                                                    </context>

                                        </preference>

                        </category>

                 </preferences> 

        • Import Category/Sub-Category Preferences

           

          RAC

          Edit -> Options


          Search -> Import -> Enter File Location -> Select To Location -> Select Modes -> Import



          Utility

          NOTE: Importing preferences from a file will create category(s)/sub-category(s) as well as assign preferences to the category(s)/sub-category(s)

          preferences_manager -u=user-id -p=password -g=dba -mode=import -scope=site -file=c:\temp\GTAC_GTACSite_Preferences.xml -action=OVERRIDE

           

          Result


           

           

          Notes

          KB Article ID# PL8629122

          Contents

          SummaryDetails

          Associated Components

          Core Functions - Client