6

I was wondering whether it is possible to know what publishing action an editor has chosen in the GUI. We are facing a requirement to check the date that is entered at the 'Place Content Online Later' field.

After going through the API documentation, my assumption is that the 'DeployAt' property of the PublishInstruction class contains this information. Is that assumption correct?

2 Answers 2

8

It's the same event as publishing 'now'.

The difference is simply that the PublishInstruction will have the StartAt property set to the date/time selected for rendering, and the DeployAt property set to the date/time selected for placing the content online.

1

If an item is scheduled to publish later, it is still entered into the Publishing Queue. You can use the Core Service to retrieve all items in the Publishing Queue and also get the items scheduled to Publish Later, including information about the item. Such a script can use a Windows Service.

You can take a look at my example here of how to query the Publish Queue and also an example of a Windows Service.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.