其他 Windchill 功能 > 服務資訊管理 > 配置 Windchill Service Information Manager 及Service Parts > 服務發佈設定 > 束發佈輸出
  
束發佈輸出
束是一種可用作 InService 的輸入的輸出類型。從 WVS 傳送的檔案稱為有效負載,其中包含 Arbortext Publishing Engine 要處理的內容與中繼資料。然後,系統會根據 XHTML 或 XML,以 InService 所使用的格式產生束。
束要求在使用者選擇的發佈規則中指定要在發佈期間套用的輸出類型與參數。如需詳細資訊,請參閱建立服務發行規則服務 Worker 參數
XML 配套會在發佈規則中指定為 output="xmlbundle"。XML 束發佈流程會在 XML 中產生內容。
* 
有關 Servigistics InService 如何使用束的資訊在其文件集中提供。
配套檔案可以包含各種檔案與一個資訊清單。如需有關有效負載內容的資訊,請參閱「有效負載與資訊清單」
設定服務生失效資料格式
依預設,針對配套版本 2.2 及之前版本,服務生失效資料會作為目標 Object 元素的多個內容儲存在 manifest.xml 的有效負載中。例如:
<Object uri=...">
...
<Metadata id="ServiceEffectivity_183695" source="...">
<Property token="thePersistInfo.updateStamp">
<Value>2016-06-121 18:12:44.0</Value>
</Property>
<Property token="beginDateRange">
<Value>2016-06-21 00:00:00.0</Value>
</Property>
<Property token="thePersistInfo.modifyStamp">
<Value>2016-06-21 18:12:44.0</Value>
</Property>
<Property token="effTarget">
<Value>EPMDocument_183639</Value>
</Property>
<Property token="effectivityType">
<Value>date</Value>
</Property>
<Property token="effContextReference">
<Value ref="x-wc://3f81b557fbc1da98:wt.part.WTPartMaster:0000000003"/>
</Property>
</Metadata>
...
</Object>
或者,您可以選擇以 APEX 格式儲存服務生失效資料。欲執行此操作,請在 Windchill site.xconf 檔案中將 useApexServiceEffectivity 內容設定為 "true",如下所示:
<Property name="com.ptc.arbortext.windchill.publisher.toggle.
useApexServiceEffectivity" overridable="true" default="true" />
useApexServiceEffectivity 內容設定為 "true",會以 APEX 格式將生失效資料儲存在目標 Object 元素的第一個 Metadata 元素中。例如:
<Object uri=...">
<Metadata id="EPMDocument_183639" source="...">
...
<Property token="ServiceEffectivity">
<Value>(AND (PRODUCT 'x-wc://3f81b557fbc1da98:wt.part.WTPartMaster:0000000003')
(DATE_RANGE '2015-12-01 00:00:00.0' ''))</Value>
</Property>
...
</Metadata>
...
</Object>
請注意,以下內容不會以 APEX 格式顯示︰
thePersistInfo.updateStamp
thePersistInfo.modifyStamp
effTarget
effTarget 內容的值與 APEX 服務生失效資料所在的 Metadata 元素的 id 屬性相同。thePersistInfo.updateStampthePersistInfo.modifyStamp 內容不會顯示在有效負載中。
欲將 APEX 格式的生失效資料與配套版本 2.2 搭配使用,您必須將 useApexServiceEffectivity 設定為 "true"。對於 2.2 之後的配套版本,生失效資料格式的預設值為 APEX 格式。針對這些版本,將 useApexServiceEffectivity 設定為 "false" 可避免使用 APEX 格式的生失效資料。