Servigistics InService 發佈與載入 > 使用發佈與載入 > TAL 組態 > 在 IMAN 中配置優先順序
  
在 IMAN 中配置優先順序
每個配套來源都隨附有啟用或禁用任何物件更新的優先順序。具有最高優先順序的來源有權變更具有相同或最低優先順序來源的物件,但反之則行不通。優先順序在定義來源時透過 IMANConfig.xml 組態檔案配置。優先順序屬性只接受整數值。值越大表示優先順序越高。如果來源嘗試更新或刪除並非其所有的物件,則該來源的優先順序必須等於或高於目前擁有者的優先順序,否則就會略過操作。
例如,名稱為 PL1 的零件屬於來源 FLW。那麼,當 PTC 來源嘗試更新該零件時,就會允許更新,因為 PTC 的優先順序高於 FLW。但是,如果 FLW 嘗試更新 PTC 擁有的物件,則不允許更新,因為其優先順序低於 PTC。
以下是 IMANConfig.xml 組態檔案的範例:

<IMANConfig>
<!-
OOTB bundle source “PTC” with priority 3. Even it specifies
identifying attributes per type
-->
<Source name="PTC" priority="3">
<Type name="PH">
<IdentifyingAttributes>
<Property name="uri"/>
</IdentifyingAttributes>
<OtherAttributes>
<Property name="objNumber"/>
<Property name="orgName"/>
</OtherAttributes>
</Type>
<Type name="PDFM">
<IdentifyingAttributes>
<Property name="uri"/>
<Property name="PTC_DD_LANGUAGE"/>
</IdentifyingAttributes>
<OtherAttributes>
<Property name="objNumber"/>
<Property name="orgName"/>
<Property name="SIM.authoringLanguage"/>
<Property name="SIM.lastUpdated"/>
</OtherAttributes>
</Type>
<Type name="IEXML">
<IdentifyingAttributes>
<Property name="uri"/>
<Property name="PTC_DD_LANGUAGE"/>
</IdentifyingAttributes>
<OtherAttributes>
<Property name="objNumber"/>
<Property name="orgName"/>
<Property name="SIM.authoringLanguage"/>
<Property name="SIM.lastUpdated"/>
</OtherAttributes>
</Type>
<!-
Configuration for cascade sequence search.
If PARTS is not found, based on identifying attributes specified
in this Source; then the identifying mechanism will look for bundle
sources defined in the cascade sequence.
-->
<Type name="PARTS" CascadeSeq="FLW">
<IdentifyingAttributes>
<Property name="uri"/>
</IdentifyingAttributes>
<OtherAttributes>
<Property name="objNumber"/>
<Property name="orgName"/>
</OtherAttributes>
</Type>
<Type>
<IdentifyingAttributes>
<Property name="uri"/>
</IdentifyingAttributes>
<OtherAttributes>
<Property name="objNumber"/>
<Property name="orgName"/>
</OtherAttributes>
</Type>
</Source>
<!-
OOTB bundle source “FLW” with priority 1.
For all types of objects present in FLW bundles, the
identifying criterion is always the same.
-->
<Source name="FLW" priority="1">
<Type>
<IdentifyingAttributes>
<Property name="objNumber" xpath="OBJNUMBER"/>
<Property name="orgName" xpath="ORGNAME"/>
</IdentifyingAttributes>
<OtherAttributes>
<Property name="uri"/>
</OtherAttributes>
</Type>
</Source>
</IMANConfig>