I am trying to add webparts to a number of pages I have added to my
root, similar to default.aspx. The pages create just fine, but the
specified webparts never show up. Here's an example from onet.xml:
<Module Name="AddAdminPage">
<File Url="admin.aspx">
<AllUsersWebPart WebPartZoneID="Left"
WebPartOrder="1">
<![CDATA[
<WebPart
xmlns="http://schemas.microsoft.com/WebPart/v2">
<Title>Administrators Only</Title>
<FrameType>None</FrameType>
<Assembly>Microsoft.SharePoint,
Version=11.0.0.0, Culture=neutral,
PublicKeyToken=71e9bce111e9429c</Assembly>
<TypeName>Microsoft.SharePoint.WebPartPages.ContentEditorWebPart</Type
Name>
<Content
xmlns="http://schemas.microsoft.com/WebPart/v2/ContentEditor"><b>
;This page is intended to only be used by SharePoint Web Designers
and Administrators.</Content>
</WebPart>
]]>
</AllUsersWebPart>
<View List="10103" BaseViewID="0"
WebPartZoneID="Left" WebPartOrder="2"/>
</File>
</Module>
Any ideas?
Do you know someone who can help? Share a link to this thread on twitter, or facebook.