17 votes
Accepted

How do I retrieve publish failure data with the core service?

Via core service you can retrieve PublishTransactionData object, which contains all info about transaction itself: PublishTransactionData transaction = (PublishTransactionData)Client.Read(...
Marko Milic's user avatar
  • 8,930
9 votes
Accepted

Overriding Publishing Queue

For #1 publishing priority is the way to go. Maybe changing the default priority to "low" will give you enough of an override to push things through quickly. Using publishing priorities in conjunction ...
Chris Morgan's user avatar
  • 7,327
7 votes

Overriding Publishing Queue

What you are requiring is mainly to use publish queue in a way its not meant to be used. For #1 you want to publish items before all others. That is the exact purpose of "high" priority. Problem is ...
Marko Milic's user avatar
  • 8,930
7 votes
Accepted

Can Publish Transaction be updated via core service?

I don't believe this is possible. We had a similar case where we needed to increase the priority of some items in the queue. I tried similar in 2011 but used Save and not Update. It threw a similar ...
Dave Forber's user avatar
  • 1,441
6 votes

How do I retrieve publish failure data with the core service?

To mimic the filtering capabilities of the Publishing queue, take a look at the PublishTransactionsFilterData and its properties. Use the filter paired with GetSystemWideList or GetSystemWideListXml ...
Atila Sos's user avatar
  • 6,290
6 votes
Accepted

Publishing Component Template so it's queryable by oData

You could create a (dummy) Page based on a Page Template which collects and renders the required CT metadata of all CTs (in JSON or XML format). Publishing the metadata of all CTs can be achieved by ...
Rick Pannekoek's user avatar
6 votes
Accepted

Order in which resolved- and processed items are populated in PublishTransaction save event

Regarding the "Why are there two 'Rendering' states?", or more accurately "Why are there two Save events with State 'Rendering'?": you already more or less answered the question yourself -- the first ...
Rick Pannekoek's user avatar
4 votes

Publish Transaction PublishContexts returns null from Core Service

The PublishContexts property is null because you are requesting a list of PublishTransactions and, in general, for lists only a subset of the properties are loaded. If you read an individual ...
Rick Pannekoek's user avatar
4 votes

Auto refresh the Publishing Queue without modifying the Tridion product files

Another recently available alternative would be to install Alchemy onto your CMS system and then us the Publish Queue Refresher plug-in.
Jonathan Williams's user avatar
3 votes

Not able to publish any item in SDL WEB 8.5

It looks like you cannot save transaction since your code is crashing at following: at Tridion.ContentManager.Publishing.PublishTransaction.Save() This, based on your code, can be because of 2 ...
Marko Milic's user avatar
  • 8,930
3 votes

Can Publish Transaction be updated via core service?

It is not possible to update publish priority of transactions via core service. You can update it directly over database, but you also need to update queue messages table so that publisher picks it up....
user2377's user avatar
2 votes

How to track the changes made on Page?

The SetPublishState event is only called after a successful transaction, reference If you use this event on transactioncommitted, then current publish would have already succeeded and the time from ...
Hiren Kaku's user avatar
  • 3,728
2 votes

How to track the changes made on Page?

Tridion does not store publish information other than the latest publish. You will have to write custom code to capture this information. We had the need to show publish info like who published, when, ...
Vipin Kothari's user avatar
2 votes

From where is it better to stop publish in Web 8 or Web 8.5

Like Rick asked in the comment, it depends on what you want to achieve... If you use a Custom Resolver, you will always end up with Publish Transactions, even if you remove all the items from the ...
Atila Sos's user avatar
  • 6,290
2 votes
Accepted

PublishTransaction save event not recording all publish states

We were able to narrow down the issue to the fact that not all publishing happens in a single server. The templating logs that normally gets logged in Event Viewer when a single page is published is ...
Sabarish Senthilnathan's user avatar
2 votes

PublishTransaction save event not recording all publish states

I think Raimond's comment is spot on, when creating an event handler, you have to be aware that this can be called by multiple threads and simply trying to write to a file without proper locking will ...
Bart Koopman's user avatar
  • 29.6k
2 votes

Publishing Component Template so it's queryable by oData

I am posting this as answer, and not as comment to your question because its easier this way. What we did is used TOM.NET API during rendering to extract all meta we need about component templates. ...
Marko Milic's user avatar
  • 8,930
1 vote
Accepted

An error occurred while communicating with Topology Manager 'http://localhost:81/ttm201601'

You find nothing in the publisher logs or in the Topology logs about the failed transaction id or the id of the item you are publishing. The problem is caused if the W3SVC service is not running. ...
Chris Mills's user avatar
  • 2,221
1 vote
Accepted

Extending the Publish and Transport processes

Mentioned extension points are “semi-public” CM Publisher extension points. This means that these are technically speaking public APIs, but they are intentionally kept a bit under the radar, because ...
Rick Pannekoek's user avatar
1 vote

Deadlock problems in publication queue

Seems like it causes the number of deployer/publisher processes specified in the Tridion Snap-in exceeds the number of CPU cores. Update Publisher Settings, deployer and rendering threads to be less ...
Velmurugan's user avatar
  • 8,115
1 vote

Overriding Publishing Queue

It seems you want to prevent big Publish Transactions to be queued with High priority, to ensure that urgent, small ones can get priority (user manually sets High priority) and will be processed ...
Rick Pannekoek's user avatar
1 vote

How to get the Publish & Republish state explicitly of an item on PublishTransaction Event at Committed phase?

Given below is the solution for the problem: Subscribe to the event EventSystem.Subscribe<PublishTransaction, SaveEventArgs>( ...
Hiren Kaku's user avatar
  • 3,728
1 vote

How to handle publish status after upgrade Tridion to SDL Web?

Depending on the number of Pages/Publications you might consider one of the following Using CoreService to automate the crawling, checking and publishing of assests Publishing Structure Group/...
Chris Morgan's user avatar
  • 7,327
1 vote

Event System PublishEventArgs page subscribe is not being triggered for Component publish and XPM finish editing

A publish event relates specifically to the item you are publishing, and not to other items that are resolved during the publishing process. It is therefore expected behaviour that the event should ...
Dominic Cronin's user avatar
1 vote

Event System PublishEventArgs page subscribe is not being triggered for Component publish and XPM finish editing

Have you checked the logs? Are you sure that the event is not triggering and is not some error in the function? You could throw an exception in the first line of your "SetLocalizedPageFileName" ...
Julián Hernández's user avatar
1 vote
Accepted

Deleting scheduled items in the Publish Queue not cleaning up properly

Writing as an answer as it will be huge comment! We raised this with Tridion Support (in Feb 2016) and this is the exact response we got: " After some investigation, I came to find out that this ...
Vipin Kothari's user avatar
1 vote

Publish Transaction PublishContexts returns null from Core Service

By recreating the PublishTransactionData object again with transaction id, I am able get the PublishContext. Not sure whether I was doing something wrong or core service issue, but below code is ...
Sourav Garg's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible