Does PublishTransactionsFilter exist in Tridion versions prior to 2011?

I am trying to use Alex Klock's solution regarding a publish request to find out if everything is in it. His post about it here: http://www.codedweapon.com/2012/03/tridion-publishengine/

I am using Tridion 2009 SP1, but it seems I do not have PublishTransactionsFilter available in my abse code. At the top of my file, I included: using Tridion.Contentmanager.Publishing;

Any examples of how to get something similar to working in Tridion 2009? Especially the PublishEngine.GetPublishTransactions method. I cannot find a similar method in API 2009. Only methods that need specific TCMUri or XML.

+6
source share
2 answers

You will need to use the ManagementInfo class, which is documented in the help file "TOM 2009 SP1.chm Configuration and Configuration Guide" that ships with the SDL Tridion 2009.

Quote:

The ManagementInfo object supports the following methods:

GetListPublishQueue Gets a list of items in the publish queue or scheduler. GetListPublishTransactions Gets a list of transaction publications.

GetListPublishQueue: Summary. Gets a list of items in the publication. queue or scheduler.

These classes and methods are contained in the COM version of the TOM DLL, so you will need to use Interop to access it from Microsoft.NET

+4
source

Yes, you yourself found it, but really, to confirm, the GetPublishTransactions method GetPublishTransactions specific to SDL Tridion 2011.

The link below uses the API API to search the queue.

+4
source

Source: https://habr.com/ru/post/910795/


All Articles