<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://bloggingabout.net/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Donald Hessing</title><link>http://bloggingabout.net/blogs/donald/default.aspx</link><description /><dc:language>en</dc:language><generator>CommunityServer 2008.5 SP2 (Build: 40407.4157)</generator><item><title>How to add YouTube movies with the Content Editor Web Part in SharePoint 2010</title><link>http://bloggingabout.net/blogs/donald/archive/2010/01/23/how-to-add-youtube-movies-with-the-content-editor-web-part-in-sharepoint-2010.aspx</link><pubDate>Sat, 23 Jan 2010 13:08:00 GMT</pubDate><guid isPermaLink="false">813b6dfd-644e-4573-a816-eebab56ba0d0:482738</guid><dc:creator>dhessing</dc:creator><slash:comments>1</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://bloggingabout.net/blogs/donald/rsscomments.aspx?PostID=482738</wfw:commentRss><comments>http://bloggingabout.net/blogs/donald/archive/2010/01/23/how-to-add-youtube-movies-with-the-content-editor-web-part-in-sharepoint-2010.aspx#comments</comments><description>&lt;p class="MsoNormal" style="margin:0cm 0cm 10pt;"&gt;
&lt;p class="MsoNormal" style="margin:0cm 0cm 10pt;"&gt;&lt;span lang="EN-US" style="mso-ansi-language:EN-US;"&gt;&lt;span style="font-family:Calibri;font-size:small;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;span lang="EN-US" style="mso-ansi-language:EN-US;"&gt;&lt;span style="font-family:Calibri;"&gt;&lt;span style="font-size:small;"&gt;During the Microsoft SharePoint Connections 2010 in Amsterdam someone from the audience came with the question &amp;rdquo;how to add a YouTube movie to a publishing page in SharePoint 2010&amp;rdquo;. According to the attendee, the content editor corrects or filters &lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp;&lt;/span&gt;the html / object tag inside the rich text editor of a YouTube movie. So back at home, I tried to figure this out. You can add a YouTube movie to a page by adding the embed tag of the movie. For example&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin:0cm 0cm 10pt;"&gt;&lt;span lang="EN-US" style="mso-ansi-language:EN-US;"&gt;&lt;span style="font-family:Calibri;"&gt;&lt;span style="font-size:small;"&gt;&amp;lt;object width=&amp;quot;425&amp;quot; height=&amp;quot;344&amp;quot;&amp;gt;&amp;lt;param name=&amp;quot;movie&amp;quot; value=&amp;quot;http://www.youtube.com/v/GgHoxwESqtI&amp;amp;hl=nl_NL&amp;amp;fs=1&amp;amp;&amp;quot;&amp;gt;&amp;lt;/param&amp;gt;&amp;lt;param name=&amp;quot;allowFullScreen&amp;quot; value=&amp;quot;true&amp;quot;&amp;gt;&amp;lt;/param&amp;gt;&amp;lt;param name=&amp;quot;allowscriptaccess&amp;quot; value=&amp;quot;always&amp;quot;&amp;gt;&amp;lt;/param&amp;gt;&amp;lt;embed src=&amp;quot;http://www.youtube.com/v/GgHoxwESqtI&amp;amp;hl=nl_NL&amp;amp;fs=1&amp;amp;&amp;quot; type=&amp;quot;application/x-shockwave-flash&amp;quot; allowscriptaccess=&amp;quot;always&amp;quot; allowfullscreen=&amp;quot;true&amp;quot; width=&amp;quot;425&amp;quot; height=&amp;quot;344&amp;quot;&amp;gt;&amp;lt;/embed&amp;gt;&amp;lt;/object&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin:0cm 0cm 10pt;"&gt;&lt;span style="font-size:small;"&gt;&lt;span lang="EN-US" style="mso-ansi-language:EN-US;"&gt;&lt;span style="font-family:Calibri;"&gt;My first try was to paste the HTML by going to the HTML editor mode. You can do this by selecting the content editor web part and go to HTML &lt;/span&gt;&lt;/span&gt;&lt;span lang="EN-US" style="font-family:Wingdings;mso-ansi-language:EN-US;mso-ascii-font-family:Calibri;mso-ascii-theme-font:minor-latin;mso-hansi-font-family:Calibri;mso-hansi-theme-font:minor-latin;mso-char-type:symbol;mso-symbol-font-family:Wingdings;"&gt;&lt;span style="mso-char-type:symbol;mso-symbol-font-family:Wingdings;"&gt;&amp;agrave;&lt;/span&gt;&lt;/span&gt;&lt;span lang="EN-US" style="mso-ansi-language:EN-US;"&gt;&lt;span style="font-family:Calibri;"&gt; Edit HTML Source. By pasting the embed tag for the YouTube movie, the YouTube movie appeared in the page. However, after doing several page edits / check-in / publishing etc, the YouTube movie didn&amp;rsquo;t show up anymore. After investigating the HTML, it looks liked the content editor encoded parts of the inserted HTML. This makes sense, in order to comply to the XHTML rules.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin:0cm 0cm 10pt;"&gt;&lt;span lang="EN-US" style="mso-ansi-language:EN-US;"&gt;&lt;span style="font-family:Calibri;"&gt;&lt;span style="font-size:small;"&gt;In my search for disabling the encoding behavior of the content editor, I found a new property in the property pane of the web part called Content Link. By setting the Content Link property to a document which is uploaded to your SharePoint site, the Content Link property will load the content and insert that inside the content of the Content Editor web part.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin:0cm 0cm 10pt;"&gt;&lt;span style="font-size:small;"&gt;&lt;span lang="EN-US" style="mso-ansi-language:EN-US;"&gt;&lt;span style="font-family:Calibri;"&gt;So what I did is the following. I created a text file with the embedded html for the YouTube movie and uploaded that to the document library of the site. I then configured the Content Link property in the web part panel (go to edit properties of the rich text editor web part) to &amp;ldquo;/documents/youtube.txt&amp;rdquo; (use test link before click apply). After that, the content editor web part loads the content of the file and shows the YouTube movie. It turns out that this content is not encoded anymore after edit, check in &amp;ndash; publish actions &lt;/span&gt;&lt;/span&gt;&lt;span lang="EN-US" style="font-family:Wingdings;mso-ansi-language:EN-US;mso-ascii-font-family:Calibri;mso-ascii-theme-font:minor-latin;mso-hansi-font-family:Calibri;mso-hansi-theme-font:minor-latin;mso-char-type:symbol;mso-symbol-font-family:Wingdings;"&gt;&lt;span style="mso-char-type:symbol;mso-symbol-font-family:Wingdings;"&gt;J&lt;/span&gt;&lt;/span&gt;&lt;span lang="EN-US" style="mso-ansi-language:EN-US;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin:0cm 0cm 10pt;"&gt;&lt;span lang="EN-US" style="mso-ansi-language:EN-US;"&gt;&lt;span style="font-family:Calibri;font-size:small;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://bloggingabout.net/aggbug.aspx?PostID=482738" width="1" height="1"&gt;</description><category domain="http://bloggingabout.net/blogs/donald/archive/tags/SharePoint+2010+YouTube+Publishing/default.aspx">SharePoint 2010 YouTube Publishing</category></item><item><title>SharePoint 2010 Beta announced at PDC09</title><link>http://bloggingabout.net/blogs/donald/archive/2009/11/18/sharepoint-2010-beta-announced-at-pdc09.aspx</link><pubDate>Wed, 18 Nov 2009 19:44:00 GMT</pubDate><guid isPermaLink="false">813b6dfd-644e-4573-a816-eebab56ba0d0:482480</guid><dc:creator>dhessing</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://bloggingabout.net/blogs/donald/rsscomments.aspx?PostID=482480</wfw:commentRss><comments>http://bloggingabout.net/blogs/donald/archive/2009/11/18/sharepoint-2010-beta-announced-at-pdc09.aspx#comments</comments><description>&lt;p&gt;&lt;span style="font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;color:black;font-size:10pt;"&gt;&lt;/span&gt;
&lt;p&gt;Today at the second day of the Microsoft PDC in Los Angeles Microsft announced the public Beta for SharePoint 2010 and Office 2010. While the Technical preview was only available for some of the&amp;nbsp;MVP&amp;#39;s / MCM&amp;#39;s and early adapters. The public BETA is now available for the SharePoint Community. &lt;strong&gt;So what &lt;/strong&gt;&lt;a target="_blank" href="http://bit.ly/ZF2010" title="SharePiont Beta download"&gt;&lt;strong&gt;is in the box&lt;/strong&gt;&lt;/a&gt;:&lt;/p&gt;
&lt;/p&gt;
&lt;p&gt;- SharePoint Foundation 2010 (formerly known as WSS)&lt;/p&gt;
&lt;p&gt;- SharePoint Server 2010&lt;/p&gt;
&lt;p&gt;- FAST Search Server 2010&lt;/p&gt;
&lt;p&gt;- Project Server 2010&lt;/p&gt;
&lt;p&gt;- SharePoint Designer 2010 (free)&lt;/p&gt;
&lt;p&gt;- Office 2010&lt;/p&gt;
&lt;p&gt;- Office 2010 for mobile&lt;/p&gt;
&lt;p&gt;- Office Web Applications&lt;/p&gt;
&lt;p&gt;One of the many new features in SharePoint 2010 is the support for social networks. New in this Beta which was not previously announced is the Outlook Social Connector. The Outlook Social Connector brings social networks to your inbox. While browsing through your email, you can now see information from social networks. First social network who will make a plugin available is Linked In. Later this year, a connector for Windows Live will become available as well. The Social Connector also ships with a SDK for integrating your own connector for enabling your backoffice HRM system.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;For more information see the blog post at the&lt;a target="_blank" href="http://blogs.msdn.com/outlook/archive/2009/11/18/announcing-the-outlook-social-connector.aspx" title="Microsoft Outlook Team Blog"&gt; Microsoft Outlook Team Blog&lt;/a&gt;.&lt;img height="172" width="501" src="http://blogs.msdn.com/blogfiles/outlook/WindowsLiveWriter/AnnouncingtheOutlookSocialConnector_8592/image_thumb.png" alt="Windows Live and Outlook Social Connector Image" border="0" title="Windows Live and Outlook Social Connector Image" style="display:block;float:none;margin-left:auto;margin-right:auto;border-width:0px;" /&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;The public Beta of SharePoint 2010 can be downloaded at &lt;/strong&gt;&lt;a target="_blank" href="http://bit.ly/ZF2010" title="Download SharePoint 2010 Beta 2"&gt;&lt;strong&gt;http://bit.ly/ZF2010&lt;/strong&gt;&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://bloggingabout.net/aggbug.aspx?PostID=482480" width="1" height="1"&gt;</description><category domain="http://bloggingabout.net/blogs/donald/archive/tags/SharePoint+2010/default.aspx">SharePoint 2010</category><category domain="http://bloggingabout.net/blogs/donald/archive/tags/PDC/default.aspx">PDC</category><category domain="http://bloggingabout.net/blogs/donald/archive/tags/BETA/default.aspx">BETA</category><category domain="http://bloggingabout.net/blogs/donald/archive/tags/Download/default.aspx">Download</category></item><item><title>Microsoft SharePoint Connections Amsterdam</title><link>http://bloggingabout.net/blogs/donald/archive/2009/11/14/microsoft-sharepoint-connections-amsterdam.aspx</link><pubDate>Sat, 14 Nov 2009 09:45:00 GMT</pubDate><guid isPermaLink="false">813b6dfd-644e-4573-a816-eebab56ba0d0:482463</guid><dc:creator>dhessing</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://bloggingabout.net/blogs/donald/rsscomments.aspx?PostID=482463</wfw:commentRss><comments>http://bloggingabout.net/blogs/donald/archive/2009/11/14/microsoft-sharepoint-connections-amsterdam.aspx#comments</comments><description>&lt;p&gt;&lt;span style="font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;color:black;font-size:9.5pt;"&gt;Microsoft Netherlands will organize a two day event on 18 and 19 January for SharePoint IT-Professionals and Developers. This conference will cover many of the existing announcements and highlights of the International SharePoint 2010 conference held in Las Vegas. If you want to learn more about the coming SharePoint 2010 version, than this is the place to be. International top speakers like Steve Fox, Spencer Harbar, Neil Hodgkinson, Richard Taylor, Asif Rehmani&amp;nbsp;and Jan Tielens already confirmed.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;color:black;font-size:9.5pt;"&gt;Check out the website at &lt;a href="http://www.devconnections.com/shows/NED2010SP/default.asp?c=2&amp;amp;s=149"&gt;http://www.devconnections.com/shows/NED2010SP/default.asp?c=2&amp;amp;s=149&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://bloggingabout.net/aggbug.aspx?PostID=482463" width="1" height="1"&gt;</description><category domain="http://bloggingabout.net/blogs/donald/archive/tags/Conference/default.aspx">Conference</category><category domain="http://bloggingabout.net/blogs/donald/archive/tags/SharePoint+2010/default.aspx">SharePoint 2010</category></item><item><title>Webpart connections - data provider / data consumer</title><link>http://bloggingabout.net/blogs/donald/archive/2009/10/09/webpart-connections-data-provider-data-consumer.aspx</link><pubDate>Fri, 09 Oct 2009 21:50:00 GMT</pubDate><guid isPermaLink="false">813b6dfd-644e-4573-a816-eebab56ba0d0:482289</guid><dc:creator>dhessing</dc:creator><slash:comments>1</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://bloggingabout.net/blogs/donald/rsscomments.aspx?PostID=482289</wfw:commentRss><comments>http://bloggingabout.net/blogs/donald/archive/2009/10/09/webpart-connections-data-provider-data-consumer.aspx#comments</comments><description>&lt;p style="MARGIN:0cm 0cm 10pt;" class="MsoNormal"&gt;&lt;span style="font-size:small;font-family:Calibri;"&gt;Ever needed a solution where several webparts on the same page are consuming the same datasource? Webpart connections can be the solution!&lt;/span&gt;&lt;/p&gt;
&lt;p style="MARGIN:0cm 0cm 10pt;" class="MsoNormal"&gt;&lt;span style="font-size:small;font-family:Calibri;"&gt;In one of my current projects we have a profile page with several web parts were each webpart shows a part of the user profile information. For instance:&lt;/span&gt;&lt;/p&gt;
&lt;p style="MARGIN:0cm 0cm 0pt;" class="MsoNoSpacing"&gt;&lt;span style="font-size:small;"&gt;&lt;span style="font-family:Calibri;"&gt;&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp;&lt;/span&gt;- a webpart with the basic profileinformation like name, phone and profilepicture. &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="MARGIN:0cm 0cm 0pt;" class="MsoNoSpacing"&gt;&lt;span style="font-size:small;"&gt;&lt;span style="font-family:Calibri;"&gt;&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp;&lt;/span&gt;- a webpart for showing the favorite links stored in the userprofile&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="MARGIN:0cm 0cm 0pt;" class="MsoNoSpacing"&gt;&lt;span style="font-size:small;"&gt;&lt;span style="font-family:Calibri;"&gt;&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp;&lt;/span&gt;- a webpart for showing the skills of the user, stored in the userprofile&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="MARGIN:0cm 0cm 10pt;" class="MsoNormal"&gt;&lt;span style="font-size:small;font-family:Calibri;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p style="MARGIN:0cm 0cm 10pt;" class="MsoNormal"&gt;&lt;span style="font-size:small;font-family:Calibri;"&gt;In this scenario, each webpart has to retrieve the same userprofile information. This is a little bit sad considered the performance penalty being paid for retrieving the same data for each webpart. Considered the penalty, i wanted a solution which only loads the userprofile once.&lt;/span&gt;&lt;/p&gt;
&lt;p style="MARGIN:0cm 0cm 10pt;" class="MsoNormal"&gt;&lt;span style="font-size:small;font-family:Calibri;"&gt;In a traditional Asp.Net website, the code behind of the page would be responsible for retrieving the data and pass that data to the webparts by using a public property on the webpart. SharePoint publishing pages don&amp;rsquo;t have the ability to have code behind files. So we need a different kind of solution.&lt;/span&gt;&lt;/p&gt;
&lt;p style="MARGIN:0cm 0cm 10pt;" class="MsoNormal"&gt;&lt;span style="font-size:small;"&gt;&lt;span style="font-family:Calibri;"&gt;I could created a dataaccess layer for retrieving the userprofile data and cache the profile for several seconds so that the other webparts could read this data from the cache. &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="MARGIN:0cm 0cm 10pt;" class="MsoNormal"&gt;&lt;span style="font-size:small;font-family:Calibri;"&gt;Just before writing the dataaccess and caching code, i wondered whatever it was possible to achieve this by using webpart connections. See it like data provider webpart and a data consumer webpart.&lt;/span&gt;&lt;/p&gt;
&lt;p style="MARGIN:0cm 0cm 10pt;" class="MsoNormal"&gt;&lt;span style="font-size:small;font-family:Calibri;"&gt;&lt;strong&gt;To keep it short. I came up with the following solution.&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="MARGIN:0cm 0cm 10pt;" class="MsoNormal"&gt;&lt;span style="font-size:small;font-family:Calibri;"&gt;I created a custom webpart witch implements the IUserProfileData interface. This interface defines the contract of the data being send through the webpart connections. &lt;/span&gt;&lt;/p&gt;
&lt;p style="MARGIN:0cm 0cm 0pt;" class="MsoNoSpacing"&gt;&lt;span style="font-size:small;"&gt;&lt;span style="font-family:Calibri;"&gt;&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp;&lt;/span&gt;public class UserProfileData&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="MARGIN:0cm 0cm 0pt;" class="MsoNoSpacing"&gt;&lt;span style="font-size:small;"&gt;&lt;span style="font-family:Calibri;"&gt;&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp;&lt;/span&gt;{&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="MARGIN:0cm 0cm 0pt;" class="MsoNoSpacing"&gt;&lt;span style="font-size:small;"&gt;&lt;span style="font-family:Calibri;"&gt;&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;public string FistName { get; set; }&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="MARGIN:0cm 0cm 0pt;" class="MsoNoSpacing"&gt;&lt;span style="font-size:small;"&gt;&lt;span style="font-family:Calibri;"&gt;&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;public string LastName{ get; set; }&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="MARGIN:0cm 0cm 0pt;" class="MsoNoSpacing"&gt;&lt;span style="font-size:small;"&gt;&lt;span style="font-family:Calibri;"&gt;&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;public string PictureUrl { get; set; }&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="MARGIN:0cm 0cm 0pt;" class="MsoNoSpacing"&gt;&lt;span style="font-size:small;"&gt;&lt;span style="font-family:Calibri;"&gt;&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp;&lt;/span&gt;}&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="MARGIN:0cm 0cm 10pt;" class="MsoNormal"&gt;&lt;span style="font-size:small;font-family:Calibri;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p style="MARGIN:0cm 0cm 0pt;" class="MsoNoSpacing"&gt;&lt;span style="font-size:small;"&gt;&lt;span style="font-family:Calibri;"&gt;&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp;&lt;/span&gt;public interface IUserProfileProvider &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="MARGIN:0cm 0cm 0pt;" class="MsoNoSpacing"&gt;&lt;span style="font-size:small;"&gt;&lt;span style="font-family:Calibri;"&gt;&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp;&lt;/span&gt;{&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="MARGIN:0cm 0cm 0pt;" class="MsoNoSpacing"&gt;&lt;span style="font-size:small;"&gt;&lt;span style="font-family:Calibri;"&gt;&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;UserProfileData ProfileData{ get; }&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="MARGIN:0cm 0cm 0pt;" class="MsoNoSpacing"&gt;&lt;span style="font-size:small;"&gt;&lt;span style="font-family:Calibri;"&gt;&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp;&lt;/span&gt;}&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="MARGIN:0cm 0cm 0pt;" class="MsoNoSpacing"&gt;&lt;span style="font-size:small;font-family:Calibri;"&gt;&lt;/span&gt;&amp;nbsp;&lt;/p&gt;
&lt;p style="MARGIN:0cm 0cm 10pt;" class="MsoNormal"&gt;&lt;span style="font-size:small;font-family:Calibri;"&gt;The easiest way to communicate between webparts is by using the ConnectionProvider and the ConnectionConsumer attribute. All you need to do in the provider webpart is implementing a method with the ConnectionProvider attribute. The webpart infrastructure will deal with the communication callbacks between the webparts&lt;/span&gt;&lt;/p&gt;
&lt;p style="MARGIN:0cm 0cm 0pt;" class="MsoNoSpacing"&gt;&lt;span style="font-size:small;font-family:Calibri;"&gt;[ConnectionProvider(&amp;quot;ProviderID&amp;quot;)]&lt;/span&gt;&lt;/p&gt;
&lt;p style="MARGIN:0cm 0cm 0pt;" class="MsoNoSpacing"&gt;&lt;span style="font-size:small;font-family:Calibri;"&gt;public IUserProfileProvider GetUserProfileProvider()&lt;/span&gt;&lt;/p&gt;
&lt;p style="MARGIN:0cm 0cm 0pt;" class="MsoNoSpacing"&gt;&lt;span style="font-size:small;font-family:Calibri;"&gt;{&lt;/span&gt;&lt;/p&gt;
&lt;p style="MARGIN:0cm 0cm 0pt;" class="MsoNoSpacing"&gt;&lt;span style="font-size:small;"&gt;&lt;span style="font-family:Calibri;"&gt;&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;return this;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="MARGIN:0cm 0cm 0pt;" class="MsoNoSpacing"&gt;&lt;span style="font-size:small;font-family:Calibri;"&gt;}&lt;/span&gt;&lt;/p&gt;
&lt;p style="MARGIN:0cm 0cm 0pt;" class="MsoNoSpacing"&gt;&lt;span style="font-size:small;font-family:Calibri;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p style="MARGIN:0cm 0cm 10pt;" class="MsoNormal"&gt;&lt;span style="font-size:small;font-family:Calibri;"&gt;All the consumer webpart has to do is implement a method with the ConnectionConsumer attribute for retrieving the provider.&lt;/span&gt;&lt;/p&gt;
&lt;p style="MARGIN:0cm 0cm 10pt;" class="MsoNormal"&gt;&lt;span style="font-size:small;"&gt;&lt;span style="font-family:Calibri;"&gt;[ConnectionConsumer(&amp;quot;ConsumerID&amp;quot;)]&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="MARGIN:0cm 0cm 0pt;" class="MsoNoSpacing"&gt;&lt;span style="font-size:small;font-family:Calibri;"&gt;public void RegisterUserProfileProvider(IUserProfileProvider provider)&lt;/span&gt;&lt;/p&gt;
&lt;p style="MARGIN:0cm 0cm 0pt;" class="MsoNoSpacing"&gt;&lt;span style="font-size:small;font-family:Calibri;"&gt;{&lt;/span&gt;&lt;/p&gt;
&lt;p style="MARGIN:0cm 0cm 0pt;TEXT-INDENT:36pt;" class="MsoNoSpacing"&gt;&lt;span style="font-size:small;font-family:Calibri;"&gt;this.provider = provider;&lt;/span&gt;&lt;/p&gt;
&lt;p style="MARGIN:0cm 0cm 0pt;" class="MsoNoSpacing"&gt;&lt;span style="font-size:small;font-family:Calibri;"&gt;}&lt;/span&gt;&lt;/p&gt;
&lt;p style="MARGIN:0cm 0cm 10pt;" class="MsoNormal"&gt;&lt;span style="font-size:small;font-family:Calibri;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p style="MARGIN:0cm 0cm 10pt;" class="MsoNormal"&gt;&lt;span style="font-size:small;font-family:Calibri;"&gt;The final step is to create a webpart connection between the provider and the consumer webparts. This can be done by using the SharePoint userinterface.&lt;/span&gt;&lt;/p&gt;
&lt;p style="MARGIN:0cm 0cm 10pt;" class="MsoNormal"&gt;&lt;span style="font-size:small;font-family:Calibri;"&gt;Example code can be downloaded here. If you want to deploy the example, make sure you have STSDEV(can be found on codeplex) installed. Want to know more about webpart connections? Read this excellent article on MSDN (http://msdn.microsoft.com/en-us/library/ms178187.aspx).&lt;/span&gt;&lt;/p&gt;
&lt;p style="MARGIN:0cm 0cm 10pt;" class="MsoNormal"&gt;&lt;span style="font-size:small;font-family:Calibri;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://bloggingabout.net/aggbug.aspx?PostID=482289" width="1" height="1"&gt;</description><enclosure url="http://bloggingabout.net/cfs-file.ashx/__key/CommunityServer.Components.PostAttachments/00.00.48.22.89/ProviderConsumerWebpart.zip" length="465154" type="application/x-zip-compressed" /><category domain="http://bloggingabout.net/blogs/donald/archive/tags/SharePoint+Webparts/default.aspx">SharePoint Webparts</category></item><item><title>Session material: Microsoft Developers Days 2009</title><link>http://bloggingabout.net/blogs/donald/archive/2009/07/05/session-material-microsoft-developers-days-2009.aspx</link><pubDate>Sun, 05 Jul 2009 11:01:00 GMT</pubDate><guid isPermaLink="false">813b6dfd-644e-4573-a816-eebab56ba0d0:481900</guid><dc:creator>dhessing</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://bloggingabout.net/blogs/donald/rsscomments.aspx?PostID=481900</wfw:commentRss><comments>http://bloggingabout.net/blogs/donald/archive/2009/07/05/session-material-microsoft-developers-days-2009.aspx#comments</comments><description>&lt;p&gt;I have been quite busy last months with presenting at several conferences, finishing projects, but most of all attending the Microsoft Certified Master Program.&amp;nbsp;Once again, the organisation of the Developers Days&amp;nbsp;did&amp;nbsp;a great job in selecting sessions and speakers from all over the world.&amp;nbsp;With a&amp;nbsp;line up&amp;nbsp;of David Chappell, Mike Taulty, Ingo Rammer, Keith Brown, Gert Drapers, Aaron Skonnard, and many more, they may have one of the best conference in europe.&amp;nbsp;I did the session &amp;quot;Web Content Management with Microsoft Office SharePoint Server 2007&amp;quot; together with my colleague Reinhard Brongers. The session is&amp;nbsp;recorded and hosted at &lt;a target="_blank" href="http://channel9.msdn.com/posts/matthijs/Web-Content-Management-with-Microsoft-Office-SharePoint-Server-2007/" title="Recorded sesion on Channel 9"&gt;Channel 9.&lt;/a&gt; For those who understand the dutch langauge, have fun!&lt;/p&gt;
&lt;p&gt;(Please visit the site to view this media)&lt;/p&gt;
&lt;p&gt;In the demo&amp;#39;s we showed&amp;nbsp;a jQeury menu, jQuery image webpart and a Silverlight 2 video player field control. The&amp;nbsp;source code can be downloaded here. The solutions are just for demoing purpose only, so do not use it in production. Before you open the solution in Visual Studio 2008, make sure you have installed Visual Studio SP1, .NET framework 3.5 with SP1, Silverlight 2 and the Silverlight tools for Visual Studio 2008 SP1. If you want to deploy the solution, install &lt;a target="_blank" href="http://www.codeplex.com/stsdev" title="STSDEV"&gt;STSDEV&lt;/a&gt;, and make sure you have configured youre website for Silverlight&amp;nbsp; (.xap extension in IIS) and the .Net framework 3.5 SP1 (web.config modifications). Deploying and configuring a SharePoint solution with Silverlight can be hard. For a basic walkthrough of developing a Silverlight Webpart take a look at the &lt;a target="_blank" href="http://msdn.microsoft.com/nl-nl/rampup/dd221355(en-us).aspx" title="SharePonit ramp up"&gt;MSDN Ramp up for SharePoint&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The attached solution includes:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Sitedefintion for Devdays2009&lt;/li&gt;
&lt;li&gt;Masterpage&lt;/li&gt;
&lt;li&gt;Pagelayouts&lt;/li&gt;
&lt;li&gt;Fieldcontrol for Silverlight 2 player&lt;/li&gt;
&lt;li&gt;Image carousel webpart with&amp;nbsp;jQuery&lt;/li&gt;
&lt;li&gt;jQuery menu&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Have fun!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://bloggingabout.net/aggbug.aspx?PostID=481900" width="1" height="1"&gt;</description><enclosure url="http://bloggingabout.net/cfs-file.ashx/__key/CommunityServer.Components.PostAttachments/00.00.48.19.00/DEMOSTUFF.zip" length="2896609" type="application/x-zip-compressed" /><category domain="http://bloggingabout.net/blogs/donald/archive/tags/SharePoint+Web+Content+Management/default.aspx">SharePoint Web Content Management</category><category domain="http://bloggingabout.net/blogs/donald/archive/tags/SharePoint/default.aspx">SharePoint</category><category domain="http://bloggingabout.net/blogs/donald/archive/tags/Presentation/default.aspx">Presentation</category></item><item><title>Session material Software Development Event June</title><link>http://bloggingabout.net/blogs/donald/archive/2009/07/05/session-material-sde-26-june.aspx</link><pubDate>Sun, 05 Jul 2009 09:21:00 GMT</pubDate><guid isPermaLink="false">813b6dfd-644e-4573-a816-eebab56ba0d0:481899</guid><dc:creator>dhessing</dc:creator><slash:comments>2</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://bloggingabout.net/blogs/donald/rsscomments.aspx?PostID=481899</wfw:commentRss><comments>http://bloggingabout.net/blogs/donald/archive/2009/07/05/session-material-sde-26-june.aspx#comments</comments><description>&lt;p&gt;Just back from my MCM SharePoint experience in Redmond&amp;nbsp;I received an email from the dutch &lt;a target="_blank" href="http://www.sdn.nl" title="SDN"&gt;Software Development Network&lt;/a&gt; (SDN) organisation to give a talk on friday june 26th. It seems that Bob Fox couldn&amp;#39;t make it, so they needed a stand-in. Duo presentations are my favorite, so I was lucky that &lt;a target="_blank" href="http://www.sharepointblogs.com/mirjam" title="Mirjam van Olst"&gt;Mirjam van Olst&lt;/a&gt; wanted to join the presentation about&amp;nbsp;Architectural Design and Development Considerations. Despite the short preperation time and beeing jetlagged,&amp;nbsp;I think we did a good job. For those who are interested in the sql scripts, they can be downloaded here.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://bloggingabout.net/aggbug.aspx?PostID=481899" width="1" height="1"&gt;</description><enclosure url="http://bloggingabout.net/cfs-file.ashx/__key/CommunityServer.Components.PostAttachments/00.00.48.18.99/SDN_5F00_indexen.sql" length="1119" type="application/octet-stream" /><category domain="http://bloggingabout.net/blogs/donald/archive/tags/SharePoint/default.aspx">SharePoint</category><category domain="http://bloggingabout.net/blogs/donald/archive/tags/Presentation/default.aspx">Presentation</category></item><item><title>How to disable access for anonymous users on forms and application pages - ViewFormPagesLockDown</title><link>http://bloggingabout.net/blogs/donald/archive/2007/12/24/how-to-dissable-access-for-anonymous-users-on-form-and-applicationpages.aspx</link><pubDate>Mon, 24 Dec 2007 17:19:00 GMT</pubDate><guid isPermaLink="false">813b6dfd-644e-4573-a816-eebab56ba0d0:449028</guid><dc:creator>dhessing</dc:creator><slash:comments>5</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://bloggingabout.net/blogs/donald/rsscomments.aspx?PostID=449028</wfw:commentRss><comments>http://bloggingabout.net/blogs/donald/archive/2007/12/24/how-to-dissable-access-for-anonymous-users-on-form-and-applicationpages.aspx#comments</comments><description>&lt;span style="FONT-SIZE:10pt;COLOR:black;FONT-FAMILY:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;"&gt;Recently I did a couple of projects on building public facing internet sites with MOSS 2007. I’ve noticed that for one specific project the application pages and the forms pages were accessible for anonymous users. Because of the fact that anonymous users have by default no rights on lists other than read, they can&amp;#39;t do any harm to the site. But I didn&amp;#39;t like the idea that anyone could read my reusable content or pages list just by requesting the url &amp;nbsp;&lt;a href="http://myserver/pages/forms/allitems.aspx"&gt;&lt;font color="#0000ff"&gt;http://myserver/pages/forms/allitems.aspx&lt;/font&gt;&lt;/a&gt;. In my search for an explanation, I found &lt;a title="Disable anonymous access on formspages" href="http://blogs.msdn.com/ecm/archive/2007/05/12/anonymous-users-forms-pages-and-the-lockdown-feature.aspx"&gt;this excellent article&lt;/a&gt; from the SharePoint team blog. Public internet sites build on the publishing portal site definition have by default a feature called ViewFormPagesLockDown activated. The feature disables anonymous users to forms pages and most of the application pages. If you build your own site definition, this feature is not enabled by default.&amp;nbsp;You still can disable anonymous access&amp;nbsp;to these pages by activating the ViewFormPagesLockDown feature to the site collection of the public website.&amp;nbsp;You can do this by&amp;nbsp;running the following command on the site collection of the public site:&lt;/span&gt;&lt;span style="FONT-SIZE:10pt;COLOR:black;FONT-FAMILY:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;"&gt;&lt;br /&gt;&lt;br /&gt;stsadm.exe –o activatefeature –url &amp;lt;site collection url&amp;gt; -filename ViewFormPagesLockdown\feature.xml&lt;/span&gt;&lt;span style="FONT-SIZE:10pt;COLOR:black;FONT-FAMILY:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;"&gt;&amp;nbsp;&lt;/span&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://bloggingabout.net/aggbug.aspx?PostID=449028" width="1" height="1"&gt;</description><category domain="http://bloggingabout.net/blogs/donald/archive/tags/SharePoint+Web+Content+Management/default.aspx">SharePoint Web Content Management</category></item></channel></rss>