PublisherDestinationEvent_AfterPublish event
Occurs in the destination vault after publishing has ended.
Syntax
PublisherDestinationEvent_AfterPublish (sourceType, sourceAddress, _
sourceDocId, publishOptions)
Parameter | Description |
---|---|
sourceType |
The name of the source system link, for example, BC Meridian or Windows file system. |
sourceAddress |
The address of the source system, for example, DataStoreName@MachineName for the BlueCielo Meridian Enterprise link. |
sourceDocId |
The ID of document in the source system. |
publishOptions |
The publishing options that were applied to the job. If the options were specified in the source system client application, they are passed in this parameter. For information about the publishing options supported by a specific system link, see the system link description in the BlueCielo Meridian Enterprise Server Administrator's Guide. If rendering fails with any rendering module and another attempt is configured, this parameter contains the text _RETRYRENDER_<ModuleName>_ . Your implementation of this event can then perform other actions in response to the failure, such as notify a system administrator, set a property value for easy document location, and so on. |
Example
Public Sub PublisherDestinationEvent_AfterPublish(sourceType, sourceAddress, _ sourceDocId, publishOptions) Document.Log _ "Published: " & _ "From " & sourceType & " '" & sourceAddress & "'" & _ " document with ID '" & sourceDocId & "'" & _ " with options '" & publishOptions & "'" End Sub