Manual Post Publishing
It is also possible to execute only the post-publishing portion of the Publish Rules. This extra flexibility allows you to separately control publishing and the execution of a PostPublishDelegate.
In “Step 8: Matching <publish>” of Evaluating Publish Rules, it was mentioned that there is a fifth value for the ‘on’ attribute called “manual-post”. Creating a <publish> element that uses “manual-post” specifies what EPMDocuments can have manual post-publishing of their representations invoked. For example:
< … root for publishing … >
<publish on=”checkin”/>
<publish on=”manual-post” param-set=”MY_PARAM_SET”/>
</ … end of root for publishing … >
When the Representations Listing is displayed for an EPMDocument (or associated WTPart), the Publish Rules are evaluated for a match on the EPMDocument and a manual-post-publish element. If the evaluation yields Publish Job(s), the Post Publish action is enabled in the Representation Listing. If the User selects the action, the PostPublishDelegate for each Publish Job is executed.
* 
A Worker is not involved in this interaction.
Было ли это полезно?