高度なカスタマイズ > ビジネスロジックのカスタマイズ > パッケージのカスタマイズ > パッケージのタイプベースのプロパティ > タイプベースのプロパティの XML ファイル
  
タイプベースのプロパティの XML ファイル
タイプベースのプロパティは、プロパティセットを記述した XML ファイルの読み込みによって設定およびカスタマイズできます。カスタマイズされたタイプベースプロパティである XML ファイルのサンプルを次に示します。
<?xml version="1.0" encoding="utf-8"?>
<WPTypeBasedProperties xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="WPTypeBasedProperties.xsd">
<WPTypePropertySet name="Default">
<WPTypeProperties typeId="com.ptc.windchill.wp.WorkPackage">
<EnableContentControl>false</EnableContentControl>
<CollectorId>CreateWPBaseline</CollectorId>
<IncludedManifestOptions>
<ManifestOption default="true">Interactive</ManifestOption>
</IncludedManifestOptions>
<IncludedDeliveryOptions>
<DeliveryOption>Full</DeliveryOption>
<DeliveryOption>Incremental</DeliveryOption>
</IncludedDeliveryOptions>
</WPTypeProperties>
<WPTypeProperties typeId="com.ptc.windchill.wp.tdp.TechnicalDataPackage">
.
. </WPTypeProperties>
</WPTypePropertySet>
<WPTypePropertySet name="My Customized Set">
<WPTypeProperties typeId="com.ptc.windchill.wp.WorkPackage">
.
.
.
</WPTypePropertySet>
</WPTypeBasedProperties>
タイプベースのプロパティは、1 つまたは複数の <WPTypeBasedProperties> 要素を含む <WPTypePropertySet> ルート要素で構成されます。<WPTypePropertySet> 要素には、1 つまたは複数の <WPTypePropertySet> 要素が含まれます。そして、各 <WPTypeProperties> 要素には、特定のプロパティを設定するための 1 つまたは複数の要素が含まれます。1 つの <WPTypeProperties> 要素内で、<IncludedDeliveryOptions> などの特定のプロパティは 1 回しか指定されないことに注意してください。