I want to get final published page HTML/Content using coreservice. I am using below code
it will give render content and then I got content using "Content" property of "RenderItemData" object.
but issue is my some image URL resolve while publishing(because code in PT) and using below code I will not get final url of images.
public RenderedItemData RenderItem(TcmUri tcmuri, string templateId, string targeturi, DateTime deployTime, bool includeChildPublications, bool includeComponentLinks, int maxNumberOfRenderFailures, PublishPriority publishPriority, bool rollbackOnFailure, ResolvePurpose resolvePurpose)
{
PublishInstructionData pubData = PublishInstructionData(includeChildPublications, rollbackOnFailure, deployTime, maxNumberOfRenderFailures, includeComponentLinks, resolvePurpose,RenderMode.PreviewDynamic);
return mClient.RenderItem(tcmuri, templateId, pubData, targeturi);
}
And when I tried to pass RenderMode as publish , it's start throwing an error. Can someone help me to solve this issue , How we can get the final published content(resolving path and everything) using core service