Document Events via the API

Discussions related to custom development with Select.
Post Reply
rdaneel
Posts: 7
Joined: Wed Jun 22, 2011 12:20 pm

Document Events via the API

Post by rdaneel »

Can we create an event that will alert us when a document is published?
We need to get Order #, Document Name, date/time/user published as
these events happen.
Mark McKenna

Re: Document Events via the API

Post by Mark McKenna »

Our event notification system does not provide document-based events out of the box, however, you could add your own print pipeline handler that provides whatever notifications you wish as jobs move through. The print job, together with the items in the print job, will provide the information you are looking for, such as the document name, order number, etc.

Refer to the topic "Print Pipeline Overview" in the Select SDK Help, which explains what the pipeline is and how to add your own. In all likelihood you would be adding a post-processing handler which executes after the actual publishing occurs. Each print job has a Target property that will tell your handler whether it was being delivered for printing, emailing, publishing, etc. so you can just respond to the the targets you want.
rdaneel
Posts: 7
Joined: Wed Jun 22, 2011 12:20 pm

Re: Document Events via the API

Post by rdaneel »

Mark,
I will look in to that, thank you!

-RD
Post Reply