Hi All,
I created a custom document library and associated a custom content type(Inherited from Document Content Type) to it. Now created a Page Layout and in the WebPart Zone(Inside <ZoneTemplate>) added some custom WebParts to it(PageLayout.aspx). Using Module provisioned a new page based on that page layout to the custom document library. When i navigate to the page i can not see the webparts. If i open the page using a SharePoint Designer, it has the empty webpart zone. Somehow while provisioning a page it removes all the webparts from the <ZoneTemplate>. I could not see any error message in the Log. But by removing the WebParts from the page layout and added them using the <AllUserWebPart> in the <Module> i can see the WebParts in that page.
At the same time I removed the custom content type from the document library schema.xml and my page layout has the webparts inside <ZoneTemplate> and provisioned the file, now i can see the WebParts.
Is the custom content type causing the issue?
Please provide your thoughts.
Thanks,
Prakash