Servigistics InService Publishing and Loading > Using Publishing and Loading > TAL Configuration > Configuring Priority in IMAN
  
Configuring Priority in IMAN
Each bundle source is supplied with a priority to enable or disable updates to any object. A source with highest priority is authorized to make any changes to the object with a same or lowest priority source, but the reverse is not true. This is configured through the IMANConfig.xml configuration file while defining a source. Priority attributes accepts only integer values. A higher value means higher priority. If a source tries to update or delete an object that it does not own, then it must have an equal or higher priority than the current owner or the operation is ignored.
For example, a part with the name PL1 belongs to the source FLW. Whenever the PTC source tries to update the part; updates are allowed since the priority of PTC is greater than FLW. However, if FLW tries to update an object that PTC owns, that is not allowed since its priority is less than that of PTC.
Following is an example of an IMANConfig.xml configuration file:

<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>