Reputation: 197
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
Upvotes: 2
Views: 232
Reputation: 6191
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).
Upvotes: 0
Reputation: 13483
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);
Upvotes: 2