Pergunta

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

Foi útil?

Solução

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);

Outras dicas

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).

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top