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(...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
6
votes
Accepted
What are all the default items in transport package
The transport package format is undocumented, and not a valid extension point - therefore I doubt you'll find much information publicly.
However... it's really easy to figure this out, as all you ...
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 ...
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.
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....
3
votes
Accepted
Getting start time of Publish action for Item
You can probably use the StateChangeDate. This is the time publish transaction state was changed for the last time. It basically shows you, for how long is you publish transaction in rendering or ...
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 ...
2
votes
is there way to rollback published content when workflow step reassigned to Editor?
As Alvin suggested, I also think automatic activity is the best way to fulfill your requirement -
When your approver reject the item instead of reassign it to editor, assign it to a automatic ...
2
votes
Unpublish component with all the templates it got published
@Alvin, You are correct. After digging in to our customization stuff I have found problem with our custom resolver. Thanks for your input.
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 ...
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, ...
2
votes
Getting start time of Publish action for Item
You can of course get the PublishTransactionData object from Core Service, but for your use case I don't think it will provide you with any additional useful information.
As Andrey says, you'll want ...
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 ...
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 ...
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. ...
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 ...
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 ...
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 ...
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 ...
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>(
...
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/...
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 ...
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 ...
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 ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
publishtransaction × 44publishing × 32
2013-sp1 × 10
event-system × 10
core-service × 8
2013 × 7
2011-sp1 × 5
deployer × 5
web8.5 × 4
2011 × 3
cme × 3
publishingfailed × 3
transport × 3
web8 × 2
workflow × 2
tom.net × 2
2013-sp1-hr1 × 2
deployer-extension × 2
topology-manager × 1
upgrade × 1
odata × 1
keyword × 1
custom-resolver × 1
link-resolver × 1
renderer × 1