Hi
I am trying to add the Custom WebPart to Custom PageLayout using
AllUsersWebPart.
But the webpart is not adding to the page when created.
The same code if i am adding to Pages
AllUsersWebPart , its coming.
Is there any thing need to do with PageLayout AllUsersWebPart property
<![CDATA[
<?xml version="1.0" encoding="utf-8"?>
<webParts>
<webPart xmlns="http://schemas.microsoft.com/WebPart/v3">
<metaData>
<type name="SolutionX.ProjectY.WebParts.MyWebPart, $SharePoint.Project.AssemblyFullName$" />
<importErrorMessage>$Resources:core,ImportErrorMessage;</importErrorMessage>
</metaData>
<data>
<properties>
<property name="Title" type="string">My WebPart</property>
<property name="Description" type="string">My WebPart for XYZ</property>
<property name="ListName" type="string">ExampleList</property>
<property name="RowLimit" type="string">5</property>
</properties>
</data>
</webPart>
</webParts>
]]>
</AllUsersWebPart>Thanks
SPKids