my page have few static and dynamic component for static component presentation XPM is working fine but for dynamic Component Presentations is not correctly marked as IsRepositoryPublished == true how i can do this. code to use markup @Html.SiteEditPage(Model) @Html.SiteEditComponentPresentation(dynamiccomp,Model.ComponentTemplate.Id,true,"region") @Html.SiteEditField(dynamiccomp,dynamiccomp.Fields["title"].EmbeddedValues[0]["linkText"])
my dynamic component are editable but update preview is not working fine i am using dd4t 1.31 tridion 2013 sp1
this are my PT and CT Tags.
<!-- Page Settings: {"PageID":"tcm:15-14635-64","PageModified":"2015-01-22T18:25:00","PageTemplateID":"tcm:15-14639-128","PageTemplateModified":"2014-12-23T05:04:01"} -->
<div> <!-- Start Component Presentation: {"ComponentID" : "tcm:15-14789", "ComponentModified" : "2015-02-19T04:21:44", "ComponentTemplateID" : "tcm:15-13193-32", "ComponentTemplateModified" : "0001-01-01T00:00:00", "IsRepositoryPublished" : false, "IsQueryBased" : true} -->
<div> <!-- Start Component Field: {"XPath":"tcm:Content/custom:thoughtLeadershipModule/custom:title[1]/custom:linkText[1]"} -->
<a href="" target="" title="Most Read Piece of Relevant Dynamic">Most Read Piece of Relevant Dynamic test</a>
</div></div>