Friday, 26 March 2010

SP2010 Web Parts Embedded into Rich HTML Fields

Another cool thing I found with SharePoint 2010 is the ability to put Web Parts in rich text elements. I'm working on this project and one of the requirements was that a Web Part had to comingle nicely with some general verbiage. I wasn't exactly thrilled with the thoughts I was having for how to do it until I realized that, hey, this is in SP2010! In the latest rendition from Microsoft, you now have the ability to insert web parts into rich text publishing fields. So I dropped it in, told it to adjust its width, added some styling to float it with some margins to push away the text and it was done! Man this stuff is getting easy!