<?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/"
	>

<channel>
	<title>Look alive. Here comes a buzzard. &#187; 2007 Office</title>
	<atom:link href="http://blog.glenc.net/category/office-system/2007-office/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.glenc.net</link>
	<description>Treading water in a sea of man-made confusion.</description>
	<lastBuildDate>Fri, 10 Jun 2011 05:10:35 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.3</generator>
		<item>
		<title>Oops.  I deleted the SSP Admin Site Collection&#8230;</title>
		<link>http://blog.glenc.net/2007/09/07/oops-i-deleted-the-ssp-admin-site-collection/</link>
		<comments>http://blog.glenc.net/2007/09/07/oops-i-deleted-the-ssp-admin-site-collection/#comments</comments>
		<pubDate>Fri, 07 Sep 2007 16:15:38 +0000</pubDate>
		<dc:creator>glenc</dc:creator>
				<category><![CDATA[2007 Office]]></category>
		<category><![CDATA[Office System]]></category>
		<category><![CDATA[SharePoint]]></category>

		<guid isPermaLink="false">http://blogtmp.glenc.net/2007/09/07/oops-i-deleted-the-ssp-admin-site-collection/</guid>
		<description><![CDATA[Hey &#8211; we&#8217;ve all made mistakes.  We all know that &#8220;oh sh**&#8221; moment right after we realize what we&#8217;ve done.  Often times this occurs right after we click a friendly &#8220;Are you sure??&#8221; dialog.  Of course I&#8217;m sure &#8211; if I wasn&#8217;t sure I wouldn&#8217;t have chosen to do it in the first place!  Stupid [...]]]></description>
			<content:encoded><![CDATA[<p>Hey &#8211; we&#8217;ve all made mistakes.  We all know that &#8220;oh sh**&#8221; moment right after we realize what we&#8217;ve done.  Often times this occurs right after we click a friendly &#8220;Are you sure??&#8221; dialog.  Of course I&#8217;m sure &#8211; if I wasn&#8217;t sure I wouldn&#8217;t have chosen to do it in the first place!  Stupid computer.</p>
<p>Anyway, I recently had a situation where someone (honestly, in this case it wasn&#8217;t me) accidentally deleted the Site Collection for the SSP admin site (/ssp/admin).  Since this was for a SharePoint farm in production I really didn&#8217;t want to have to re-create the entire SSP but I couldn&#8217;t figure out how to just re-create the site collection itself.  I figured there had to be a site template for the site but since it didn&#8217;t show up in the Create Site Collection UI I went and looked on disk.  Sure enough, a site template exists for the SSP Admin site.  It&#8217;s called OSRV.</p>
<p>So to create a new SSP admin site, run this command line.</p>
<pre name="code" class="bash">stsadm.exe -o createsite -url http://&lt;server&gt;:&lt;ssp_port&gt;/ssp/admin -owneremail &lt;email address&gt; -ownerlogin &lt;account&gt; -sitetemplate OSRV#0 -title "Shared Services Administration: &lt;your ssp name&gt;"</pre>
<p>This might take a little while to complete, but it does eventually finish.</p>
<p>Next you need to edit the SSP to point to the recreated site.</p>
<pre name="code" class="bash">stsadm.exe -o editssp -title "&lt;your ssp name&gt;" -sspadminsite http://&lt;server&gt;:&lt;ssp_port&gt;/ssp/admin</pre>
<p>That&#8217;s it.  You should be back up and running.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.glenc.net/2007/09/07/oops-i-deleted-the-ssp-admin-site-collection/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>SharePoint?  Meet Python</title>
		<link>http://blog.glenc.net/2007/08/12/sharepoint-meet-python/</link>
		<comments>http://blog.glenc.net/2007/08/12/sharepoint-meet-python/#comments</comments>
		<pubDate>Mon, 13 Aug 2007 03:57:12 +0000</pubDate>
		<dc:creator>glenc</dc:creator>
				<category><![CDATA[2007 Office]]></category>
		<category><![CDATA[Articles]]></category>
		<category><![CDATA[Python]]></category>
		<category><![CDATA[SharePoint]]></category>

		<guid isPermaLink="false">http://blogtmp.glenc.net/2007/08/12/sharepoint-meet-python/</guid>
		<description><![CDATA[Ever have a need to quickly script some administrative task relating to SharePoint? Ever wish there was more you could do with STSADM? Ever wish you had an interactive console for exploring the object model and testing various methods or properties? Well Iron Python is your answer. In this short article I&#8217;ll show you how [...]]]></description>
			<content:encoded><![CDATA[<p>Ever have a need to quickly script some administrative task relating to SharePoint?  Ever wish there was more you could do with STSADM?  Ever wish you had an interactive console for exploring the object model and testing various methods or properties?  Well <a href="http://www.codeplex.com/Wiki/View.aspx?ProjectName=IronPython" target="_blank">Iron Python </a>is your answer.  In this short article I&#8217;ll show you how to get up and running with Iron Python and SharePoint.  I&#8217;ll also show you a few scripts that will give you some insight into the potential power of this extremely useful combination.<span id="more-66"></span></p>
<p>About a year and a half ago I was talking with an associate and he mentioned Iron Python and how it could apply to SharePoint.  At the time I was working on other projects but I filed it away as something to play with when I had time.  Once I finally got around to it I started to realize just how useful this combination is.  I won&#8217;t go into the details of what Iron Python is specifically, you can read about it on <a href="http://www.codeplex.com/Wiki/View.aspx?ProjectName=IronPython" target="_blank">the site</a>.  But essentially you get a powerful scripting language with full access to the SharePoint object model.  On top of that, Python has an interactive console so it&#8217;s easy to load up an object, poke around its properties, and inspect exactly what each object does.</p>
<p>Here&#8217;s a quick example of a Python script enumerating all sites in a site collection and printing out the URL and root web name:</p>
<pre name="code" class="py">webapp = SPWebApplication.Lookup(Uri("http://mysite"))
for site in webapp.Sites:
  print '%-30s - %s' % (site.Url, site.RootWeb.Title)
</pre>
<p>Ever need to quickly get the internal name of a particular field?</p>
<pre name="code" class="py">list = SPSite("http://mysite").RootWeb.Lists["Documents"]
for field in list.Fields:
  print field.InternalName
</pre>
<p>Okay &#8211; these two examples might be fairly simplistic, but the point is Iron Python can be a much quicker and easier way of doing things with the SharePoint object model that you would normally have to write a custom console application for.</p>
<h2>Getting Started</h2>
<p>First, download Iron Python and install it on your SharePoint server.  Next, fire up a console and type &#8220;<strong>ipy</strong>&#8220;.  This will launch the Iron Python interactive console.</p>
<p>Next, type the following lines:</p>
<pre name="code" class="py">>>> import clr
>>> clr.AddReference("Microsoft.SharePoint")
>>> from Microsoft.SharePoint import *
</pre>
<p>Let&#8217;s look at what we&#8217;ve done.  In Python the &#8220;import&#8221; statement is like the &#8220;using&#8221; statement in C#.  It tells the interpreter that we want to use a particular module.  In this case, we&#8217;re importing the interface to the .NET Common Language Runtime.</p>
<p>Next, clr.AddReference() is used to tell Iron Python that we want to load the Microsoft.SharePoint assembly.  This same approach can be used to load any SharePoint assembly (or any .NET assembly for that matter).  Finally, the last line imports all objects in the Microsoft.SharePoint namespace.  This only imports objects in the Microsoft.SharePoint namespace.  If you want to load objects from another namespace, you&#8217;ll need to import those as well.</p>
<p>At this point, you&#8217;re ready to go.  Try out these lines to explore the object model.</p>
<pre name="code" class="python">>>> site = SPSite("http://myserver")
>>> for web in site.AllWebs:
. . .     print web.Title

>>> list = site.RootWeb.Lists["Documents"]
>>> list.Title = "Python Documents"
>>> list.Update()
>>> print list.Title
</pre>
<h2>Unit Testing and Debugging</h2>
<p>The interactive console can be extremely useful for unit testing your code as well as debugging.  Since I&#8217;ve started using Iron Python I&#8217;ve often kept a console up while working on whatever application I&#8217;m building.  It&#8217;s come in extremely handy when you just want to look up a particular method or see exactly what the format is of a particular piece of data.  But another useful aspect is that it can be used to quickly test out the code that you write.</p>
<p>Iron Python can load any .NET assembly.  So if you want to test out a method you&#8217;ve just written, load it up in the Iron Python interactive console and test it out.  Building a real unit testing environment can be difficult in SharePoint because of the long setup and teardown times.  This can be a happy compromise between a full on unit testing setup.</p>
<h2>Cooking with Gas</h2>
<p>One thing I hate is tech sites that show elementary examples and don&#8217;t really get into the complexity that is sure to arise once you move past &#8220;Hello World&#8221;.  So I&#8217;ve uploaded a sample script that can be used to back up all sites in a given web application.  This example combines a number of concepts such as:</p>
<ul>
<li>running stsadm commands from python</li>
<li>importing parts of the .NET framework into your scripts</li>
<li>functions as objects in python</li>
</ul>
<p><a href="http://files.glenc.net/articles/python/backupsites.py">Download the script here.</a></p>
<h2>Conclusion</h2>
<p>I&#8217;ve been very impressed by the power of Iron Python and what means for us SharePoint developers.  My prediction is that by using scripting tools like Iron Python, developers and administrators will begin to write scripts to automate a number of common SharePoint activities.  Personally I&#8217;d really like to see some of the following:</p>
<ul>
<li>Mass check-in/publish scripts</li>
<li>Scripts to upload a given web part to every page in a site</li>
<li>Data/content migration</li>
</ul>
<h2>Reference</h2>
<ul>
<li><a href="http://www.codeplex.com/Wiki/View.aspx?ProjectName=IronPython" target="_blank">Iron Python website</a> &#8211; get the code and learn how to use it</li>
<li><a href="http://docs.python.org/tut/tut.html" target="_blank">Python Tutorial</a> &#8211; very valuable introduction to the Python language</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://blog.glenc.net/2007/08/12/sharepoint-meet-python/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Interface Simplicity and SharePoint&#8217;s Central Admin</title>
		<link>http://blog.glenc.net/2006/12/05/interface-simplicity-and-sharepoints-central-admin/</link>
		<comments>http://blog.glenc.net/2006/12/05/interface-simplicity-and-sharepoints-central-admin/#comments</comments>
		<pubDate>Tue, 05 Dec 2006 16:59:16 +0000</pubDate>
		<dc:creator>glenc</dc:creator>
				<category><![CDATA[2007 Office]]></category>
		<category><![CDATA[Office System]]></category>
		<category><![CDATA[SharePoint]]></category>

		<guid isPermaLink="false">http://blogtmp.glenc.net/2006/12/05/interface-simplicity-and-sharepoints-central-admin/</guid>
		<description><![CDATA[I read an interesting article today that has both re-affirmed and made me question existing notions I had about user interface design and ease of use. One of the points of the article is that user interfaces which display all avaliable choices at once are easier to use than those that hide the choices behind [...]]]></description>
			<content:encoded><![CDATA[<p>I read an interesting <a href="http://www.uxmatters.com/MT/archives/000151.php">article</a> today that has both re-affirmed and made me question existing notions I had about user interface design and ease of use.  One of the points of the article is that user interfaces which display all avaliable choices at once are easier to use than those that hide the choices behind sub pages, sub menus, etc.  The point that the article makes (actually referencing another article “<a href="http://www.jnd.org/dn.mss/the_truth_about.html">The Truth About  Google’s So-called ‘Simplicity’</a>,”) is:</p>
<blockquote><p>“Why are Yahoo! and MSN such complex-looking places? Because their systems are  easier to use. Not because they are complex, but because they simplify the life  of their users by letting them see their choices on the home page: news,  alternative searches, other items of interest.”</p></blockquote>
<p>My first thought when reading that was &#8220;then why is the damn SharePoint Central Admin so hard to use??&#8221;.  I don&#8217;t know about you, but every time I go in there I feel like an idiot because I have to stare at the page for 5 minutes and scan each link to remember which item will take me to the options I need.  Not only that, but I frequently have to click on an item to remember &#8220;nope &#8211; that&#8217;s not the one&#8221;.</p>
<p>On the other hand, I think about other interfaces like Window&#8217;s control panel.  One of the first things I do when I install Windows is revert the control panel to classic mode so that I can easily see all options available to me.</p>
<p>Maybe the reason why Central Admin is so hard to use is that they&#8217;ve tried to show you many options at once, but still in a grouped way.  For example, first off you have the Operations and Application Management tabs.  My first challenge when I&#8217;m looking for something is to remember what tab it&#8217;s on.  I can&#8217;t tell you how many times I&#8217;ve quickly scanned the Operations page not seeing what I need, gone to the Application Management tab only to come back to the Ops tab after reading through EVERY link on that page (and clicking on quite a few).</p>
<p>Then, on each page you have groupings of links: Global Configuration, Topology and Services, Security Configuration, etc.  When you&#8217;re just scanning the page you tend to see the group names before the links themselves so if you don&#8217;t remember what group something is in, you might miss it on a quick pass.</p>
<p>Maybe a better UI would be a simple alphabetized list of all links.  I usually know the name of the link I want, I just can&#8217;t remember what group or what tab it&#8217;s on.</p>
<p>Or another idea would be to group related options into &#8220;Tools&#8221; similar to the control panel in Windows.  You could have</p>
<ul>
<li>Security Manager &#8211; all security settings including farm accounts, farm administrators, etc</li>
<li>Site Manager &#8211; configure web apps and site collections</li>
<li>Server Manager &#8211; services, backup and restore, farm topology, etc</li>
</ul>
<p>Anyway, all I know is that central admin is hard to use.  But on the other hand, maybe that&#8217;s inevitable when you have a product as large and with as many options as SharePoint has.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.glenc.net/2006/12/05/interface-simplicity-and-sharepoints-central-admin/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Why Microsoft Charging for Office Beta is a Good Thing</title>
		<link>http://blog.glenc.net/2006/07/31/why-microsoft-charging-for-office-beta-is-a-good-thing/</link>
		<comments>http://blog.glenc.net/2006/07/31/why-microsoft-charging-for-office-beta-is-a-good-thing/#comments</comments>
		<pubDate>Mon, 31 Jul 2006 18:08:18 +0000</pubDate>
		<dc:creator>glenc</dc:creator>
				<category><![CDATA[2007 Office]]></category>
		<category><![CDATA[Office System]]></category>
		<category><![CDATA[SharePoint]]></category>

		<guid isPermaLink="false">http://blogtmp.glenc.net/2006/07/31/why-microsoft-charging-for-office-beta-is-a-good-thing/</guid>
		<description><![CDATA[In case you missed it, Microsoft recently announced that it will begin charging $1.50 to download beta versions of Office System.  According to them they are doing this to help offset the bandwidth cost for the large number of downloads they have received. &#8220;Since the end of May, Beta 2 has been downloaded more than [...]]]></description>
			<content:encoded><![CDATA[<p>In case you missed it, Microsoft recently <a target="_blank" href="http://news.com.com/Microsoft+to+charge+for+Office+beta/2100-1012_3-6099987.html?tag=nefd.top">announced</a> that it will begin charging $1.50 to download beta versions of Office System.  According to them they are doing this to help offset the bandwidth cost for the large number of downloads they have received.</p>
<blockquote><p>&#8220;Since the end of May, Beta 2 has been downloaded more than 3 million times&#8230;That&#8217;s 500 percent more than what was expected.  The fee helps offset the cost of downloading from the servers.&#8221;</p></blockquote>
<p>Did you catch that?  500% more than expected?  3 million downloads for a beta?  The fact that there is that much interest in the market for the next wave of Office System is a great thing for folks in our field.  I believe this release of Office and all that goes along with it (SharePoint etc) will be a huge one for Microsoft and for its partners.  There seems to be a lot of genuine interest in the market and that can only be good for implementers, consultants, and developers specializing in the technology.</p>
<p>Oh, one more thing.  I believe MS when it says that this charge is there to offset the bandwidth cost.  In my mind, charging $1.50 is the same as charging $3.00 or $5.00.  Someone who is willing to spend $1.50 is just as willing to spend $5.00 to download.  So if MS were out to make money I believe they would have charged a little more than $1.50.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.glenc.net/2006/07/31/why-microsoft-charging-for-office-beta-is-a-good-thing/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Office schedule slips</title>
		<link>http://blog.glenc.net/2006/07/07/office-schedule-slips/</link>
		<comments>http://blog.glenc.net/2006/07/07/office-schedule-slips/#comments</comments>
		<pubDate>Fri, 07 Jul 2006 21:11:14 +0000</pubDate>
		<dc:creator>glenc</dc:creator>
				<category><![CDATA[2007 Office]]></category>
		<category><![CDATA[Office System]]></category>
		<category><![CDATA[SharePoint]]></category>

		<guid isPermaLink="false">http://blogtmp.glenc.net/2006/07/07/office-schedule-slips/</guid>
		<description><![CDATA[Some of you may have heard that the office schedule has moved back again.  Both beta 2 technical refresh and RTM dates have been pushed back due to feedback and testing during the beta 2 period.  I actually happen to think this is a good thing and I am glad that Microsoft is making quality [...]]]></description>
			<content:encoded><![CDATA[<p>Some of you may have heard that the office schedule has moved back again.  Both beta 2 technical refresh and RTM dates have been pushed back due to feedback and testing during the beta 2 period.  I actually happen to think this is a good thing and I am glad that Microsoft is making quality a priority.  I would hate to see what will otherwise be a huge release for Microsoft get mired down in complaints of stability and quality.  I am perfectly happy to wait a bit longer.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.glenc.net/2006/07/07/office-schedule-slips/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Hello from Word 2007</title>
		<link>http://blog.glenc.net/2006/06/20/hello-from-word-2007/</link>
		<comments>http://blog.glenc.net/2006/06/20/hello-from-word-2007/#comments</comments>
		<pubDate>Tue, 20 Jun 2006 18:00:59 +0000</pubDate>
		<dc:creator>glenc</dc:creator>
				<category><![CDATA[2007 Office]]></category>
		<category><![CDATA[Office System]]></category>

		<guid isPermaLink="false">http://blogtmp.glenc.net/2006/06/20/hello-from-word-2007/</guid>
		<description><![CDATA[I created this blog post using Word 2007 Beta 2. It actually works pretty well. Other than the fact that the publish date doesn&#8217;t come through correctly (1/1/1970??) it was really easy to set up. I was actually pleasantly surprised to find support for WordPress. I figured Microsoft would support SharePoint Blogs and some other [...]]]></description>
			<content:encoded><![CDATA[<p>I created this blog post using Word 2007 Beta 2. It actually works pretty well. Other than the fact that the publish date doesn&rsquo;t come through correctly (1/1/1970??) it was really easy to set up. I was actually pleasantly surprised to find support for WordPress. I figured Microsoft would support SharePoint Blogs and some other MS-based blog sites/services. I&rsquo;m glad to see they are thinking about some of the other and more prevelant options out there.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.glenc.net/2006/06/20/hello-from-word-2007/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

