Skip to main content
replaced http://tridion.stackexchange.com/ with https://tridion.stackexchange.com/
Source Link

I want to publish several components from a core service client application at the same time within a single publish transaction. I thought this postthis post might tell me the answer, but while it gives some options (using custom resolvers/templating code) these are not applicable in my case, as the logic to choose which components to publish lies in the application code, and cannot be put in a resolver/template.

I noticed that if I use:

SessionAwareCoreServiceClient.Publish(string[] ids, 
       PublishInstructionData publishInstruction, string[] targets, 
       PublishPriority? priority, ReadOptions readOptions)

A separate transaction is created for each item and target combination. Is it possible to have all the items in one transaction per target?

I want to publish several components from a core service client application at the same time within a single publish transaction. I thought this post might tell me the answer, but while it gives some options (using custom resolvers/templating code) these are not applicable in my case, as the logic to choose which components to publish lies in the application code, and cannot be put in a resolver/template.

I noticed that if I use:

SessionAwareCoreServiceClient.Publish(string[] ids, 
       PublishInstructionData publishInstruction, string[] targets, 
       PublishPriority? priority, ReadOptions readOptions)

A separate transaction is created for each item and target combination. Is it possible to have all the items in one transaction per target?

I want to publish several components from a core service client application at the same time within a single publish transaction. I thought this post might tell me the answer, but while it gives some options (using custom resolvers/templating code) these are not applicable in my case, as the logic to choose which components to publish lies in the application code, and cannot be put in a resolver/template.

I noticed that if I use:

SessionAwareCoreServiceClient.Publish(string[] ids, 
       PublishInstructionData publishInstruction, string[] targets, 
       PublishPriority? priority, ReadOptions readOptions)

A separate transaction is created for each item and target combination. Is it possible to have all the items in one transaction per target?

Tweeted twitter.com/#!/StackTridion/status/353798733353332736
Source Link
Will Price
  • 16.4k
  • 1
  • 21
  • 61

Can I put multiple items into the same publish transaction using Core Service?

I want to publish several components from a core service client application at the same time within a single publish transaction. I thought this post might tell me the answer, but while it gives some options (using custom resolvers/templating code) these are not applicable in my case, as the logic to choose which components to publish lies in the application code, and cannot be put in a resolver/template.

I noticed that if I use:

SessionAwareCoreServiceClient.Publish(string[] ids, 
       PublishInstructionData publishInstruction, string[] targets, 
       PublishPriority? priority, ReadOptions readOptions)

A separate transaction is created for each item and target combination. Is it possible to have all the items in one transaction per target?