General configuration and customizing tasks
Restructure BOP product views using an upgrade utility
If you are upgrading from earlier versions of Teamcenter to the 11.6 release, you may encounter some problems with product views. You can use the upgrade_pv_with_visiblelineinfos utility to identify and correct broken product views.
Using the utility with various mode types lets you upgrade product views in different ways. When mode=bopwithpv, you can generate an XML file that lists all affected product views.
Example
C:\Siemens\Tc116\tcroot\tc_menu> upgrade_pv_with_visiblelineinfos -u=zz -p=zz g=myGroup -mode=bopwithpv -outputfile=13Nov2018.xml -log=13Nov.log
The file lists each individual BOP with its itemID and other attributes, along with each affected product view (PV). You can compare the product views in the XML by opening the BOPs in Teamcenter and performing a product view search.
You can also extract item IDs for product views that need to be upgraded by setting -mode=pvsneedingmigration. The XML file can be used to upgrade all affected product views reported in a BOP by running the utility once more and setting rootitemid to the BOP itemID.
Example
C:\Siemens\Tc116\tcroot\tc_menu> upgrade_pv_with_visiblelineinfos -u=zz -p=zz g=myGroup rootitemid=L029084 -log=13Nov.log
Once you have run the utility, you can verify that the product views have been upgraded by running the utility again as in the first example. If fixed, the product views do not appear in the resulting XML file.
You can also batch update all BOPs in the XML file by setting -mode=upgradepv and specifying the XML file as the inputfile.
Example
C:\Siemens\Tc116\tcroot\tc_menu> upgrade_pv_with_visiblelineinfos -u=zz -p=zz g=myGroup -mode=upgradepv -inputfile=13Nov2018.xml -log=13Nov.log
If you have a collaboration context (CC) that contains multiple BOPs, you can also use the utility to upgrade all BOPs contained in it by extracting BOP IDs.
Example
C:\Siemens\Tc116\tcroot\tc_menu> upgrade_pv_with_visiblelineinfos -u=zz -p=zz g=myGroup -cc=myCC -log=13Nov.log
To force upgrades to affected views in a BOP and thereby verify all are updated, you can set -mode=upgradeallpvs
Example
C:\Siemens\Tc116\tcroot\tc_menu> upgrade_pv_with_visiblelineinfos -u=zz -p=zz g=myGroup -mode=upgradeallpvs -log=13Nov.log
Source: https://docs.sw.siemens.com/en-US/doc/282219420/PL20251212545240207.plm00260/xid1631526 · retrieved 2026-07-11