What is the code to add a CEWP to a custom area definition? I know howto add things such as events, doc lib, or discussion group, but not aCEWP.
In the <File> tag add …<AllUsersWebPart WebPartZoneID="Header" WebPartOrder="1"> <![CDATA[ ]]></AllUsersWebPart>Put the correct web part zone ID, web part order and drop the DWP file in the CDATA section.
Be sure not to next CDATA tags. I call this "GhostBuster Bad". If youneed a CDATA inside of another CDATA you must escape out the inner CDATAtag.