要點
• 多個「編寫應用程式」正在使用一個 <param-set>。
• 將會發佈所有 Creo Parametric 與 SolidWorks 編寫的 EPMDocument,但只針對擁有指定的全域屬性 (沒有考慮其值) 的那些內容呼叫 EPMPostPublishDelegate。
• EPMPostPublishDelegate 可以由使用者針對透過這些「編寫應用程式」先前發行的任何「表示」呼叫。
<rules xmlns="http://www.ptc.com"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.ptc.com PublishRulesSchema.xsd">
<param-set name="Share with Arbortext">
<post-publish
name="delegate">com.ptc.wvs.server.publish.EPMPostPublishDelegate</
post-publish>
<post-publish name=”type”>DynamicDocument</post-publish>
<post-publish name="cad-authoring-application">ARBORTEXT</
post-publish>
<post-publish name="cad-type">PUB_CADVIEWABLE</post-publish>
<post-publish name="name">GDD from {AUTHORING_APP} {EPM_NUMBER}</
post-publish>
<post-publish name="published-content-link">create</post-publish>
</param-set>
<authoring-application name="PROE">
<epm-iba iba="PUBLISH TO ARBORTEXT">
<publish on="checkin" param-set="Share with Arbortext"/>
<publish on="create-representation" param-set="Share with
Arbortext"/>
<publish on="schedule" param-set="Share with Arbortext"/>
</epm-iba>
<publish on="checkin"/>
<publish on="create-representation"/>
<publish on="schedule"/>
<publish on="manual-post" param-set="Share with Arbortext"/>
</authoring-application>
<authoring-application name="SOLIDWORKS">
<epm-iba iba="PUBLISH TO ARBORTEXT">
<publish on="checkin" param-set="Share with Arbortext"/>
<publish on="create-representation" param-set="Share with
Arbortext"/>
<publish on="schedule" param-set="Share with Arbortext"/>
</epm-iba>
<publish on="checkin"/>
<publish on="create-representation"/>
<publish on="schedule"/>
<publish on="manual-post" param-set="Share with Arbortext"/>
</authoring-application>
</rules>