2

We have a requirement to generate unpublished details of a page/Dynamic component.

Is there a way to get unpublished details(time, who) of the item(page/ dynamic component) using Coreservice?

4

You can use the coreservice GetSystemWideList to get the transaction and loop through.

PublishTransactionsFilterData publishTransactionFilter 
                             = new PublishTransactionsFilterData();
List<PublishTransactionData> publishTransactionsList 
                             = _Client.GetSystemWideList(publishTransactionFilter).ToList();

PublishTransactionData - Items property will have all the information you need . You could also apply PublishTransactionState filter on PublishTransactionsFilterData.

Hope this information helps.

  • This particular code snippet gives the whole publish/unpublish transactions record available in tridion. Is there a way to get publish/unpublish details for a single Item(Page/Dynamic component) using coreservice ? I can see in the CM DB PublishStates table has an entry for a Item like state cahnged and 0 - 1 to indicate published or not ... ? Is that possible to get that information along with who did it . – user1357019 Sep 13 '13 at 23:58
  • 0 or 1 just information whether it is published or not. It does not provide details. Since you need unpublish details this is only way AFAIK. You could also check GetListPublishInfo for a specific item, but that wont give you whether if it is unpublished. It provides only publish info (user/date etc..) – Ram G Sep 16 '13 at 4:43
1

These details are stored in the Publishing Queue, there you will find information about Who, time, publication, status.

  • Sorry i missed it in my question. i wanted to get it using Coreservice.. – user1357019 Sep 12 '13 at 0:10

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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