Community Tip - Stay updated on what is happening on the PTC Community by subscribing to PTC Community Announcements. X
Hi All,
I am using Windchill 10,
I read help files and i want to create a new Custom Product Template as per my folder structure.
First i Download the OOTB product Template, open its .xml file changes made in XML file,
make a Zip file along with standerd.dtd file.
When i create a new template its Create but when i try to Create a new Product by using this new Custom template its showing this bellow error. error image is attched.
My edited portion of xml file as bellow.
-<OrgStructure>
<!-- ****************************************************************** -->
<!-- Sample Domain Structure -->
<!-- ****************************************************************** -->
<!-- Example (This is not created by default) <DomainStructure> <domainLevel> <domainName>Engineering</domainName> <domainLevel> <domainName>Supplier</domainName> </domainLevel> </domainLevel> <domainLevel> <domainName>Manufacturing</domainName> </domainLevel> <domainLevel> <domainName>Sales</domainName> </domainLevel> <domainLevel> <domainName>Management</domainName> </domainLevel> <domainLevel> <domainName>Contract Mfg</domainName> </domainLevel> </DomainStructure> -->
<!-- ****************************************************************** -->
<!-- ****************************************************************** -->
<!-- Default Folder Structure -->
<!-- ****************************************************************** -->
<!-- Create a folder /PromotionRequests for the storage of Promotion Request objects -->
<!-- Orignal folder Structure*** <FolderStructure> <cabinet>/Default</cabinet> <domainName>Default</domainName> <rootPath>/</rootPath> <subFolder>Promotion Requests</subFolder> </FolderStructure> **** Ends Here **** -->
<!-- ************************************************ ***********Custom Folder Structure Created by Vivek ******* -->
-<FolderStructure> <cabinet>/Default</cabinet> <domainName>Default</domainName> <rootPath>/</rootPath> -<nestedFolder> <name>Designs</name> <domainName>/Default/Engineering</domainName> -<nestedFolder> <name>Models</name> -<nestedFolder> <name>Make</name> </nestedFolder> -<nestedFolder> <name>Outsource</name> <domainName>/Default/Engineering/Supplier</domainName> </nestedFolder> </nestedFolder> -<nestedFolder> <name>Mechanical</name> </nestedFolder> -<nestedFolder> <name>Electrical</name> </nestedFolder> -<nestedFolder> <name>Software</name> </nestedFolder> -<nestedFolder> <name>Testing - QA</name> </nestedFolder> </nestedFolder> -<nestedFolder> <name>Sales and Marketing</name> <domainName>/Default/Sales</domainName> -<nestedFolder> <name>Application Engineering</name> </nestedFolder> -<nestedFolder> <name>White Papers</name> </nestedFolder> -<nestedFolder> <name>Brochures</name> </nestedFolder> </nestedFolder> -<nestedFolder> <name>General</name> -<nestedFolder> <name>Industry Links</name> </nestedFolder> -<nestedFolder> <name>Standards</name> -<nestedFolder> <name>Mechanical</name> </nestedFolder> -<nestedFolder> <name>Electrical</name> </nestedFolder> -<nestedFolder> <name>Software</name> </nestedFolder> </nestedFolder> </nestedFolder> -<nestedFolder> <name>Manufacturing</name> <domainName>/Default/Manufacturing</domainName> -<nestedFolder> <name>Mfg Engineering</name> </nestedFolder> -<nestedFolder> <name>Mfg Processes</name> </nestedFolder> -<nestedFolder> <name>Subcontractor</name> <domainName>/Default/Contract Mfg</domainName> </nestedFolder> </nestedFolder> -<nestedFolder> <name>Purchasing</name> </nestedFolder> -<nestedFolder> <name>Management</name> <domainName>/Default/Management</domainName> </nestedFolder> </FolderStructure>
The problem is that system cann't initialize your domain. you had defined "DomainStructure", but you make me confused that why did you annotate it.
<!-- Example (This is not created by default)
<DomainStructure>
<domainLevel>
<domainName>Engineering</domainName>
<domainLevel>
<domainName>Supplier</domainName>
</domainLevel>
</domainLevel>
<domainLevel>
<domainName>Manufacturing</domainName>
</domainLevel>
<domainLevel>
<domainName>Sales</domainName>
</domainLevel>
<domainLevel>
<domainName>Management</domainName>
</domainLevel>
<domainLevel>
<domainName>Contract Mfg</domainName>
</domainLevel>
</DomainStructure>
-->
you should delete the <!-- --> tags and then make the initialization of DomainStructure enable.
Not sure about Windchill 10.0 but in 9.1 the easiest and quickest way that we found was: