When adding web-parts to pages through modules, the 2007 syntax for the web-part is different. The section below shows (pretty much) the minimum you can get away with...
<AllUsersWebPart WebPartZoneID="Left" WebPartOrder="1">
<![CDATA[
<webParts>
<webPart xmlns="http://schemas.microsoft.com/WebPart/v3">
<metaData>
<type name="MultiplePartLibrary.Another, MultiplePartLibrary, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" />
<importErrorMessage>Cannot import this Web Part.</importErrorMessage>
</metaData>
<data>
<properties>
<property name="Title" type="string">Another</property>
</properties>
</data>
</webPart>
</webParts>
]]>
</AllUsersWebPart>
Subscribe to:
Post Comments (Atom)
Feedburner RSS
No comments:
Post a Comment