Thursday, July 4, 2013

Solution: Teamcenter 9.1 deployment Issue "CreI Error"

CreI aka CreateInput Class:

While creation of each item type, a CreI class of that respective item is created which stores under a CreI POM class.

From TC 9.1 this CreI has been removed. So while deploying 8.3 templates in 9.1 you may encounter an issue related to this "CreI".

Solution:

1. Write an XML containing <Delete> element to delete particular attribute from your 8.3 template.

<?xml version="1.0" encoding="UTF-8"?>
<!--
@<COPYRIGHT>@
==================================================
Copyright 2009.
Siemens Product Lifecycle Management Software Inc.
All Rights Reserved.
==================================================
@<COPYRIGHT>@
-->
<TcBusinessData xmlns="http://teamcenter.com/BusinessModel/TcBusinessData"
    Date="Wed Jun 19 09:52:09 AM 2013" TcVersion="">
<Delete>
   <OperationInputType artifactName="E3AATestCreFormCreI" description="" isAbstract="false" parentTypeName="FormCreI" typeClassName="E3AATestCreFormCreI" typeName="E3AATestCreFormCreI">
     <OperationInputProperty compoundObjectConstant="" compoundObjectType="" description="" fieldType="SimpleProperty" propName="e3CompletionDate"/>
     <OperationInputProperty compoundObjectConstant="" compoundObjectType="" description="" fieldType="SimpleProperty" propName="e3NoOfSamples"/>
     <OperationInputProperty compoundObjectConstant="" compoundObjectType="" description="" fieldType="SimpleProperty" propName="e3TestDoneBy"/>
   </OperationInputType>
</Delete>
</TcBusinessData>

2. Run "business_model_updater.bat" by providing the xml created as input.

business_model_updater -u=infodba -p=infodba -g=dba -mode=upgrade -update=all -process=all -file=C:\TcUpgradeFixes\fix.xml -log=C:\TcUpgradeFixes\bmideupd1.log

No comments:

Post a Comment