corresponding method in tridion core service for GetListPublishItems

StackOverflow https://stackoverflow.com/questions/15335887

  •  22-03-2022
  •  | 
  •  

Вопрос

Is there any method in tridion core services which can give me a list of components published on a specific target. Using search filter data i can get the component which are published it will not give me result for a specifi target.

Regards, Rajendra

Это было полезно?

Решение

You need to use PublishTransactionsFilterData and then either GetSystemWideListXml or GetSystemWideList methods:

var filter = new PublishTransactionsFilterData();
filter.PublicationTarget = new LinkToPublicationTargetData{ IdRef = "tcm:x-xx-xxx"};
client.GetSystemWideListXml(filter);
client.GetSystemWideList(filter);

Другие советы

What you want to do is called resolving. You can use ICoreService2011.ResolveItems (or something similar depending on which core service/client you are using).

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top