<?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>Search results matching tags 'SharePoint 2010' and 'Live Labs Pivot'</title><link>http://bloggingabout.net/search/SearchResults.aspx?a=1&amp;o=DateDescending&amp;tag=SharePoint+2010,Live+Labs+Pivot&amp;orTags=0</link><description>Search results matching tags 'SharePoint 2010' and 'Live Labs Pivot'</description><dc:language>en-US</dc:language><generator>CommunityServer 2008.5 SP2 (Build: 40407.4157)</generator><item><title>Visualizing data with Microsoft Live Labs Pivots and SharePoint 2010</title><link>http://bloggingabout.net/blogs/donald/archive/2010/07/19/visualizing-data-with-microsoft-live-labs-pivots-and-sharepoint-2010.aspx</link><pubDate>Mon, 19 Jul 2010 13:43:00 GMT</pubDate><guid isPermaLink="false">813b6dfd-644e-4573-a816-eebab56ba0d0:483730</guid><dc:creator>dhessing</dc:creator><description>&lt;p class="MsoNoSpacing"&gt;&lt;span lang="EN-US"&gt;&lt;span style="font-family:Calibri;"&gt;&lt;span style="font-size:small;"&gt;Recently Microsoft launches there latest innovation from Live Labs named Pivots. Pivots is an application for visualizing rich amount of data by using the PivotViewer Silverlight control. The control allows you to categorize your data based on the metadata it retrieves. By using the Silverlight DeepZoom technology, image collections will become alive.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNoSpacing"&gt;&lt;span lang="EN-US"&gt;&lt;span style="font-family:Calibri;font-size:small;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNoSpacing"&gt;&lt;span lang="EN-US"&gt;&lt;span style="font-family:Calibri;"&gt;&lt;span style="font-size:small;"&gt;So how cool would it be if we could use SharePoint 2010 as a data provider and host for the PivotsViewer Silverlight Control? &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNoSpacing"&gt;&lt;span lang="EN-US"&gt;&lt;span style="font-family:Calibri;font-size:small;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNoSpacing"&gt;&lt;span lang="EN-US"&gt;&lt;span style="font-family:Calibri;"&gt;&lt;span style="font-size:small;"&gt;The Pivots SDK ships with a CXML HttpHandler that loads all factory classes from the application bin folder. One of the provided factory classes is based on the OData protocol. The OData protocol is a REST based protocol which is increasing in popularity and is used in several Microsoft products like Azure and SharePoint 2010. The ListData.svc services in SharePoint 2010 can be used for retrieving collections (all the libraries) and the items of the collection (all the items of a library). &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span lang="EN-US"&gt;&lt;span style="font-family:Calibri;"&gt;&lt;span style="font-size:small;"&gt;When an item contains an image URL, it will automatically render a DeepZoom Collection. For items that not contain an image, it will render a box containing the title of the item.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal"&gt;&lt;span lang="EN-US"&gt;&lt;span style="font-family:Calibri;font-size:small;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal"&gt;&lt;span lang="EN-US"&gt;&lt;span style="font-family:Calibri;"&gt;&lt;span style="font-size:small;"&gt;Take a look at the video.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal"&gt;&lt;span lang="EN-US"&gt;&lt;span style="font-family:Calibri;font-size:small;"&gt;&amp;nbsp;(Please visit the site to view this media)&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal"&gt;&lt;b style="mso-bidi-font-weight:normal;"&gt;&lt;span lang="EN-US"&gt;&lt;span style="font-family:Calibri;"&gt;&lt;span style="font-size:small;"&gt;The solution&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;
&lt;p class="MsoNoSpacing"&gt;&lt;span lang="EN-US"&gt;&lt;span style="font-family:Calibri;"&gt;&lt;span style="font-size:small;"&gt;The solution contains a proof of concept implementation of the Live Labs Pivot with SharePoint 2010. It includes 2 library projects and 2 SharePoint projects for deploying the solution to SharePoint. &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNoSpacing"&gt;&lt;span lang="EN-US"&gt;&lt;span style="font-family:Calibri;"&gt;&lt;span style="font-size:small;"&gt;The SharePointPivots solution contains the PivotSilverlightWebpart and the registration of the 5 HttpHandlers. The actual implementation of the handlers can be found in the PivotServerTool library project.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNoSpacing"&gt;&lt;span lang="EN-US"&gt;&lt;span style="font-family:Calibri;font-size:small;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNoSpacing"&gt;&lt;span lang="EN-US"&gt;&lt;span style="font-family:Calibri;"&gt;&lt;span style="font-size:small;"&gt;The SharePointPivots.Install solution is responsible for the registration of the HttpHandlers in the Web.config . The Web.Config modifications are done by the WebConfigModifications feature. The feature contains a FeatureReceiver which uses the SPWebConfigMoifications class to update the web.config.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNoSpacing"&gt;&lt;span lang="EN-US"&gt;&lt;span style="font-family:Calibri;font-size:small;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNoSpacing"&gt;&lt;span lang="EN-US"&gt;&lt;span style="font-family:Calibri;font-size:small;"&gt;The SharePoint project contains the Silverlight XAP file which will be deployed to the Layouts directory. I didn&amp;rsquo;t include the Silverlight file itself because it requires the Silverlight 4 Development tools. If you are interested in the Silverlight project, simple download the SDK from the Microsoft Live Labs Pivot SDK here. &lt;/span&gt;&lt;a href="http://www.getpivot.com/developer-info/jit-tools.aspx"&gt;&lt;span style="font-family:Calibri;font-size:small;"&gt;http://www.getpivot.com/developer-info/jit-tools.aspx&lt;/span&gt;&lt;/a&gt;&lt;span class="MsoHyperlink"&gt;&lt;span style="text-decoration:underline;"&gt;&lt;span style="color:#0000ff;"&gt;&lt;span style="font-family:Calibri;"&gt;&lt;span style="font-size:small;"&gt;. &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNoSpacing"&gt;&lt;span class="MsoHyperlink"&gt;&lt;span lang="EN-US"&gt;&lt;span style="text-decoration:none;"&gt;&lt;span style="text-decoration:underline;"&gt;&lt;span style="font-family:Calibri;color:#0000ff;font-size:small;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNoSpacing"&gt;&lt;span lang="EN-US"&gt;&lt;span style="font-family:Calibri;"&gt;&lt;span style="font-size:small;"&gt;The PivotServerTools project comes from the SDK example and contains helper classes for the HttpHandlers. &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNoSpacing"&gt;&lt;span lang="EN-US"&gt;&lt;span style="font-family:Calibri;font-size:small;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNoSpacing"&gt;&lt;span lang="EN-US"&gt;&lt;span style="font-family:Calibri;"&gt;&lt;span style="font-size:small;"&gt;The CollectionFactories project comes from the SDK example as well. It contains so called CollectionFactory classes. These classes are responsible for retrieving the data and mapping the items to Facet classes. The SDK ships with CollectionFactory classes for Sql, FileSystem images, SQL Azure, Twitter and as previously mentioned OData.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNoSpacing"&gt;&lt;span lang="EN-US"&gt;&lt;span style="font-family:Calibri;font-size:small;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal"&gt;&lt;span style="font-family:Calibri;"&gt;&lt;span style="font-size:small;"&gt;&lt;b style="mso-bidi-font-weight:normal;"&gt;&lt;span lang="EN-US"&gt;Deploy&lt;/span&gt;&lt;/b&gt;&lt;span lang="EN-US"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNoSpacing"&gt;&lt;span lang="EN-US"&gt;&lt;span style="font-family:Calibri;font-size:small;"&gt;You can either deploy both WSP solutions by using STSADM or you can use Visual Studio 2010 to deploy the Solutions. The SharePointPivots.wsp will be deployed to the application bin folder. Because of that, it needs a CAS policy. I didn&amp;rsquo;t include the CAS policy because the deployment in Visual Studio 2010 will fail when you add a CAS policy to the manifest. This is a known issue as stated here &lt;/span&gt;&lt;a href="http://support.microsoft.com/kb/2022463"&gt;&lt;span style="font-family:Calibri;color:#0000ff;font-size:small;"&gt;http://support.microsoft.com/kb/2022463&lt;/span&gt;&lt;/a&gt;&lt;span style="font-family:Calibri;"&gt;&lt;span style="font-size:small;"&gt;.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNoSpacing"&gt;&lt;span lang="EN-US"&gt;&lt;span style="font-family:Calibri;font-size:small;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNoSpacing"&gt;&lt;span lang="EN-US"&gt;&lt;span style="font-family:Calibri;"&gt;&lt;span style="font-size:small;"&gt;To keep thing simple you can set the trust level of your webapplication to full. Update the web.config with: &amp;lt;trust level=&amp;quot;Full&amp;quot; originUrl=&amp;quot;&amp;quot; /&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal"&gt;&lt;span lang="EN-US"&gt;&lt;span style="font-family:Calibri;font-size:small;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal"&gt;&lt;span lang="EN-US"&gt;&lt;span style="font-family:Calibri;"&gt;&lt;span style="font-size:small;"&gt;If you don&amp;rsquo;t like this (which is good!), update the manifest with a CAS policy and deploy the solutions by using STSADM or powershell.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNoSpacing"&gt;&lt;span lang="EN-US"&gt;&lt;span style="font-family:Calibri;font-size:small;"&gt;Once deployed, go to Central Admin and deploy the SharePointPivots.Install solution to the webapplication you want. Let&amp;rsquo;s say &lt;/span&gt;&lt;a href="http://intranet/"&gt;&lt;span style="font-family:Calibri;color:#0000ff;font-size:small;"&gt;http://intranet&lt;/span&gt;&lt;/a&gt;&lt;span style="font-family:Calibri;"&gt;&lt;span style="font-size:small;"&gt;. This will add the HttpHandlers sections to the web.config of the webapplication.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNoSpacing"&gt;&lt;span lang="EN-US"&gt;&lt;span style="font-family:Calibri;font-size:small;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNoSpacing"&gt;&lt;span lang="EN-US"&gt;&lt;span style="font-family:Calibri;font-size:small;"&gt;Go to the website &lt;/span&gt;&lt;a href="http://intranet/"&gt;&lt;span style="font-family:Calibri;color:#0000ff;font-size:small;"&gt;http://intranet&lt;/span&gt;&lt;/a&gt;&lt;span style="font-family:Calibri;"&gt;&lt;span style="font-size:small;"&gt; and make sure the sitecollection feature SharePointPivots Webpart is activated. Now its time to add the SharePointPivots webpart to the page. Go to any page you want and add the webpart to the page. Configure the webpart by going to the Edit Webpart properties.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNoSpacing"&gt;&lt;span lang="EN-US"&gt;&lt;span style="font-family:Calibri;"&gt;&lt;span style="font-size:small;"&gt;Go to the property &amp;ldquo;Select a Factory Provider&amp;rdquo;. Choose &amp;ldquo;OData.cxml?src=http://intranet&amp;rdquo; and click the Apply button.&lt;b style="mso-bidi-font-weight:normal;"&gt; &lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNoSpacing"&gt;&lt;b style="mso-bidi-font-weight:normal;"&gt;&lt;span lang="EN-US"&gt;&lt;span style="font-family:Calibri;font-size:small;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;
&lt;p class="MsoNormal"&gt;&lt;b style="mso-bidi-font-weight:normal;"&gt;&lt;span lang="EN-US"&gt;&lt;span style="font-family:Calibri;"&gt;&lt;span style="font-size:small;"&gt;Trouble shooting&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;
&lt;p class="MsoNoSpacing"&gt;&lt;span style="font-size:small;"&gt;&lt;span lang="EN-US"&gt;&lt;span style="font-family:Calibri;"&gt;If you don&amp;rsquo;t get any data returned by the listdata.svc service, check if the ADO.NET data services&amp;nbsp;are installed correctly. To do so, simple run any url with /_vti_bin/listdata.svc. If it gives the exception &amp;ldquo;Could not load type &amp;lsquo;System.Data.Services.Providers.IDataServiceUpdateProvider&amp;rdquo; reinstall an update of the ADO.NET dataservices from &lt;/span&gt;&lt;/span&gt;&lt;span lang="EN-US" style="font-family:&amp;#39;Georgia&amp;#39;,&amp;#39;serif&amp;#39;;color:#333333;"&gt;&lt;a href="http://support.microsoft.com/kb/976127"&gt;&lt;span style="color:#0000ff;"&gt;http://support.microsoft.com/kb/976127&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNoSpacing"&gt;&lt;span lang="EN-US"&gt;&lt;span style="font-family:Calibri;font-size:small;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal"&gt;&lt;b style="mso-bidi-font-weight:normal;"&gt;&lt;span lang="EN-US"&gt;&lt;span style="font-family:Calibri;font-size:small;"&gt;Have fun but keep in mind it is still a proof of concept implemention!&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;span lang="EN-US"&gt;&lt;/span&gt;&lt;/p&gt;</description></item></channel></rss>