I am on SDL Tridon 2013, Using Core services I have to export all site content. I am looking for a performance way of doing it. I have used loadXml based on the publication id and itemtype page to get tcm id of the page. Now Iterating over pages and their presentation component getting data seems to be taking too much time using the getItem query. is there another way to get it real quick?
var listOfPages=SessionAwareCoreServiceClient.GetListXml(tcmId, filter)
//loop over list & get page info using
var pageData=SessionAwareCoreServiceClient.Read(tcmId, options)
foreach (var componentPresentation in pageData.ComponentPresentations)
{
//get content of each component with field name and value
}
loadXml
andgetItem
queries. But neither are operations exposed by the Core Service. Can you maybe provide a code sample of what you are doing?loadXml == GetListXml
andgetItem == Read
:-)