I'm looking for a way to embed a pre-configured Content Query Web Part into a master page. In short, I have a
SharePoint:DelegateControl on the master page and I want to plug the web part into it by using a
Feature. I'm open to other options, but this seems to make sense if it is possible.
At this point I have a
.webpart file containing all of the configuration necessary for the content query to work. I configured it and exported it from a page to obtain the
.webpart file. How do I go about specifying that the contents of this webpart be used as the control for the
SharePoint:DelegateControl in my master page?
What I have tried so far:
- I took the contents of the
.webpartfile and tried to hack it into what looks like an
Elements.xml(by mapping the
metaData/typeelement to a
Controlelement and copying over the
propertyelements), but it simply doesn't show up in the master page -- it was a long shot...