<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Serge Luca&#039;s Blog (Sharepoint MVP)</title>
	<atom:link href="http://sergeluca.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://sergeluca.wordpress.com</link>
	<description>Sharepoint 2010 adventures</description>
	<lastBuildDate>Wed, 15 Feb 2012 22:16:40 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='sergeluca.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://1.gravatar.com/blavatar/573af174b4e8dd678261eb9f7761d421?s=96&#038;d=http%3A%2F%2Fs2.wp.com%2Fi%2Fbuttonw-com.png</url>
		<title>Serge Luca&#039;s Blog (Sharepoint MVP)</title>
		<link>http://sergeluca.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://sergeluca.wordpress.com/osd.xml" title="Serge Luca&#039;s Blog (Sharepoint MVP)" />
	<atom:link rel='hub' href='http://sergeluca.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Devoteam training services web site based on Office 365 public web site</title>
		<link>http://sergeluca.wordpress.com/2012/02/15/devoteam-training-services-web-site-based-on-office-365-public-web-site/</link>
		<comments>http://sergeluca.wordpress.com/2012/02/15/devoteam-training-services-web-site-based-on-office-365-public-web-site/#comments</comments>
		<pubDate>Wed, 15 Feb 2012 21:52:12 +0000</pubDate>
		<dc:creator>sergeluca</dc:creator>
				<category><![CDATA[Sharepoint 2010]]></category>
		<category><![CDATA[Office 365 public web sites; serge luca; Devoteam; MVP]]></category>

		<guid isPermaLink="false">https://sergeluca.wordpress.com/?p=1318</guid>
		<description><![CDATA[I’ve spent 2 weeks recreating the Devoteam Training services web site; I’ve chosen the Office 365 Plan E2 and I’ve created a public site collection with a custom master page that I’ve branded more or less with a Metro like user interface. The data are stored in SharePoint custom lists and in out of the [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sergeluca.wordpress.com&amp;blog=11025080&amp;post=1318&amp;subd=sergeluca&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I’ve spent 2 weeks recreating the <a href="http://www.guidance.be" target="_blank">Devoteam Training services web site</a>; I’ve chosen the <strong>Office 365 Plan E2</strong> and I’ve created a <strong>public site collection</strong> with a <strong>custom master page</strong> that I’ve branded more or less with a <strong>Metro</strong> like user interface.</p>
<p><a href="http://sergeluca.files.wordpress.com/2012/02/image2.png"><img style="background-image:none;padding-left:0;padding-right:0;display:inline;padding-top:0;border-width:0;" title="image" border="0" alt="image" src="http://sergeluca.files.wordpress.com/2012/02/image_thumb2.png?w=343&#038;h=212" width="343" height="212" /></a></p>
<p>The data are stored in SharePoint custom lists and in out of the box lists like a course calendar.</p>
<p>&#160;</p>
<p><a href="http://sergeluca.files.wordpress.com/2012/02/image3.png"><img style="background-image:none;padding-left:0;padding-right:0;display:inline;padding-top:0;border-width:0;" title="image" border="0" alt="image" src="http://sergeluca.files.wordpress.com/2012/02/image_thumb3.png?w=422&#038;h=227" width="422" height="227" /></a></p>
<p><strong>.Net code running in sandbox</strong> mode transforms our course calendar to a more tabular (<strong>matrix</strong> like) calendar</p>
<p>&#160;</p>
<p><a href="http://sergeluca.files.wordpress.com/2012/02/image4.png"><img style="background-image:none;padding-left:0;padding-right:0;display:inline;padding-top:0;border-width:0;" title="image" border="0" alt="image" src="http://sergeluca.files.wordpress.com/2012/02/image_thumb4.png?w=480&#038;h=272" width="480" height="272" /></a></p>
<p>&#160;</p>
<p>The course content is based on wiki pages </p>
<p><a href="http://sergeluca.files.wordpress.com/2012/02/image5.png"><img style="background-image:none;padding-left:0;padding-right:0;display:inline;padding-top:0;border-width:0;" title="image" border="0" alt="image" src="http://sergeluca.files.wordpress.com/2012/02/image_thumb5.png?w=447&#038;h=290" width="447" height="290" /></a></p>
<p>Don’t forget that the <strong>publishing features are NOT supported in O365 public web site</strong> (but they work); we don’t use them –&gt; <strong>we are leveraging SharePoint Foundation to the max</strong> with a few web parts, SharePoint Designer 2010 and the XSlListViewWeb part; <strong>Monthly cost: 10 euros with 24h support and 99.9 % SLA</strong>.</p>
<p>Isn’t that great ?</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sergeluca.wordpress.com/1318/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sergeluca.wordpress.com/1318/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sergeluca.wordpress.com/1318/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sergeluca.wordpress.com/1318/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sergeluca.wordpress.com/1318/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sergeluca.wordpress.com/1318/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sergeluca.wordpress.com/1318/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sergeluca.wordpress.com/1318/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sergeluca.wordpress.com/1318/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sergeluca.wordpress.com/1318/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sergeluca.wordpress.com/1318/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sergeluca.wordpress.com/1318/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sergeluca.wordpress.com/1318/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sergeluca.wordpress.com/1318/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sergeluca.wordpress.com&amp;blog=11025080&amp;post=1318&amp;subd=sergeluca&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://sergeluca.wordpress.com/2012/02/15/devoteam-training-services-web-site-based-on-office-365-public-web-site/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/165f009eb7b7338a36f7410fe4db2f6e?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">sergeluca</media:title>
		</media:content>

		<media:content url="http://sergeluca.files.wordpress.com/2012/02/image_thumb2.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://sergeluca.files.wordpress.com/2012/02/image_thumb3.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://sergeluca.files.wordpress.com/2012/02/image_thumb4.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://sergeluca.files.wordpress.com/2012/02/image_thumb5.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>
	</item>
		<item>
		<title>How to Hide the Title column</title>
		<link>http://sergeluca.wordpress.com/2012/02/15/how-to-hide-the-title-column/</link>
		<comments>http://sergeluca.wordpress.com/2012/02/15/how-to-hide-the-title-column/#comments</comments>
		<pubDate>Wed, 15 Feb 2012 21:24:05 +0000</pubDate>
		<dc:creator>sergeluca</dc:creator>
				<category><![CDATA[Sharepoint 2010]]></category>

		<guid isPermaLink="false">https://sergeluca.wordpress.com/?p=1307</guid>
		<description><![CDATA[Many people often ask me how to get rid of the SharePoint Title column in SharePoint list and associated forms; of course, we can always remove the Title columns from the list views, but the column will still show up in the forms. An easy and elegant way to solve this is to create a [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sergeluca.wordpress.com&amp;blog=11025080&amp;post=1307&amp;subd=sergeluca&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Many people often ask me <strong>how to get rid of the SharePoint Title column</strong> in SharePoint list and associated forms; of course, we can always remove the Title columns from the list views, but the column will still show up in the forms.</p>
<p>An easy and elegant way to solve this is to create a custom content type; in the content type definition, go to Content Type definition :</p>
<p><a href="http://sergeluca.files.wordpress.com/2012/02/image.png"><img style="background-image:none;border-bottom:0;border-left:0;padding-left:0;padding-right:0;display:block;float:none;margin-left:auto;border-top:0;margin-right:auto;border-right:0;padding-top:0;" title="image" border="0" alt="image" src="http://sergeluca.files.wordpress.com/2012/02/image_thumb.png?w=282&#038;h=350" width="282" height="350" /></a></p>
<p>Click on the <strong>Title</strong> column, and select the option “<strong>This column is Hidden (Will not appear in forms”</strong>).</p>
<p>&#160;</p>
<p><a href="http://sergeluca.files.wordpress.com/2012/02/image1.png"><img style="background-image:none;border-bottom:0;border-left:0;padding-left:0;padding-right:0;display:block;float:none;margin-left:auto;border-top:0;margin-right:auto;border-right:0;padding-top:0;" title="image" border="0" alt="image" src="http://sergeluca.files.wordpress.com/2012/02/image_thumb1.png?w=385&#038;h=258" width="385" height="258" /></a></p>
<p>You can now associate you content type to a SharePoint List, but you won’t see the Title column anymore.</p>
<p>Enjoy !</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sergeluca.wordpress.com/1307/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sergeluca.wordpress.com/1307/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sergeluca.wordpress.com/1307/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sergeluca.wordpress.com/1307/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sergeluca.wordpress.com/1307/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sergeluca.wordpress.com/1307/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sergeluca.wordpress.com/1307/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sergeluca.wordpress.com/1307/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sergeluca.wordpress.com/1307/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sergeluca.wordpress.com/1307/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sergeluca.wordpress.com/1307/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sergeluca.wordpress.com/1307/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sergeluca.wordpress.com/1307/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sergeluca.wordpress.com/1307/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sergeluca.wordpress.com&amp;blog=11025080&amp;post=1307&amp;subd=sergeluca&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://sergeluca.wordpress.com/2012/02/15/how-to-hide-the-title-column/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/165f009eb7b7338a36f7410fe4db2f6e?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">sergeluca</media:title>
		</media:content>

		<media:content url="http://sergeluca.files.wordpress.com/2012/02/image_thumb.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://sergeluca.files.wordpress.com/2012/02/image_thumb1.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>
	</item>
		<item>
		<title>Office 2010 connection to SharePoint 2010 very slow in the Information Worker VM</title>
		<link>http://sergeluca.wordpress.com/2012/01/17/office-2010-connection-to-sharepoint-2010-very-slow-in-the-information-worker-vm/</link>
		<comments>http://sergeluca.wordpress.com/2012/01/17/office-2010-connection-to-sharepoint-2010-very-slow-in-the-information-worker-vm/#comments</comments>
		<pubDate>Tue, 17 Jan 2012 20:35:54 +0000</pubDate>
		<dc:creator>sergeluca</dc:creator>
				<category><![CDATA[Sharepoint 2010]]></category>
		<category><![CDATA[office 2010 Slow SharePoint 2010 Information Worker VM]]></category>

		<guid isPermaLink="false">https://sergeluca.wordpress.com/?p=1300</guid>
		<description><![CDATA[I’ve noticed that in several situations, saving or opening Office 2010 documents to/from SharePoint 2010 can be extremely slow on different computers or even in the Information Worker Virtual machine that I’ve been using since 2009. To solve this kind of issue, one of the thing you have to do is to uncheck the Automatically [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sergeluca.wordpress.com&amp;blog=11025080&amp;post=1300&amp;subd=sergeluca&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I’ve noticed that in several situations, saving or opening Office 2010 documents to/from SharePoint 2010 can be <strong>extremely slow</strong> on different computers or even in the <a href="http://www.microsoft.com/download/en/details.aspx?id=27417" target="_blank">Information Worker Virtual machine</a> that I’ve been using since 2009.</p>
<p>To solve this kind of issue, one of the thing you have to do is to <strong>uncheck the Automatically detect</strong> settings option of Internet Explorer (In the Menu Tools-Internet Options –Connections ) </p>
<p>&#160;</p>
<p><a href="http://sergeluca.files.wordpress.com/2012/01/image.png"><img style="background-image:none;padding-left:0;padding-right:0;display:inline;padding-top:0;border-width:0;" title="image" border="0" alt="image" src="http://sergeluca.files.wordpress.com/2012/01/image_thumb.png?w=327&#038;h=287" width="327" height="287" /></a></p>
<p>Let me know if that helps you…</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sergeluca.wordpress.com/1300/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sergeluca.wordpress.com/1300/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sergeluca.wordpress.com/1300/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sergeluca.wordpress.com/1300/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sergeluca.wordpress.com/1300/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sergeluca.wordpress.com/1300/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sergeluca.wordpress.com/1300/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sergeluca.wordpress.com/1300/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sergeluca.wordpress.com/1300/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sergeluca.wordpress.com/1300/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sergeluca.wordpress.com/1300/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sergeluca.wordpress.com/1300/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sergeluca.wordpress.com/1300/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sergeluca.wordpress.com/1300/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sergeluca.wordpress.com&amp;blog=11025080&amp;post=1300&amp;subd=sergeluca&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://sergeluca.wordpress.com/2012/01/17/office-2010-connection-to-sharepoint-2010-very-slow-in-the-information-worker-vm/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/165f009eb7b7338a36f7410fe4db2f6e?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">sergeluca</media:title>
		</media:content>

		<media:content url="http://sergeluca.files.wordpress.com/2012/01/image_thumb.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>
	</item>
		<item>
		<title>Inside PowerPivot 2 (SQL Server 2012 &amp; SharePoint 2010) &amp; the BISM-step1</title>
		<link>http://sergeluca.wordpress.com/2011/12/22/inside-powerpivot-2-sql-server-2012-sharepoint-2010-the-bism-step1/</link>
		<comments>http://sergeluca.wordpress.com/2011/12/22/inside-powerpivot-2-sql-server-2012-sharepoint-2010-the-bism-step1/#comments</comments>
		<pubDate>Thu, 22 Dec 2011 21:03:50 +0000</pubDate>
		<dc:creator>sergeluca</dc:creator>
				<category><![CDATA[SharePoint BI with SQL Server 2012]]></category>
		<category><![CDATA[serge luca Isabelle Van Campehoudt Sharepoint 2010 Business Intelligence PowerPivot SQL Server 2012]]></category>

		<guid isPermaLink="false">https://sergeluca.wordpress.com/?p=1295</guid>
		<description><![CDATA[In this post we assume that the reader already knows what PowerPivot is and has already created some PowerPivot “models”; the following notes describes the results of our investigations ;–) When we deploy to SharePoint an Excel Workbook using a PowerPivot datasource ,&#160; an (almost hidden) instance of SQL Server Analysis services handles the server [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sergeluca.wordpress.com&amp;blog=11025080&amp;post=1295&amp;subd=sergeluca&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>In this post we assume that the reader already knows what PowerPivot is and has already created some PowerPivot “models”; the following notes describes the results of our investigations ;–)</p>
<p>When we deploy to SharePoint an Excel Workbook using a PowerPivot datasource ,&#160; an (almost hidden) instance of SQL Server Analysis services handles the server side PowerPivot request: this instance is named <strong>.\PowerPivot</strong>.</p>
<p>Let start from a clean situation where no PowerPivot workbook has been deployed; we launch <strong>SQL Server 2008 R2 Management Studio</strong> and select <strong>Analysis Services</strong> as the Server type and <strong>.\PowerPivot</strong> as the Server Name as illustrated in the next picture :</p>
<p>&#160;</p>
<p><a href="http://sergeluca.files.wordpress.com/2011/12/image.png"><img style="background-image:none;padding-left:0;padding-right:0;display:inline;padding-top:0;border-width:0;" title="image" border="0" alt="image" src="http://sergeluca.files.wordpress.com/2011/12/image_thumb.png?w=354&#038;h=265" width="354" height="265" /></a></p>
<p>We get, well…nothing : no database.</p>
<p><a href="http://sergeluca.files.wordpress.com/2011/12/image1.png"><img style="background-image:none;padding-left:0;padding-right:0;display:inline;padding-top:0;border-width:0;" title="image" border="0" alt="image" src="http://sergeluca.files.wordpress.com/2011/12/image_thumb1.png?w=443&#038;h=241" width="443" height="241" /></a></p>
<p>Now, let’s create a PowerPivot workbook with <strong>4 tables</strong> : </p>
<p><strong>1 Excel</strong> linked table (Date) and <strong>3 tables</strong> fetching data from <strong>SQL Server</strong> (“Sales”, “Employee” and “SalesTerritory”).</p>
<p><a href="http://sergeluca.files.wordpress.com/2011/12/image2.png"><img style="background-image:none;padding-left:0;padding-right:0;display:inline;padding-top:0;border-width:0;" title="image" border="0" alt="image" src="http://sergeluca.files.wordpress.com/2011/12/image_thumb2.png?w=373&#038;h=302" width="373" height="302" /></a></p>
<p>From this, let’s create a small dashboard based on a Pivot table &amp; slicers :</p>
<p><a href="http://sergeluca.files.wordpress.com/2011/12/image3.png"><img style="background-image:none;padding-left:0;padding-right:0;display:inline;padding-top:0;border-width:0;" title="image" border="0" alt="image" src="http://sergeluca.files.wordpress.com/2011/12/image_thumb3.png?w=371&#038;h=180" width="371" height="180" /></a></p>
<p>When we save this workbook ( with the filename PowerpivotDemoYYYY) into a document library, <strong>no database</strong> is created in the .\PowerPivot instance.</p>
<p>When we click on the workbook and display it in the browser, we don’t see anything yet in the .\PowerPivot instance.</p>
<p>When we click on a slicer then&#160; a database (with a name including workbook name) is created:</p>
<p><a href="http://sergeluca.files.wordpress.com/2011/12/image4.png"><img style="background-image:none;padding-left:0;padding-right:0;display:inline;padding-top:0;border-width:0;" title="image" border="0" alt="image" src="http://sergeluca.files.wordpress.com/2011/12/image_thumb4.png?w=394&#038;h=142" width="394" height="142" /></a></p>
<p>When we expand the databasename node, you will notice that :</p>
<ul>
<li>there is a datasource for each PowerPivot connected to the outside world (but not for the Excel linked table). </li>
<li>there is one Cube (name = ‘Sandbox’) </li>
<li>Each PowerPivot table is a measure group and a dimension : </li>
</ul>
<p>&#160;</p>
<p><a href="http://sergeluca.files.wordpress.com/2011/12/image5.png"><img style="background-image:none;padding-left:0;padding-right:0;display:inline;padding-top:0;border-width:0;" title="image" border="0" alt="image" src="http://sergeluca.files.wordpress.com/2011/12/image_thumb5.png?w=398&#038;h=313" width="398" height="313" /></a></p>
<p>&#160;</p>
<p>Now if we save the workbook on the file system and if we rename it with a .zip file extension, we will find an interesting file in the internal <strong>.xl\customdata</strong> folder : <strong>item1.data</strong> which is a SQL Server Analysis Service backup file embedded into the workbook :</p>
<p><a href="http://sergeluca.files.wordpress.com/2011/12/image6.png"><img style="background-image:none;padding-left:0;padding-right:0;display:inline;padding-top:0;border-width:0;" title="image" border="0" alt="image" src="http://sergeluca.files.wordpress.com/2011/12/image_thumb6.png?w=408&#038;h=213" width="408" height="213" /></a></p>
<p>Indeed, if we change its extension to <strong>abf</strong> (from <strong>item1.data</strong> to <strong>item1.abf</strong>).</p>
<p><a href="http://sergeluca.files.wordpress.com/2011/12/image7.png"><img style="background-image:none;padding-left:0;padding-right:0;display:inline;padding-top:0;border-width:0;" title="image" border="0" alt="image" src="http://sergeluca.files.wordpress.com/2011/12/image_thumb7.png?w=416&#038;h=215" width="416" height="215" /></a></p>
<p>and if we restore it into a database named (for instance) <strong>powerpivotrestore</strong>, we get a similar cube :</p>
<p><a href="http://sergeluca.files.wordpress.com/2011/12/image8.png"><img style="background-image:none;padding-left:0;padding-right:0;display:inline;padding-top:0;border-width:0;" title="image" border="0" alt="image" src="http://sergeluca.files.wordpress.com/2011/12/image_thumb8.png?w=422&#038;h=312" width="422" height="312" /></a></p>
<p>Now let’s try that again with <strong>SQL Server 2012</strong> (here I’m using the Denali CTP 3 VM provided by Microsoft).</p>
<p>In SQL Server 2012 the .\PowerPivot instance is decorated with a nice SharePoint icon (see picture below).</p>
<p>I’ve created a PowerPivot workbook with 3 tables (named “Picknic_session”) fetching data from a SQL Server database.</p>
<p>Same behavior: clicking on a slicer generates the Database, but this time we don’t really get a traditional cube in Analysis Services: </p>
<p>I also noticed that starting the (new) PowerView editor from a PowerPivot workbook also generates the database.</p>
<p><a href="http://sergeluca.files.wordpress.com/2011/12/image9.png"><img style="background-image:none;padding-left:0;padding-right:0;display:inline;padding-top:0;border-width:0;" title="image" border="0" alt="image" src="http://sergeluca.files.wordpress.com/2011/12/image_thumb9.png?w=474&#038;h=266" width="474" height="266" /></a></p>
<p>Indeed, according to the new SQL Server 2012 BI religion,&#160; <strong>the BI Semantic Model (BSIM)</strong>, Analysis Services can be installed in one of the following modes : tabular or multidimensional; the “PowerPivot” mode is based on the tabular mode (works with the Vertipaq engine).You will find more information about the BI Semantic model in this <a href="http://blogs.msdn.com/b/nikosan/archive/2011/01/24/sql-server-denali-bi-semantic-model-bism.aspx" target="_blank">post</a>.</p>
<p>One of the consequences is that we can use the Vertipaq engine without having to install…SharePoint (Vertipaq on SharePoint requires the Enterprise version of SharePoint).</p>
<p>One of the thing that is interesting with the BSIM is that you can&#160; import a PowerPivot workbook from <strong>BIDS</strong> (Business Intelligence Development Studio), which is now hosted in Visual Studio 2010: indeed, Visual Studio 2010 provides several new project templates like the new&#160; “Import from PowerPivot Business Intelligence”&#160; :</p>
<p><a href="http://sergeluca.files.wordpress.com/2011/12/image10.png"><img style="background-image:none;padding-left:0;padding-right:0;display:inline;padding-top:0;border-width:0;" title="image" border="0" alt="image" src="http://sergeluca.files.wordpress.com/2011/12/image_thumb10.png?w=422&#038;h=253" width="422" height="253" /></a></p>
<p>After importing the PowerPivot workbook into Visual Studio 2010, you get the PowerPivot functionalities of Excel-PowerPivot in your favorite environment (which also provides team functionalities like source control and much more)</p>
<p><a href="http://sergeluca.files.wordpress.com/2011/12/image11.png"><img style="background-image:none;padding-left:0;padding-right:0;display:inline;padding-top:0;border-width:0;" title="image" border="0" alt="image" src="http://sergeluca.files.wordpress.com/2011/12/image_thumb11.png?w=349&#038;h=309" width="349" height="309" /></a></p>
<p>The BIDS project &amp; Solution looks like this</p>
<p><a href="http://sergeluca.files.wordpress.com/2011/12/image12.png"><img style="background-image:none;padding-left:0;padding-right:0;display:inline;padding-top:0;border-width:0;" title="image" border="0" alt="image" src="http://sergeluca.files.wordpress.com/2011/12/image_thumb12.png?w=348&#038;h=364" width="348" height="364" /></a></p>
<p>The project property page provide a bunch of interesting options, like the <strong>Server</strong> location and the <strong>Query Mode</strong>, which is <strong>Vertipaq</strong> by default (but can also be switched to DirectQuery,…)</p>
<p><a href="http://sergeluca.files.wordpress.com/2011/12/image13.png"><img style="background-image:none;padding-left:0;padding-right:0;display:inline;padding-top:0;border-width:0;" title="image" border="0" alt="image" src="http://sergeluca.files.wordpress.com/2011/12/image_thumb13.png?w=431&#038;h=234" width="431" height="234" /></a></p>
<p>This (Tabular) project must be deployed to a <strong>Tabular instance of Analysis Service :</strong></p>
<p><a href="http://sergeluca.files.wordpress.com/2011/12/image14.png"><img style="background-image:none;padding-left:0;padding-right:0;display:inline;padding-top:0;border-width:0;" title="image" border="0" alt="image" src="http://sergeluca.files.wordpress.com/2011/12/image_thumb14.png?w=364&#038;h=336" width="364" height="336" /></a></p>
<p>It looks like the project cannot be deployed (from BIDS) to the ( default) SharePoint instance of Analysis Services (<strong>.\powerpivot</strong>).If you try it, you will get the following error message:</p>
<p><a href="http://sergeluca.files.wordpress.com/2011/12/image15.png"><img style="background-image:none;border-bottom:0;border-left:0;padding-left:0;padding-right:0;display:inline;border-top:0;border-right:0;padding-top:0;" title="image" border="0" alt="image" src="http://sergeluca.files.wordpress.com/2011/12/image_thumb15.png?w=409&#038;h=126" width="409" height="126" /></a></p>
<p>This message is obviously strange <img style="border-style:none;" class="wlEmoticon wlEmoticon-smile" alt="Smile" src="http://sergeluca.files.wordpress.com/2011/12/wlemoticon-smile.png?w=500" /> ; we believe that we cannot deploy the tabular project to this instance because the instance is protected/reserved to SharePoint.</p>
<p>Having a separate tabular instance of Analysis service makes sense if someone wants to use the VertiPaq engine without having to rely on the (expensive) SharePoint 2010 Enterprise or if a company want to move from a Team BI model (based on SharePoint) into a Corporate BI model (with or without SharePoint). To be honest, I believe that most companies will adopt the SharePoint approach.</p>
<p><u>Using PowerView to access a BISM located in a tabular instance of Analysis Service</u>.</p>
<p>Now that our BISM has been deployed to a separate instance of Analysis Service, it can still be accessed by PowerView (formerly know as Crescent) a new very powerful tools for end users &amp; power users (we won’t describe PowerView in this post, we can easily start PowerView from a PowerPivot workbook stored in a document library).</p>
<p>To achieve this, we need to create BSIM connection file pointing the tabular database: from a standard document library we have to provide the BSIM content type which is available in the site collection by activating the following site collection feature&#160; <strong>PowerPivot feature integration for Site Collections.</strong></p>
<p>In my case I created a connection to my Tabularpoject21 Tabular database (the one deployed earlier from BIDS)</p>
<p><a href="http://sergeluca.files.wordpress.com/2011/12/image16.png"><img style="background-image:none;border-bottom:0;border-left:0;padding-left:0;padding-right:0;display:inline;border-top:0;border-right:0;padding-top:0;" title="image" border="0" alt="image" src="http://sergeluca.files.wordpress.com/2011/12/image_thumb16.png?w=328&#038;h=367" width="328" height="367" /></a></p>
<p>&#160;</p>
<p>When the BISM connection file is created, we can start PowerView (Crescent) :</p>
<p><a href="http://sergeluca.files.wordpress.com/2011/12/image17.png"><img style="background-image:none;border-bottom:0;border-left:0;padding-left:0;padding-right:0;display:inline;border-top:0;border-right:0;padding-top:0;" title="image" border="0" alt="image" src="http://sergeluca.files.wordpress.com/2011/12/image_thumb17.png?w=413&#038;h=307" width="413" height="307" /></a></p>
<p>In the released of SQL Server 2012, PowerView (which is part or Reporting Services) will only be able to create reports from Tabular databases and not multidimensional databases; this last functionality will be provided later…</p>
<p>The BI semantic Model is not yet fully unified… </p>
<p>So yes, you will still need a tool like PerformancePoint which allows us to quickly navigate from one dimension to another via the <strong>Decomposition Tree</strong> as illustrated below :</p>
<p><a href="http://sergeluca.files.wordpress.com/2011/12/image18.png"><img style="background-image:none;border-bottom:0;border-left:0;padding-left:0;padding-right:0;display:inline;border-top:0;border-right:0;padding-top:0;" title="image" border="0" alt="image" src="http://sergeluca.files.wordpress.com/2011/12/image_thumb18.png?w=464&#038;h=315" width="464" height="315" /></a></p>
<p>Even if PowerView allows you to create dynamic reports from external instances of Analysis Services, don’t forget that <strong>SharePoint 2010 (Enterprise) is still required</strong>…</p>
<p>Same story with the new <strong>Reporting Services Data Alerts</strong> (which allows more efficient reports subscriptions based on data value) : SharePoint 2010 (Enterprise) is required.</p>
<p>The BISM tabular models can be queried in Reporting Services with MDX. That can be&#160; a way to bypass the SharePoint 2010 requirement and integrate Reporting Services in native mode to other portals. Excel 2010 is also supported as a client and Excel also uses MDX to query BISM tabular models.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sergeluca.wordpress.com/1295/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sergeluca.wordpress.com/1295/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sergeluca.wordpress.com/1295/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sergeluca.wordpress.com/1295/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sergeluca.wordpress.com/1295/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sergeluca.wordpress.com/1295/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sergeluca.wordpress.com/1295/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sergeluca.wordpress.com/1295/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sergeluca.wordpress.com/1295/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sergeluca.wordpress.com/1295/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sergeluca.wordpress.com/1295/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sergeluca.wordpress.com/1295/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sergeluca.wordpress.com/1295/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sergeluca.wordpress.com/1295/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sergeluca.wordpress.com&amp;blog=11025080&amp;post=1295&amp;subd=sergeluca&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://sergeluca.wordpress.com/2011/12/22/inside-powerpivot-2-sql-server-2012-sharepoint-2010-the-bism-step1/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/165f009eb7b7338a36f7410fe4db2f6e?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">sergeluca</media:title>
		</media:content>

		<media:content url="http://sergeluca.files.wordpress.com/2011/12/image_thumb.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://sergeluca.files.wordpress.com/2011/12/image_thumb1.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://sergeluca.files.wordpress.com/2011/12/image_thumb2.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://sergeluca.files.wordpress.com/2011/12/image_thumb3.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://sergeluca.files.wordpress.com/2011/12/image_thumb4.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://sergeluca.files.wordpress.com/2011/12/image_thumb5.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://sergeluca.files.wordpress.com/2011/12/image_thumb6.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://sergeluca.files.wordpress.com/2011/12/image_thumb7.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://sergeluca.files.wordpress.com/2011/12/image_thumb8.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://sergeluca.files.wordpress.com/2011/12/image_thumb9.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://sergeluca.files.wordpress.com/2011/12/image_thumb10.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://sergeluca.files.wordpress.com/2011/12/image_thumb11.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://sergeluca.files.wordpress.com/2011/12/image_thumb12.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://sergeluca.files.wordpress.com/2011/12/image_thumb13.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://sergeluca.files.wordpress.com/2011/12/image_thumb14.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://sergeluca.files.wordpress.com/2011/12/image_thumb15.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://sergeluca.files.wordpress.com/2011/12/wlemoticon-smile.png" medium="image">
			<media:title type="html">Smile</media:title>
		</media:content>

		<media:content url="http://sergeluca.files.wordpress.com/2011/12/image_thumb16.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://sergeluca.files.wordpress.com/2011/12/image_thumb17.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://sergeluca.files.wordpress.com/2011/12/image_thumb18.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>
	</item>
		<item>
		<title>Session Business Intelligence with SharePoint 2010 and SQL Server 2012</title>
		<link>http://sergeluca.wordpress.com/2011/12/18/session-business-intelligence-with-sharepoint-2010-and-sql-server-2012/</link>
		<comments>http://sergeluca.wordpress.com/2011/12/18/session-business-intelligence-with-sharepoint-2010-and-sql-server-2012/#comments</comments>
		<pubDate>Sun, 18 Dec 2011 20:18:40 +0000</pubDate>
		<dc:creator>sergeluca</dc:creator>
				<category><![CDATA[Sharepoint 2010]]></category>
		<category><![CDATA[SharePoint BI with SQL Server 2012]]></category>
		<category><![CDATA[serge luca Isabelle Van Campehoudt Sharepoint 2010 Business Intelligence]]></category>

		<guid isPermaLink="false">https://sergeluca.wordpress.com/?p=1254</guid>
		<description><![CDATA[3 days ago, with my partner in crime Isabelle Van Campenhoudt, I did a session on SQL Server 2012 Business Intelligence with SharePoint 2010 for the Club SharePoint France (Microsoft offices, Paris) here are a couple of pictures and slide can be visualized and downloaded from my skydrive. We covered the following topics : Introduction [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sergeluca.wordpress.com&amp;blog=11025080&amp;post=1254&amp;subd=sergeluca&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>3 days ago, with my partner in crime Isabelle Van Campenhoudt, I did a session on <strong>SQL Server 2012 Business Intelligence with SharePoint 2010</strong> for the <strong>Club SharePoint France</strong> (Microsoft offices, Paris) here are a couple of pictures and slide can be visualized and downloaded from <a href="https://skydrive.live.com/#!/view.aspx?cid=E8A06D5F2F585013&amp;resid=E8A06D5F2F585013%218233" target="_blank">my skydrive</a>.</p>
<p>We covered the following topics :</p>
<ul>
<li>Introduction</li>
<li>PowerPivot v2</li>
<li>PowerView</li>
<li>Reporting Services 2012 &amp; SharePoint 2010</li>
<li>BI Semantic Data Model</li>
</ul>
<p><a href="http://sergeluca.files.wordpress.com/2011/12/serge.jpg"><img style="background-image:none;border-bottom:0;border-left:0;padding-left:0;padding-right:0;display:inline;border-top:0;border-right:0;padding-top:0;" title="serge" border="0" alt="serge" src="http://sergeluca.files.wordpress.com/2011/12/serge_thumb.jpg?w=391&#038;h=295" width="391" height="295" /></a></p>
<p><a href="http://sergeluca.files.wordpress.com/2011/12/isabelle.jpg"><img style="background-image:none;border-bottom:0;border-left:0;padding-left:0;padding-right:0;display:inline;border-top:0;border-right:0;padding-top:0;" title="isabelle" border="0" alt="isabelle" src="http://sergeluca.files.wordpress.com/2011/12/isabelle_thumb.jpg?w=394&#038;h=296" width="394" height="296" /></a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sergeluca.wordpress.com/1254/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sergeluca.wordpress.com/1254/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sergeluca.wordpress.com/1254/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sergeluca.wordpress.com/1254/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sergeluca.wordpress.com/1254/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sergeluca.wordpress.com/1254/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sergeluca.wordpress.com/1254/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sergeluca.wordpress.com/1254/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sergeluca.wordpress.com/1254/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sergeluca.wordpress.com/1254/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sergeluca.wordpress.com/1254/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sergeluca.wordpress.com/1254/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sergeluca.wordpress.com/1254/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sergeluca.wordpress.com/1254/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sergeluca.wordpress.com&amp;blog=11025080&amp;post=1254&amp;subd=sergeluca&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://sergeluca.wordpress.com/2011/12/18/session-business-intelligence-with-sharepoint-2010-and-sql-server-2012/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/165f009eb7b7338a36f7410fe4db2f6e?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">sergeluca</media:title>
		</media:content>

		<media:content url="http://sergeluca.files.wordpress.com/2011/12/serge_thumb.jpg" medium="image">
			<media:title type="html">serge</media:title>
		</media:content>

		<media:content url="http://sergeluca.files.wordpress.com/2011/12/isabelle_thumb.jpg" medium="image">
			<media:title type="html">isabelle</media:title>
		</media:content>
	</item>
		<item>
		<title>Creating a public web site with Office 365 : my experience so far&#8230;</title>
		<link>http://sergeluca.wordpress.com/2011/12/05/creating-a-public-web-site-with-office-365-my-experience-so-far/</link>
		<comments>http://sergeluca.wordpress.com/2011/12/05/creating-a-public-web-site-with-office-365-my-experience-so-far/#comments</comments>
		<pubDate>Mon, 05 Dec 2011 19:25:36 +0000</pubDate>
		<dc:creator>sergeluca</dc:creator>
				<category><![CDATA[Sharepoint 2010]]></category>
		<category><![CDATA[Office 365 public web sites]]></category>

		<guid isPermaLink="false">https://sergeluca.wordpress.com/?p=1246</guid>
		<description><![CDATA[One of my customer had the following problem : he had an old &#38; ugly public web site written in asp.net. Nobody wanted to maintain this application anymore, but worse than that: the business was unable to easily &#38; quickly add new content and was therefore slow to react. As a SharePoint guy, my first [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sergeluca.wordpress.com&amp;blog=11025080&amp;post=1246&amp;subd=sergeluca&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>One of my customer had the following problem : he had an old &amp; ugly public web site written in asp.net. Nobody wanted to maintain this application anymore, but worse than that: the business was unable to easily &amp; quickly add new content and was therefore slow to react.</p>
<p>As a SharePoint guy, my first reflex was to use SharePoint as a web content management tool, but we didn’t have the budget to buy, to set up and to maintain a SharePoint farm.</p>
<p>Moving to the cloud (Azure or Office 365) was the obvious option; Azure didn’t provide any real web content management functionalities so I turned my attention to SharePoint online (the SharePoint component of Office 365).</p>
<p>Office 365 provides both an intranet (several Site Collections) and a public web site (one public site collection).</p>
<p>Branding the public web site is possible by creating a custom master page (don’t try to modify the default master page!); I did it by following this MSDN <a href="http://msdn.microsoft.com/en-us/library/gg430141.aspx" target="_blank">tutorial</a>&#160; that I recommend . That works very well and you can completely change the ugly look &amp; feel of the default Office 365 public web site.</p>
<p>I was very glad to be able to achieve it for my customer for only 25 €/month; I also noticed that the publishing features were available, so I thought I could leverage the very handy Page Layout stuff until I discovered in the Office 365 forums that even if they work the <strong>publishing features of Office 365 are not supported on the public web site !!! And an Office 365 program manager confirmed it afterwards at the SPC 2011.</strong></p>
<p>That was a real problem for me –&gt; I decided to leverage the SharePoint Foundation wiki pages (very flexible) with web parts (web parts properties are now versioned on SharePoint Foundation 2010)</p>
<p>I had to remove all publishing controls from my custom master page.</p>
<p>Other huge problem : <strong>we cannot remotely debug an Office 365 SharePoint application</strong> (this didn’t surprise me)</p>
<p><strong><font size="4">&#8211;&gt;I decided to create the 4 following environments :</font></strong></p>
<p><strong>DEV environment :</strong> </p>
<p>my HyperV virtual machine, with Visual Studio 2010 &amp; TFS source control. I always start by using the <a href="http://www.microsoft.com/download/en/details.aspx?displaylang=en&amp;id=27417" target="_blank">SharePoint 2010 Microsoft Information worker VM</a>. In my Visual Studio project I have a mixture of CAML Code &amp; sandboxed .net code that I deploy &amp; debug on my local SharePoint.No problem so far.</p>
<p>I quickly discovered that I couldn’t create a form that would send information by e-mail because one of the methods that is explicitly blocked in the sandbox is SPUtility.SendEmail. As far as I know, there is no alternate method provided in SharePoint.</p>
<p><strong>TEST environment&#160; :</strong> </p>
<p>I created a (free) trial Office 365 account and I manually uploaded &amp; activate my sandbox solution over there. Here I noticed several problems :</p>
<p>1..Net Code that worked very well in my on premise sandbox didn’t always work in the cloud. I was surprised; I even created an empty web part that didn’t work in O365…and <a href="http://community.office365.com/en-us/f/153/p/16366/77984.aspx#77984" target="_blank">other people</a> experimented the same issue.</p>
<p>2.Sometime I couldn’t even update my solution package in the cloud, it looks like the User Code Service couldn’t unpack and deploy my solution package.Even deploying the solution to another (private here) site collection didn’t work (which didn’t surprise me : the User Code service is Shared across the farm).</p>
<p><strong>STAGING environment</strong></p>
<p>I created another (free) trial Office 365 account with another public site collection where I deployed&#160; my solution package in such way that some key beta testers could test it and report some problems &amp; suggestions.</p>
<p><strong>PRODUCTION environment</strong></p>
<p>I created yet another (free) trial Office 365 account where I deployed the tested solution package; eventually I paid the subscription.</p>
<p>&#160;</p>
<p><font color="#ff0000">My advices : the SharePoint component of Office 365 looks promising even in public web sites where the publishing features work, but are not supported; stay away from .Net code as much as you can and code in CAML or use the (javascript) client object model. Don’t try to upgrade your sandbox solutions too often. As usual, try to use out of the box features as much as possible (like XsltListViews), leverage SharePoint Designer 2010 and the data view web part.Always test your application with anonymous and authenticated users : indeed some list views don’t work as expected with anonymous users (specially when you specify a group by statement and a sort statement). And more than on premise : test, test, test…</font></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sergeluca.wordpress.com/1246/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sergeluca.wordpress.com/1246/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sergeluca.wordpress.com/1246/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sergeluca.wordpress.com/1246/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sergeluca.wordpress.com/1246/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sergeluca.wordpress.com/1246/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sergeluca.wordpress.com/1246/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sergeluca.wordpress.com/1246/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sergeluca.wordpress.com/1246/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sergeluca.wordpress.com/1246/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sergeluca.wordpress.com/1246/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sergeluca.wordpress.com/1246/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sergeluca.wordpress.com/1246/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sergeluca.wordpress.com/1246/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sergeluca.wordpress.com&amp;blog=11025080&amp;post=1246&amp;subd=sergeluca&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://sergeluca.wordpress.com/2011/12/05/creating-a-public-web-site-with-office-365-my-experience-so-far/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/165f009eb7b7338a36f7410fe4db2f6e?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">sergeluca</media:title>
		</media:content>
	</item>
		<item>
		<title>My Live Meeting on SharePoint 2010 as a Business Intelligence Platform (27/9/2011)-Live from Brussels (Microsoft)</title>
		<link>http://sergeluca.wordpress.com/2011/09/26/my-live-meeting-on-sharepoint-2010-as-a-business-intelligence-platform-2792011-live-from-brussels-microsoft/</link>
		<comments>http://sergeluca.wordpress.com/2011/09/26/my-live-meeting-on-sharepoint-2010-as-a-business-intelligence-platform-2792011-live-from-brussels-microsoft/#comments</comments>
		<pubDate>Mon, 26 Sep 2011 09:53:08 +0000</pubDate>
		<dc:creator>sergeluca</dc:creator>
				<category><![CDATA[Sharepoint 2010]]></category>
		<category><![CDATA[SharePoint 2010 livemeeting Business intelligence Serge Luca]]></category>

		<guid isPermaLink="false">https://sergeluca.wordpress.com/2011/09/26/my-live-meeting-on-sharepoint-2010-as-a-business-intelligence-platform-2792011-live-from-brussels-microsoft/</guid>
		<description><![CDATA[<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sergeluca.wordpress.com&amp;blog=11025080&amp;post=1245&amp;subd=sergeluca&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><a href="https://msevents.microsoft.com/CUI/EventDetail.aspx?EventID=1032492883&amp;Culture=en-US" target="_blank"><img style="background-image:none;border-bottom:0;border-left:0;padding-left:0;padding-right:0;display:inline;border-top:0;border-right:0;padding-top:0;" title="Overview of SharePoint 2010 as a Business Intelligence" border="0" alt="Overview of SharePoint 2010 as a Business Intelligence" src="http://sergeluca.files.wordpress.com/2011/09/overview-of-sharepoint-2010-as-a-business-intelligence.png?w=308&#038;h=232" width="308" height="232" /></a></p>
<p><a href="https://msevents.microsoft.com/CUI/EventDetail.aspx?EventID=1032492883&amp;Culture=en-US" target="_blank"><img style="background-image:none;border-bottom:0;border-left:0;padding-left:0;padding-right:0;display:inline;border-top:0;border-right:0;padding-top:0;" title="msdn" border="0" alt="msdn" src="http://sergeluca.files.wordpress.com/2011/09/msdn.png?w=309&#038;h=215" width="309" height="215" /></a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sergeluca.wordpress.com/1245/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sergeluca.wordpress.com/1245/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sergeluca.wordpress.com/1245/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sergeluca.wordpress.com/1245/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sergeluca.wordpress.com/1245/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sergeluca.wordpress.com/1245/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sergeluca.wordpress.com/1245/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sergeluca.wordpress.com/1245/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sergeluca.wordpress.com/1245/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sergeluca.wordpress.com/1245/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sergeluca.wordpress.com/1245/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sergeluca.wordpress.com/1245/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sergeluca.wordpress.com/1245/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sergeluca.wordpress.com/1245/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sergeluca.wordpress.com&amp;blog=11025080&amp;post=1245&amp;subd=sergeluca&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://sergeluca.wordpress.com/2011/09/26/my-live-meeting-on-sharepoint-2010-as-a-business-intelligence-platform-2792011-live-from-brussels-microsoft/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/165f009eb7b7338a36f7410fe4db2f6e?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">sergeluca</media:title>
		</media:content>

		<media:content url="http://sergeluca.files.wordpress.com/2011/09/overview-of-sharepoint-2010-as-a-business-intelligence.png" medium="image">
			<media:title type="html">Overview of SharePoint 2010 as a Business Intelligence</media:title>
		</media:content>

		<media:content url="http://sergeluca.files.wordpress.com/2011/09/msdn.png" medium="image">
			<media:title type="html">msdn</media:title>
		</media:content>
	</item>
		<item>
		<title>My session SharePoint Business Intelligence Session @ Microsoft Innovation Center (Belgium) : 13/10/2011</title>
		<link>http://sergeluca.wordpress.com/2011/09/15/my-session-sharepoint-business-intelligence-session-microsoft-innovation-center-belgium-13102011/</link>
		<comments>http://sergeluca.wordpress.com/2011/09/15/my-session-sharepoint-business-intelligence-session-microsoft-innovation-center-belgium-13102011/#comments</comments>
		<pubDate>Thu, 15 Sep 2011 18:45:17 +0000</pubDate>
		<dc:creator>sergeluca</dc:creator>
				<category><![CDATA[Sharepoint 2010]]></category>
		<category><![CDATA[SharePoint 2010 Microsoft Devoteam serge luca mvp Isabelle Van Campenhoudt]]></category>

		<guid isPermaLink="false">https://sergeluca.wordpress.com/2011/09/15/my-session-sharepoint-business-intelligence-session-microsoft-innovation-center-belgium-13102011/</guid>
		<description><![CDATA[With my partner in crime in BI, Isabelle Van Campenhoudt, I will give a presentation (this time in French) of the Business Intelligence features of SharePoint 2010 @the Microsoft Innovation Center in Mons (Belgium). More details here. &#160; &#160;<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sergeluca.wordpress.com&amp;blog=11025080&amp;post=1242&amp;subd=sergeluca&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>With my partner in crime in BI, Isabelle Van Campenhoudt, I will give a presentation (this time in French) of the Business Intelligence features of SharePoint 2010 @the Microsoft Innovation Center in Mons (Belgium).</p>
<p>More details <a href="http://mytic.fikket.be/event/club-des-experts-session-sharepoint-la-bi">here</a>.</p>
<p><a href="http://mytic.fikket.be/event/club-des-experts-session-sharepoint-la-bi"><img style="background-image:none;border-bottom:0;border-left:0;padding-left:0;padding-right:0;display:inline;border-top:0;border-right:0;padding-top:0;" title="image" border="0" alt="image" src="http://sergeluca.files.wordpress.com/2011/09/image.png?w=498&#038;h=107" width="498" height="107" /></a></p>
<p>&#160;</p>
<p>&#160;</p>
<p><a href="http://mytic.fikket.be/event/club-des-experts-session-sharepoint-la-bi"><img style="background-image:none;border-bottom:0;border-left:0;padding-left:0;padding-right:0;display:inline;border-top:0;border-right:0;padding-top:0;" title="image" border="0" alt="image" src="http://sergeluca.files.wordpress.com/2011/09/image1.png?w=498&#038;h=247" width="498" height="247" /></a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sergeluca.wordpress.com/1242/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sergeluca.wordpress.com/1242/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sergeluca.wordpress.com/1242/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sergeluca.wordpress.com/1242/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sergeluca.wordpress.com/1242/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sergeluca.wordpress.com/1242/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sergeluca.wordpress.com/1242/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sergeluca.wordpress.com/1242/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sergeluca.wordpress.com/1242/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sergeluca.wordpress.com/1242/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sergeluca.wordpress.com/1242/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sergeluca.wordpress.com/1242/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sergeluca.wordpress.com/1242/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sergeluca.wordpress.com/1242/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sergeluca.wordpress.com&amp;blog=11025080&amp;post=1242&amp;subd=sergeluca&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://sergeluca.wordpress.com/2011/09/15/my-session-sharepoint-business-intelligence-session-microsoft-innovation-center-belgium-13102011/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/165f009eb7b7338a36f7410fe4db2f6e?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">sergeluca</media:title>
		</media:content>

		<media:content url="http://sergeluca.files.wordpress.com/2011/09/image.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://sergeluca.files.wordpress.com/2011/09/image1.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>
	</item>
		<item>
		<title>My SharePoint 2010 Powershell tutorial for SharePoint 200 developers</title>
		<link>http://sergeluca.wordpress.com/2011/09/07/my-sharepoint-2010-powershell-tutorial-for-sharepoint-200-developers/</link>
		<comments>http://sergeluca.wordpress.com/2011/09/07/my-sharepoint-2010-powershell-tutorial-for-sharepoint-200-developers/#comments</comments>
		<pubDate>Wed, 07 Sep 2011 18:01:36 +0000</pubDate>
		<dc:creator>sergeluca</dc:creator>
				<category><![CDATA[Sharepoint 2010]]></category>
		<category><![CDATA[powershell tutorial serge luca sharepoint 2010 Devoteam]]></category>

		<guid isPermaLink="false">https://sergeluca.wordpress.com/2011/09/07/my-sharepoint-2010-powershell-tutorial-for-sharepoint-200-developers/</guid>
		<description><![CDATA[Here is an extract of the Powershell module of my&#160; SharePoint 2010 for developers course. &#160; 1.1 lab.introduction to Powershell In this lab, you will work out a number of exercises that have to do with Powershell. In Lab1 you will discover the main Powershell concepts; in Lab 2, you will apply these concepts. 1.1.1 [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sergeluca.wordpress.com&amp;blog=11025080&amp;post=1233&amp;subd=sergeluca&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<h4>Here is an extract of the Powershell module of my&#160; SharePoint 2010 for developers course. </h4>
<h4>&#160;</h4>
<h4><a name="_Toc259787003">1.1 lab.introduction to Powershell</a></h4>
<p>In this lab, you will work out a number of exercises that have to do with <b>Powershell</b>.</p>
<p>In Lab1 you will discover the main Powershell concepts; in Lab 2, you will apply these concepts.</p>
<h5>1.1.1 Lab 1.discovering Powershell</h5>
<p>1. Start the <b>Sharepoint 2010 Management Shell</b>.</p>
<p><a href="http://sergeluca.files.wordpress.com/2011/09/clip_image0021.png"><img style="background-image:none;border-bottom:0;border-left:0;padding-left:0;padding-right:0;display:block;float:none;margin-left:auto;border-top:0;margin-right:auto;border-right:0;padding-top:0;" title="clip_image002" border="0" alt="clip_image002" src="http://sergeluca.files.wordpress.com/2011/09/clip_image002_thumb1.png?w=317&#038;h=347" width="317" height="347" /></a></p>
<p>2. To get help, type:</p>
<p><em>Get-help</em></p>
<p>3. To see all the commands available, type :</p>
<p><font color="#000000"><em>Get-Command</em></font></p>
<p>4. To see how to use <b>Get-Command</b>, type <b>get-help get-Command</b>; you will notice the <b>Noun</b> option:</p>
<p><a href="http://sergeluca.files.wordpress.com/2011/09/clip_image003.png"><img style="background-image:none;border-bottom:0;border-left:0;padding-left:0;padding-right:0;display:block;float:none;margin-left:auto;border-top:0;margin-right:auto;border-right:0;padding-top:0;" title="clip_image003" border="0" alt="clip_image003" src="http://sergeluca.files.wordpress.com/2011/09/clip_image003_thumb.png?w=436&#038;h=159" width="436" height="159" /></a></p>
<p>5. To get the list of all Sharepoint commands, type:</p>
<p><font color="#000000"><em>Get-Command –Noun SP*</em></font></p>
<p>You will notice familiar cmdlets like <b>Get-SPUser</b>, <b>Get- SPWeb</b>, <b>Get- SPSite</b>,…</p>
<p>Sharepoint commands are organized as <b>verb-noun</b> like <b>Enable-SPFeature</b>.</p>
<p>You can type <em><b>Get-Command –Noun SPFeature</b>*</em> <em>or </em><b><em>Get-Command –verb Enable</em>.</b></p>
<p>6. In<b> Powershell</b>, there is a cmdlet that give you the object size :<b>Measure-Object</b>; to get the number of Sharepoint commands, just type :</p>
<p><font color="#000000"><em>Get-Command –Noun SP* |Measure-Object –line</em></font></p>
<p>There are 560 Sharepoint Cmdlets.</p>
<p>7. If you type:</p>
<p><font color="#000000"><em>Get-Command –noun SPSite</em></font></p>
<p><a href="http://sergeluca.files.wordpress.com/2011/09/clip_image004.png"><img style="background-image:none;border-bottom:0;border-left:0;padding-left:0;padding-right:0;display:block;float:none;margin-left:auto;border-top:0;margin-right:auto;border-right:0;padding-top:0;" title="clip_image004" border="0" alt="clip_image004" src="http://sergeluca.files.wordpress.com/2011/09/clip_image004_thumb.png?w=438&#038;h=111" width="438" height="111" /></a></p>
<p><i></i></p>
<p>8. Instead of using the Sharepoint Powershell, start the default <b>Powershell console</b> (In Accessories) :</p>
<p><a href="http://sergeluca.files.wordpress.com/2011/09/clip_image006.jpg"><img style="background-image:none;border-bottom:0;border-left:0;padding-left:0;padding-right:0;display:block;float:none;margin-left:auto;border-top:0;margin-right:auto;border-right:0;padding-top:0;" title="clip_image006" border="0" alt="clip_image006" src="http://sergeluca.files.wordpress.com/2011/09/clip_image006_thumb.jpg?w=293&#038;h=312" width="293" height="312" /></a></p>
<p>9. At the console, type :</p>
<p><font color="#4b5d67"><em><font color="#000000">Get-Command –noun SP</font>*</em></font></p>
<p><a href="http://sergeluca.files.wordpress.com/2011/09/clip_image007.png"><img style="background-image:none;border-bottom:0;border-left:0;padding-left:0;padding-right:0;display:block;float:none;margin-left:auto;border-top:0;margin-right:auto;border-right:0;padding-top:0;" title="clip_image007" border="0" alt="clip_image007" src="http://sergeluca.files.wordpress.com/2011/09/clip_image007_thumb.png?w=471&#038;h=101" width="471" height="101" /></a></p>
<p>You get nothing because the SharePoint module is not loaded.</p>
<p>10. To get the list of Powershell Snapins available (not loaded), type:</p>
<p><font color="#000000"><em>Get-PSSNapin –registered</em></font></p>
<p><a href="http://sergeluca.files.wordpress.com/2011/09/clip_image009.jpg"><img style="background-image:none;border-bottom:0;border-left:0;padding-left:0;padding-right:0;display:inline;border-top:0;border-right:0;padding-top:0;" title="clip_image009" border="0" alt="clip_image009" src="http://sergeluca.files.wordpress.com/2011/09/clip_image009_thumb.jpg?w=473&#038;h=131" width="473" height="131" /></a></p>
<p>11. To Load the SharePoint Snapin , type:</p>
<p><font color="#000000"><em>Add-PSSnapin Microsoft.Sharepoint.Powershell</em></font></p>
<p>12. To make sure the Sharepoint Cmdlets are now available, type:</p>
<p><font color="#000000"><em>Get-Command –Noun SP*</em></font></p>
<p>13. To illustrate auto completion, type:</p>
<p><font color="#000000"><em>Get-SP</em></font> (followed by Tab)<i></i></p>
<p><em><font color="#000000">Get-SPW</font> </em>(followed by Tab)<i></i></p>
<p>14. To get all site collections in the farm, type:</p>
<p><font color="#000000"><em>Get-SPSite</em></font></p>
<p><a href="http://sergeluca.files.wordpress.com/2011/09/clip_image010.png"><img style="background-image:none;border-bottom:0;border-left:0;padding-left:0;padding-right:0;display:block;float:none;margin-left:auto;border-top:0;margin-right:auto;border-right:0;padding-top:0;" title="clip_image010" border="0" alt="clip_image010" src="http://sergeluca.files.wordpress.com/2011/09/clip_image010_thumb.png?w=462&#038;h=145" width="462" height="145" /></a></p>
<p>15. To find a way to manipulate or to get more information about objects, type:</p>
<p><font color="#000000"><em>Get-Help</em></font></p>
<p>16. Notice in the Remarks, the <b>Get-member</b> cmd :</p>
<p><a href="http://sergeluca.files.wordpress.com/2011/09/clip_image011.png"><img style="background-image:none;border-bottom:0;border-left:0;padding-left:0;padding-right:0;display:block;float:none;margin-left:auto;border-top:0;margin-right:auto;border-right:0;padding-top:0;" title="clip_image011" border="0" alt="clip_image011" src="http://sergeluca.files.wordpress.com/2011/09/clip_image011_thumb.png?w=477&#038;h=85" width="477" height="85" /></a></p>
<p>17. Type:</p>
<p><font color="#000000"><em>Get-SPSite | get-member</em></font></p>
<p><a href="http://sergeluca.files.wordpress.com/2011/09/clip_image013.jpg"><img style="background-image:none;border-bottom:0;border-left:0;padding-left:0;padding-right:0;display:block;float:none;margin-left:auto;border-top:0;margin-right:auto;border-right:0;padding-top:0;" title="clip_image013" border="0" alt="clip_image013" src="http://sergeluca.files.wordpress.com/2011/09/clip_image013_thumb.jpg?w=486&#038;h=153" width="486" height="153" /></a></p>
<p>You can notice for instance the <i>Url</i> and the<i> Owner.</i></p>
<p><i></i></p>
<p>18. To display the site collection Url and owner , type :</p>
<p><font color="#000000"><em>Get-SPSite | select url,owner</em></font></p>
<p><a href="http://sergeluca.files.wordpress.com/2011/09/clip_image014.png"><img style="background-image:none;border-bottom:0;border-left:0;padding-left:0;padding-right:0;display:block;float:none;margin-left:auto;border-top:0;margin-right:auto;border-right:0;padding-top:0;" title="clip_image014" border="0" alt="clip_image014" src="http://sergeluca.files.wordpress.com/2011/09/clip_image014_thumb.png?w=493&#038;h=120" width="493" height="120" /></a></p>
<p><font color="#000000"><em>Get-SPSite | select *</em></font></p>
<p>19. To display service applications, their id and name, type:</p>
<p><font color="#000000"><em>Get-SPServiceApplication |select id, name</em></font></p>
<p><a href="http://sergeluca.files.wordpress.com/2011/09/clip_image015.png"><img style="background-image:none;border-bottom:0;border-left:0;padding-left:0;padding-right:0;display:block;float:none;margin-left:auto;border-top:0;margin-right:auto;border-right:0;padding-top:0;" title="clip_image015" border="0" alt="clip_image015" src="http://sergeluca.files.wordpress.com/2011/09/clip_image015_thumb.png?w=496&#038;h=244" width="496" height="244" /></a></p>
<p>20. Parameter auto completion</p>
<p>Type:</p>
<p><font color="#000000"><em>Get-SPServiceApplication –id</em></font> (followed by Tab)</p>
<p>You will get:</p>
<p><a href="http://sergeluca.files.wordpress.com/2011/09/clip_image016.png"><img style="background-image:none;border-bottom:0;border-left:0;padding-left:0;padding-right:0;display:inline;border-top:0;border-right:0;padding-top:0;" title="clip_image016" border="0" alt="clip_image016" src="http://sergeluca.files.wordpress.com/2011/09/clip_image016_thumb.png?w=488&#038;h=48" width="488" height="48" /></a></p>
<p>21. Now, by copying &amp; pasting an Id from the previous command (or by using an Id from a log file), you can provide the identity:</p>
<p><a href="http://sergeluca.files.wordpress.com/2011/09/clip_image017.png"><img style="background-image:none;border-bottom:0;border-left:0;padding-left:0;padding-right:0;display:block;float:none;margin-left:auto;border-top:0;margin-right:auto;border-right:0;padding-top:0;" title="clip_image017" border="0" alt="clip_image017" src="http://sergeluca.files.wordpress.com/2011/09/clip_image017_thumb.png?w=491&#038;h=73" width="491" height="73" /></a></p>
<p>22. To get a list of all features in the farm, type:</p>
<p><font color="#000000"><em>Get-SPFeature</em></font></p>
<p><a href="http://sergeluca.files.wordpress.com/2011/09/clip_image018.png"><img style="background-image:none;border-bottom:0;border-left:0;padding-left:0;padding-right:0;display:block;float:none;margin-left:auto;border-top:0;margin-right:auto;border-right:0;padding-top:0;" title="clip_image018" border="0" alt="clip_image018" src="http://sergeluca.files.wordpress.com/2011/09/clip_image018_thumb.png?w=498&#038;h=195" width="498" height="195" /></a></p>
<p>23. To get a list of all features in a site collection, type:</p>
<p><font color="#000000"><em>Get-SPfeature –site http://litware</em></font></p>
<p><a href="http://sergeluca.files.wordpress.com/2011/09/clip_image019.png"><img style="background-image:none;border-bottom:0;border-left:0;padding-left:0;padding-right:0;display:block;float:none;margin-left:auto;border-top:0;margin-right:auto;border-right:0;padding-top:0;" title="clip_image019" border="0" alt="clip_image019" src="http://sergeluca.files.wordpress.com/2011/09/clip_image019_thumb.png?w=499&#038;h=161" width="499" height="161" /></a></p>
<p>24. Modification of an object’s property</p>
<p>For most Get-SP* cmdlet you have a <b>Set-SP* </b>equivalent;</p>
<p>For instance, if we want to modify a web site description, we can type:</p>
<p><font color="#000000"><em>Set-SPWeb –identity </em></font><a href="http://litware"><font color="#000000"><em>http://litware</em></font></a><font color="#000000"><em> –description blablabla</em></font></p>
<p><a href="http://sergeluca.files.wordpress.com/2011/09/clip_image021.jpg"><img style="background-image:none;border-bottom:0;border-left:0;padding-left:0;padding-right:0;display:block;float:none;margin-left:auto;border-top:0;margin-right:auto;border-right:0;padding-top:0;" title="clip_image021" border="0" alt="clip_image021" src="http://sergeluca.files.wordpress.com/2011/09/clip_image021_thumb.jpg?w=506&#038;h=52" width="506" height="52" /></a></p>
<p>25. If you type:</p>
<p><font color="#000000"><em>Get-SPWeb -identity </em></font><a href="http://litware"><font color="#000000"><em>http://litware</em></font></a><font color="#000000"><em> | select description</em></font></p>
<p>you will get:</p>
<p><a href="http://sergeluca.files.wordpress.com/2011/09/clip_image022.png"><img style="background-image:none;border-bottom:0;border-left:0;padding-left:0;padding-right:0;display:inline;border-top:0;border-right:0;padding-top:0;" title="clip_image022" border="0" alt="clip_image022" src="http://sergeluca.files.wordpress.com/2011/09/clip_image022_thumb.png?w=513&#038;h=89" width="513" height="89" /></a></p>
<p>26. Create a new Site collection with <b>new-SPSite</b></p>
<p>Type:</p>
<p><font color="#000000"><em>get-help new-SPSite</em></font></p>
<p>Type:</p>
<p><font color="#000000"><em>New-SpSite –url </em></font><a href="http://litware/sites/demo1"><font color="#000000"><em>http://litware/sites/demo1</em></font></a></p>
<p><a href="http://sergeluca.files.wordpress.com/2011/09/clip_image023.png"><img style="background-image:none;border-bottom:0;border-left:0;padding-left:0;padding-right:0;display:inline;border-top:0;border-right:0;padding-top:0;" title="clip_image023" border="0" alt="clip_image023" src="http://sergeluca.files.wordpress.com/2011/09/clip_image023_thumb.png?w=514&#038;h=83" width="514" height="83" /></a></p>
<p>Powershell will ask you to provide other parameters</p>
<p>For <i>ownerAlia</i>s, type:</p>
<p><em>contoso\Administrator</em></p>
<p><a href="http://sergeluca.files.wordpress.com/2011/09/clip_image024.png"><img style="background-image:none;border-bottom:0;border-left:0;padding-left:0;padding-right:0;display:inline;border-top:0;border-right:0;padding-top:0;" title="clip_image024" border="0" alt="clip_image024" src="http://sergeluca.files.wordpress.com/2011/09/clip_image024_thumb.png?w=510&#038;h=162" width="510" height="162" /></a></p>
<p>27. To make sure the site collection has been created, type:</p>
<p><font color="#4b5d67"><em>Get-SPSite | select url, owner</em></font></p>
<p><a href="http://sergeluca.files.wordpress.com/2011/09/clip_image025.png"><img style="background-image:none;border-bottom:0;border-left:0;padding-left:0;padding-right:0;display:inline;border-top:0;border-right:0;padding-top:0;" title="clip_image025" border="0" alt="clip_image025" src="http://sergeluca.files.wordpress.com/2011/09/clip_image025_thumb.png?w=511&#038;h=127" width="511" height="127" /></a></p>
<p>28. Create 2 other site collections (and the template used for the root sites will be a “Team site” defined in Caml as STS#0)</p>
<p><font color="#000000"><em>New-SPSite –url </em></font><a href="http://litware/sites/demo2"><font color="#000000"><em>http://litware/sites/demo2</em></font></a><font color="#000000"><em> -owneralias contoso\administrator-name “powershell demo2” –template STS#0</em></font></p>
<p><font color="#000000"><em>New-SPSite –url http://litware/sites/demo3 -owneralias contoso\administrator -name “powershell demo3” –template STS#0</em></font></p>
<p>29. Alias</p>
<p>Some commands have aliases (shortcuts); to get a list of aliases, just type:</p>
<p>alias</p>
<p><i><a href="http://sergeluca.files.wordpress.com/2011/09/clip_image026.png"><img style="background-image:none;border-bottom:0;border-left:0;padding-left:0;padding-right:0;display:block;float:none;margin-left:auto;border-top:0;margin-right:auto;border-right:0;padding-top:0;" title="clip_image026" border="0" alt="clip_image026" src="http://sergeluca.files.wordpress.com/2011/09/clip_image026_thumb.png?w=486&#038;h=241" width="486" height="241" /></a></i><i></i></p>
<p><i></i></p>
<p>30. The <b>|</b> (“pipe”) character can be used to pass the output from one cmdlet to another.</p>
<p>Scripts can be created by using variables and piping output to other cmdlets.</p>
<p>Using the<i> </i><b>ForEach </b>attribute can quickly get all values or set all properties that match condition set.</p>
<p>It is also possible to filter and to use wildcards *.To illustrate this, we are going to create a blog site in every demo site collection we previously did;</p>
<p>To get the list of site collection, type:</p>
<p><font color="#000000"><em>Get-SPSite http://litware/sites/demo*</em></font></p>
<p><a href="http://sergeluca.files.wordpress.com/2011/09/clip_image027.png"><img style="background-image:none;border-bottom:0;border-left:0;padding-left:0;padding-right:0;display:block;float:none;margin-left:auto;border-top:0;margin-right:auto;border-right:0;padding-top:0;" title="clip_image027" border="0" alt="clip_image027" src="http://sergeluca.files.wordpress.com/2011/09/clip_image027_thumb.png?w=496&#038;h=129" width="496" height="129" /></a></p>
<p>Now we will try to create 1 blog site (template is BLOG#0) in each demo site collection; type:</p>
<p><font color="#000000"><em>Get-SPSite <u><a href="http://litware/sites/demo*">http://litware/sites/demo*</a></u> -limit all | foreach { new-SPWeb –url ($_.url+”/blog”) –template BLOG#0 }</em></font></p>
<p><a href="http://sergeluca.files.wordpress.com/2011/09/clip_image028.png"><img style="background-image:none;border-bottom:0;border-left:0;padding-left:0;padding-right:0;display:block;float:none;margin-left:auto;border-top:0;margin-right:auto;border-right:0;padding-top:0;" title="clip_image028" border="0" alt="clip_image028" src="http://sergeluca.files.wordpress.com/2011/09/clip_image028_thumb.png?w=499&#038;h=93" width="499" height="93" /></a></p>
<p>31. To add a secondary owner to all demo sites, type:</p>
<p><font color="#000000"><em>Get-SPSite </em></font><a href="http://litware/sites/demo*"><font color="#000000"><em>http://litware/sites/demo*</em></font></a><font color="#000000"><em> -limit all | set-spsite –secondaryowneralias contoso\brianc</em></font></p>
<p>To check this out, type:</p>
<p><font color="#000000"><em>Get-SPSite <u>http://litware/sites/demo1</u> | select url, owner, secondarycontact</em></font></p>
<p>32. To discover action related to features like activating, installing, deactivating,…, type</p>
<p><font color="#000000"><em>Get-Command -noun SPfeature*</em></font></p>
<p><a href="http://sergeluca.files.wordpress.com/2011/09/clip_image029.png"><img style="background-image:none;border-bottom:0;border-left:0;padding-left:0;padding-right:0;display:inline;border-top:0;border-right:0;padding-top:0;" title="clip_image029" border="0" alt="clip_image029" src="http://sergeluca.files.wordpress.com/2011/09/clip_image029_thumb.png?w=499&#038;h=99" width="499" height="99" /></a></p>
<p>To illustrate <i>Enable-SPFeature</i>, type :</p>
<p><font color="#000000"><em>Get-help Enable-SPfeature -examples</em></font></p>
<p><a href="http://sergeluca.files.wordpress.com/2011/09/clip_image030.png"><img style="background-image:none;border-bottom:0;border-left:0;padding-left:0;padding-right:0;display:inline;border-top:0;border-right:0;padding-top:0;" title="clip_image030" border="0" alt="clip_image030" src="http://sergeluca.files.wordpress.com/2011/09/clip_image030_thumb.png?w=502&#038;h=241" width="502" height="241" /></a></p>
<h5>1.1.2 Lab 2.Creating a small Powershell application</h5>
<p>1. Write a batch file that will create a new site collection and that will provision the root site with the template “<b>team site</b>” (<b>STS#0</b>); the web site title must be “<b>Web Site Powershell”</b>.</p>
<p>2. If the site collection already exists, delete it. Don’t forget to load the Sharepoint snapin <b>if</b> it is not already loaded…</p>
<p>3. When the site is successfully created, display:</p>
<p><a href="http://sergeluca.files.wordpress.com/2011/09/clip_image031.png"><img style="background-image:none;border-bottom:0;border-left:0;padding-left:0;padding-right:0;display:inline;border-top:0;border-right:0;padding-top:0;" title="clip_image031" border="0" alt="clip_image031" src="http://sergeluca.files.wordpress.com/2011/09/clip_image031_thumb.png?w=500&#038;h=192" width="500" height="192" /></a></p>
<p>Make sure the console stays open.</p>
<p>33. To make sure the console stays open, create a batch file and use the <b>–noexit</b> option</p>
<p>Create an empty file named <b>SetupLab.bat</b>.</p>
<p>34. In this batch file, type :</p>
<p><font color="#000000"><em>powershell -Command &quot;&amp; {.\SetupLab.ps1}&quot; -NoExit</em></font></p>
<p><font color="#000000"><em>pause</em></font></p>
<p>35. Create a file named <b>SetupLab.ps1</b>.</p>
<p>36. Define 3 variables:</p>
<p><font color="#000000"><em># define variables for script</em></font></p>
<p><font color="#000000"><em>$SiteTitle = &quot;Web Site-Powershell&quot;</em></font></p>
<p><font color="#000000"><em>$SiteUrl = &quot;http://litware/sites/powershell&quot;</em></font></p>
<p><font color="#000000"><em>$SiteTemplate = &quot;STS#0&quot;</em></font></p>
<p><font color="#000000"><em>37. Check to make sure the Sharepoint snapin is not loaded:</em></font></p>
<p><font color="#000000"><em># check to ensure Microsoft.SharePoint.PowerShell is loaded</em></font></p>
<p><font color="#000000"><em>$snapin = Get-PSSnapin | Where-Object {$_.Name -eq &#8216;Microsoft.SharePoint.Powershell&#8217;}</em></font></p>
<p><font color="#000000"><em>if ($snapin -eq $null) {</em></font></p>
<p><font color="#000000"><em>Write-Host &quot;Loading SharePoint Powershell Snapin&quot;</em></font></p>
<p><font color="#000000"><em>Add-PSSnapin &quot;Microsoft.SharePoint.Powershell&quot;</em></font></p>
<p><font color="#000000"><em>}</em></font></p>
<p>It is good to know that if the snapin is already loaded and if you try to load it again, you will get errors.</p>
<p>38. Delete the existing site collection if any:</p>
<p><em># delete any existing site found at target URL</em></p>
<p><em>$targetUrl = Get-SPSite | Where-Object {$_.Url -eq $SiteUrl}</em></p>
<p><em>if ($targetUrl -ne $null) {</em></p>
<p><em>Write-Host &quot;Deleting existing site at&quot; $SiteUrl</em></p>
<p><em>Remove-SPSite -Identity $SiteUrl -Confirm:$false</em></p>
<p><em>}</em></p>
<p>39. Create a Site collection:</p>
<p><font color="#000000"><em># create new site at target URL</em></font></p>
<p><font color="#000000"><em>Write-Host &quot;Creating new site at&quot; $SiteUrl </em></font></p>
<p><font color="#000000"><em>$NewSite = New-SPSite -URL $SiteUrl -OwnerAlias Administrator –Template $SiteTemplate -Name $SiteTitle</em></font></p>
<p><font color="#000000"><em>$RootWeb = $NewSite.RootWeb</em></font></p>
<p><font color="#000000">40. Display Site info:</font></p>
<p><font color="#000000"><em># display site info</em></font></p>
<p><font color="#000000"><em>Write-Host </em></font></p>
<p><font color="#000000"><em>Write-Host &quot;Site created successfully&quot; -foregroundcolor Green</em></font></p>
<p><font color="#000000"><em>Write-Host &quot;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-&quot; -foregroundcolor Green</em></font></p>
<p><font color="#000000"><em>Write-Host &quot;URL:&quot; $RootWeb.Url -foregroundcolor Yellow</em></font></p>
<p><font color="#000000"><em>Write-Host &quot;ID:&quot; $RootWeb.Id.ToString() -foregroundcolor Yellow</em></font></p>
<p><font color="#000000"><em>Write-Host &quot;Title:&quot; $RootWeb.Title -foregroundcolor Yellow</em></font></p>
<p><font color="#000000"><em>Write-Host &quot;&#8212;&#8212;-</em></font></p>
<p>For your info, it is also possible to create functions with parameters in Powershell and to invoke them; a nice example in Sharepoint is illustrated in the following post : <a href="http://stefvanhooijdonk.com/2010/03/02/power-of-powershell-and-the-sharepoint-snap-in">http://stefvanhooijdonk.com/2010/03/02/power-of-powershell-and-the-sharepoint-snap-in</a></p>
<h5>1.1.3 Lab 3.Create a Custom Powershell Cmdlet.</h5>
<p>In this lab, you will create a Powershell Cmdlet that will download a Sharepoint Solution package from the Sharepoint Solution store.</p>
<p>1. Start Visual Studio 2010 and create a new <b>Class Library; </b>delete the Class1.cs; name the project <b>DownloadWsp</b>. </p>
<p>2. Make sure the <b>.Net framework 3.5</b> is selected and that the platform target in the project properties is <b>Any CPU</b>.</p>
<p>3. Add a reference to the <b>Microsoft.Sharepoint</b> assembly.</p>
<p>4. We need to add a reference to the <b>System.Management.Automation</b> assembly which is installed in the Gac, but not available in Visual Studio by default. Add a reference to <b>System.Management</b> (which is showing in the reference list).Save the project. Edit the project file with notepad and change &quot;&lt;Reference Include=&quot;System.Management&quot; /&gt;&quot; to &quot;&lt;Reference Include=&quot;System.Management.Automation&quot; /&gt;.</p>
<p>5. Now we will create our custom Cmdlet : add a new public class (it is not public by default) , name it <b>DownloadWspCmdlet</b> and derived it from <b>PSCmdlet</b>; resolve the namespace:</p>
<p><a href="http://sergeluca.files.wordpress.com/2011/09/clip_image033.jpg"><img style="background-image:none;border-bottom:0;border-left:0;padding-left:0;padding-right:0;display:inline;border-top:0;border-right:0;padding-top:0;" title="clip_image033" border="0" alt="clip_image033" src="http://sergeluca.files.wordpress.com/2011/09/clip_image033_thumb.jpg?w=450&#038;h=292" width="450" height="292" /></a></p>
<p>4. Define 2 public properties <b>WspFileName</b> and <b>StoreTo</b> that will become the Cmdlet parameters by decorating them with the <b>Parameter</b> attribute:</p>
<p><a href="http://sergeluca.files.wordpress.com/2011/09/clip_image035.jpg"><img style="background-image:none;border-bottom:0;border-left:0;padding-left:0;padding-right:0;display:inline;border-top:0;border-right:0;padding-top:0;" title="clip_image035" border="0" alt="clip_image035" src="http://sergeluca.files.wordpress.com/2011/09/clip_image035_thumb.jpg?w=449&#038;h=310" width="449" height="310" /></a></p>
<p>5. Override the function <b>ProcessRecord</b> is the code that will run when the Cmdlet will be invoked:</p>
<p><a href="http://sergeluca.files.wordpress.com/2011/09/clip_image037.jpg"><img style="background-image:none;border-bottom:0;border-left:0;padding-left:0;padding-right:0;display:inline;border-top:0;border-right:0;padding-top:0;" title="clip_image037" border="0" alt="clip_image037" src="http://sergeluca.files.wordpress.com/2011/09/clip_image037_thumb.jpg?w=455&#038;h=245" width="455" height="245" /></a></p>
<p>6. Resolve the namespace<b> Microsoft.Sharepoint.Administration</b>.</p>
<p>7. We can also define the <b>verb</b> and the <b>noun</b> to use in order to invoke our Cmdlet :decorate the class with a Cmdlet attribute :</p>
<p><a href="http://sergeluca.files.wordpress.com/2011/09/clip_image039.jpg"><img style="background-image:none;border-bottom:0;border-left:0;padding-left:0;padding-right:0;display:inline;border-top:0;border-right:0;padding-top:0;" title="clip_image039" border="0" alt="clip_image039" src="http://sergeluca.files.wordpress.com/2011/09/clip_image039_thumb.jpg?w=458&#038;h=80" width="458" height="80" /></a></p>
<p>8. Now we need to create a SnapIn which is a class derived from<b> PSSnapin</b> :create a public class named D<b>ownloadWspSnapin</b>, derive it from<b> PSSnapIn</b> and decorate it with the attribute <b>RunInstaller</b>:</p>
<p><a href="http://sergeluca.files.wordpress.com/2011/09/clip_image041.jpg"><img style="background-image:none;border-bottom:0;border-left:0;padding-left:0;padding-right:0;display:inline;border-top:0;border-right:0;padding-top:0;" title="clip_image041" border="0" alt="clip_image041" src="http://sergeluca.files.wordpress.com/2011/09/clip_image041_thumb.jpg?w=459&#038;h=203" width="459" height="203" /></a></p>
<p>9. <b>RunInstaller</b> is defined in the assembly <b>System.Configuration.Install</b>, ad a reference to this assembly.</p>
<p>10. <b>PSSnapIn</b> is an abstract class, implement its members:</p>
<p><a href="http://sergeluca.files.wordpress.com/2011/09/clip_image043.jpg"><img style="background-image:none;border-bottom:0;border-left:0;padding-left:0;padding-right:0;display:inline;border-top:0;border-right:0;padding-top:0;" title="clip_image043" border="0" alt="clip_image043" src="http://sergeluca.files.wordpress.com/2011/09/clip_image043_thumb.jpg?w=465&#038;h=125" width="465" height="125" /></a></p>
<p><a href="http://sergeluca.files.wordpress.com/2011/09/clip_image045.jpg"><img style="background-image:none;border-bottom:0;border-left:0;padding-left:0;padding-right:0;display:inline;border-top:0;border-right:0;padding-top:0;" title="clip_image045" border="0" alt="clip_image045" src="http://sergeluca.files.wordpress.com/2011/09/clip_image045_thumb.jpg?w=468&#038;h=250" width="468" height="250" /></a></p>
<p>11. Rebuild the project, add the generated dll into the <b>Gac</b>.</p>
<p>12. Run <b>InstallUtil.exe</b> against your dll; you will find InstallUtil.exe in the following folder :</p>
<p><a href="http://sergeluca.files.wordpress.com/2011/09/clip_image047.jpg"><img style="background-image:none;border-bottom:0;border-left:0;padding-left:0;padding-right:0;display:inline;border-top:0;border-right:0;padding-top:0;" title="clip_image047" border="0" alt="clip_image047" src="http://sergeluca.files.wordpress.com/2011/09/clip_image047_thumb.jpg?w=486&#038;h=189" width="486" height="189" /></a></p>
<p><a href="http://sergeluca.files.wordpress.com/2011/09/clip_image049.jpg"><img style="background-image:none;border-bottom:0;border-left:0;padding-left:0;padding-right:0;display:inline;border-top:0;border-right:0;padding-top:0;" title="clip_image049" border="0" alt="clip_image049" src="http://sergeluca.files.wordpress.com/2011/09/clip_image049_thumb.jpg?w=488&#038;h=61" width="488" height="61" /></a></p>
<p>13. Start a Powershell console and add the new snapin:</p>
<p><a href="http://sergeluca.files.wordpress.com/2011/09/clip_image050.png"><img style="background-image:none;border-bottom:0;border-left:0;padding-left:0;padding-right:0;display:inline;border-top:0;border-right:0;padding-top:0;" title="clip_image050" border="0" alt="clip_image050" src="http://sergeluca.files.wordpress.com/2011/09/clip_image050_thumb.png?w=488&#038;h=73" width="488" height="73" /></a></p>
<p>14. Test your Cmdlet by invoking <b>Download-SPSolution</b> in the Powershell console:</p>
<p><a href="http://sergeluca.files.wordpress.com/2011/09/clip_image052.jpg"><img style="background-image:none;border-bottom:0;border-left:0;padding-left:0;padding-right:0;display:inline;border-top:0;border-right:0;padding-top:0;" title="clip_image052" border="0" alt="clip_image052" src="http://sergeluca.files.wordpress.com/2011/09/clip_image052_thumb.jpg?w=489&#038;h=113" width="489" height="113" /></a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sergeluca.wordpress.com/1233/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sergeluca.wordpress.com/1233/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sergeluca.wordpress.com/1233/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sergeluca.wordpress.com/1233/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sergeluca.wordpress.com/1233/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sergeluca.wordpress.com/1233/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sergeluca.wordpress.com/1233/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sergeluca.wordpress.com/1233/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sergeluca.wordpress.com/1233/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sergeluca.wordpress.com/1233/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sergeluca.wordpress.com/1233/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sergeluca.wordpress.com/1233/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sergeluca.wordpress.com/1233/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sergeluca.wordpress.com/1233/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sergeluca.wordpress.com&amp;blog=11025080&amp;post=1233&amp;subd=sergeluca&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://sergeluca.wordpress.com/2011/09/07/my-sharepoint-2010-powershell-tutorial-for-sharepoint-200-developers/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/165f009eb7b7338a36f7410fe4db2f6e?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">sergeluca</media:title>
		</media:content>

		<media:content url="http://sergeluca.files.wordpress.com/2011/09/clip_image002_thumb1.png" medium="image">
			<media:title type="html">clip_image002</media:title>
		</media:content>

		<media:content url="http://sergeluca.files.wordpress.com/2011/09/clip_image003_thumb.png" medium="image">
			<media:title type="html">clip_image003</media:title>
		</media:content>

		<media:content url="http://sergeluca.files.wordpress.com/2011/09/clip_image004_thumb.png" medium="image">
			<media:title type="html">clip_image004</media:title>
		</media:content>

		<media:content url="http://sergeluca.files.wordpress.com/2011/09/clip_image006_thumb.jpg" medium="image">
			<media:title type="html">clip_image006</media:title>
		</media:content>

		<media:content url="http://sergeluca.files.wordpress.com/2011/09/clip_image007_thumb.png" medium="image">
			<media:title type="html">clip_image007</media:title>
		</media:content>

		<media:content url="http://sergeluca.files.wordpress.com/2011/09/clip_image009_thumb.jpg" medium="image">
			<media:title type="html">clip_image009</media:title>
		</media:content>

		<media:content url="http://sergeluca.files.wordpress.com/2011/09/clip_image010_thumb.png" medium="image">
			<media:title type="html">clip_image010</media:title>
		</media:content>

		<media:content url="http://sergeluca.files.wordpress.com/2011/09/clip_image011_thumb.png" medium="image">
			<media:title type="html">clip_image011</media:title>
		</media:content>

		<media:content url="http://sergeluca.files.wordpress.com/2011/09/clip_image013_thumb.jpg" medium="image">
			<media:title type="html">clip_image013</media:title>
		</media:content>

		<media:content url="http://sergeluca.files.wordpress.com/2011/09/clip_image014_thumb.png" medium="image">
			<media:title type="html">clip_image014</media:title>
		</media:content>

		<media:content url="http://sergeluca.files.wordpress.com/2011/09/clip_image015_thumb.png" medium="image">
			<media:title type="html">clip_image015</media:title>
		</media:content>

		<media:content url="http://sergeluca.files.wordpress.com/2011/09/clip_image016_thumb.png" medium="image">
			<media:title type="html">clip_image016</media:title>
		</media:content>

		<media:content url="http://sergeluca.files.wordpress.com/2011/09/clip_image017_thumb.png" medium="image">
			<media:title type="html">clip_image017</media:title>
		</media:content>

		<media:content url="http://sergeluca.files.wordpress.com/2011/09/clip_image018_thumb.png" medium="image">
			<media:title type="html">clip_image018</media:title>
		</media:content>

		<media:content url="http://sergeluca.files.wordpress.com/2011/09/clip_image019_thumb.png" medium="image">
			<media:title type="html">clip_image019</media:title>
		</media:content>

		<media:content url="http://sergeluca.files.wordpress.com/2011/09/clip_image021_thumb.jpg" medium="image">
			<media:title type="html">clip_image021</media:title>
		</media:content>

		<media:content url="http://sergeluca.files.wordpress.com/2011/09/clip_image022_thumb.png" medium="image">
			<media:title type="html">clip_image022</media:title>
		</media:content>

		<media:content url="http://sergeluca.files.wordpress.com/2011/09/clip_image023_thumb.png" medium="image">
			<media:title type="html">clip_image023</media:title>
		</media:content>

		<media:content url="http://sergeluca.files.wordpress.com/2011/09/clip_image024_thumb.png" medium="image">
			<media:title type="html">clip_image024</media:title>
		</media:content>

		<media:content url="http://sergeluca.files.wordpress.com/2011/09/clip_image025_thumb.png" medium="image">
			<media:title type="html">clip_image025</media:title>
		</media:content>

		<media:content url="http://sergeluca.files.wordpress.com/2011/09/clip_image026_thumb.png" medium="image">
			<media:title type="html">clip_image026</media:title>
		</media:content>

		<media:content url="http://sergeluca.files.wordpress.com/2011/09/clip_image027_thumb.png" medium="image">
			<media:title type="html">clip_image027</media:title>
		</media:content>

		<media:content url="http://sergeluca.files.wordpress.com/2011/09/clip_image028_thumb.png" medium="image">
			<media:title type="html">clip_image028</media:title>
		</media:content>

		<media:content url="http://sergeluca.files.wordpress.com/2011/09/clip_image029_thumb.png" medium="image">
			<media:title type="html">clip_image029</media:title>
		</media:content>

		<media:content url="http://sergeluca.files.wordpress.com/2011/09/clip_image030_thumb.png" medium="image">
			<media:title type="html">clip_image030</media:title>
		</media:content>

		<media:content url="http://sergeluca.files.wordpress.com/2011/09/clip_image031_thumb.png" medium="image">
			<media:title type="html">clip_image031</media:title>
		</media:content>

		<media:content url="http://sergeluca.files.wordpress.com/2011/09/clip_image033_thumb.jpg" medium="image">
			<media:title type="html">clip_image033</media:title>
		</media:content>

		<media:content url="http://sergeluca.files.wordpress.com/2011/09/clip_image035_thumb.jpg" medium="image">
			<media:title type="html">clip_image035</media:title>
		</media:content>

		<media:content url="http://sergeluca.files.wordpress.com/2011/09/clip_image037_thumb.jpg" medium="image">
			<media:title type="html">clip_image037</media:title>
		</media:content>

		<media:content url="http://sergeluca.files.wordpress.com/2011/09/clip_image039_thumb.jpg" medium="image">
			<media:title type="html">clip_image039</media:title>
		</media:content>

		<media:content url="http://sergeluca.files.wordpress.com/2011/09/clip_image041_thumb.jpg" medium="image">
			<media:title type="html">clip_image041</media:title>
		</media:content>

		<media:content url="http://sergeluca.files.wordpress.com/2011/09/clip_image043_thumb.jpg" medium="image">
			<media:title type="html">clip_image043</media:title>
		</media:content>

		<media:content url="http://sergeluca.files.wordpress.com/2011/09/clip_image045_thumb.jpg" medium="image">
			<media:title type="html">clip_image045</media:title>
		</media:content>

		<media:content url="http://sergeluca.files.wordpress.com/2011/09/clip_image047_thumb.jpg" medium="image">
			<media:title type="html">clip_image047</media:title>
		</media:content>

		<media:content url="http://sergeluca.files.wordpress.com/2011/09/clip_image049_thumb.jpg" medium="image">
			<media:title type="html">clip_image049</media:title>
		</media:content>

		<media:content url="http://sergeluca.files.wordpress.com/2011/09/clip_image050_thumb.png" medium="image">
			<media:title type="html">clip_image050</media:title>
		</media:content>

		<media:content url="http://sergeluca.files.wordpress.com/2011/09/clip_image052_thumb.jpg" medium="image">
			<media:title type="html">clip_image052</media:title>
		</media:content>
	</item>
		<item>
		<title>delegates explained to SharePoint 2010 developers</title>
		<link>http://sergeluca.wordpress.com/2011/09/07/delegates-explained-to-sharepoint-2010-developers/</link>
		<comments>http://sergeluca.wordpress.com/2011/09/07/delegates-explained-to-sharepoint-2010-developers/#comments</comments>
		<pubDate>Wed, 07 Sep 2011 07:10:15 +0000</pubDate>
		<dc:creator>sergeluca</dc:creator>
				<category><![CDATA[Sharepoint 2010]]></category>
		<category><![CDATA[delegates]]></category>
		<category><![CDATA[lambda]]></category>
		<category><![CDATA[linq]]></category>

		<guid isPermaLink="false">https://sergeluca.wordpress.com/2011/09/07/delegates-explained-to-sharepoint-2010-developers/</guid>
		<description><![CDATA[I’ve noticed that many people attending my SharePoint courses don’t always have the knowledge of delegate/ anonymous methods/lambda expressions. Here is how I explain it in 1 page //myDelegate is a type pointer on a function that takes //an int and returns an int &#160;&#160;&#160; delegate int&#160; myDelegate (int x); &#160;&#160;&#160; class Program &#160;&#160;&#160; {&#160;&#160; [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sergeluca.wordpress.com&amp;blog=11025080&amp;post=1158&amp;subd=sergeluca&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I’ve noticed that many people attending my SharePoint courses don’t always have the knowledge of delegate/ anonymous methods/lambda expressions.</p>
<p>Here is how I explain it in 1 page</p>
<p>//myDelegate is a type pointer on a function that takes   <br />//an int and returns an int</p>
<p>&#160;&#160;&#160; delegate int&#160; myDelegate (int x); </p>
<p>&#160;&#160;&#160; class Program    <br />&#160;&#160;&#160; {&#160;&#160; <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; static int Test(int x)    <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; {    <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; return&#160; x+1;    <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; }    <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; static void Main(string[] args)    <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; {    <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; myDelegate f = new myDelegate(Test);&#160; \\C#1.0    <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; f(10);    <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; myDelegate f1 = Test;&#160;&#160; \\C#2.0    <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; f1(10);    <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; myDelegate f2 = delegate(int x) { return x + 1; };&#160; \\C#2.0 anonymous method    <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; f2(10);    <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; myDelegate f3 = ((int x) =&gt; {return x + 1 ;}); \\C#3.0 lambda    <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; f3(10);    <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; myDelegate f4 = (( x) =&gt; { return x + 1; });    <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; f4(10);    <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; }    <br />&#160;&#160;&#160; }</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sergeluca.wordpress.com/1158/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sergeluca.wordpress.com/1158/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sergeluca.wordpress.com/1158/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sergeluca.wordpress.com/1158/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sergeluca.wordpress.com/1158/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sergeluca.wordpress.com/1158/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sergeluca.wordpress.com/1158/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sergeluca.wordpress.com/1158/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sergeluca.wordpress.com/1158/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sergeluca.wordpress.com/1158/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sergeluca.wordpress.com/1158/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sergeluca.wordpress.com/1158/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sergeluca.wordpress.com/1158/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sergeluca.wordpress.com/1158/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sergeluca.wordpress.com&amp;blog=11025080&amp;post=1158&amp;subd=sergeluca&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://sergeluca.wordpress.com/2011/09/07/delegates-explained-to-sharepoint-2010-developers/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/165f009eb7b7338a36f7410fe4db2f6e?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">sergeluca</media:title>
		</media:content>
	</item>
	</channel>
</rss>
