Monday, May 25, 2009

Virtualization of SharePoint

Working on the virtualization of a SharePoint environment I came across the blog of the SharePoint Team from Microsoft Consulting Services, UK. They have a great series of articles on the virtualization of SharePoint that is a must read in my opinion when you start virtualizing.

  1. Virtualizing SharePoint Series - Introduction
  2. Virtualizing SharePoint Series - Optimizing the performance of a virtualized SharePoint environment
  3. Virtualizing SharePoint Series - SharePoint server role recommendations in virtualized environmennts
  4. Virtualizing SharePoint Series - Monitoring and managing your virtualized SharePoint environment
  5. Virtualizing SharePoint Series - High availability and disaster recovery, deployment best practices, common mistakes and summary

Related Posts

Continue Reading...

Tuesday, May 19, 2009

Protect Yourself Against SharePoint Designer

Protect Yourself Against SharePoint DesignerSharePoint Designer provides you with a set tools to brand and customize SharePoint, build efficient applications on top of the Microsoft SharePoint platform, but most of all it makes navigation in your SharePoint site(s) very easy. Not for nothing it made my 9 Excellent Resources for and about Branding SharePoint list. But SharePoint Designer in the wrong hands can seriously damage your SharePoint sites!

Robert Bogue, a SharePoint MVP, discusses the need for governance with SharePoint Designer on his blog. I highly recommend reading this if you are an administrator, consultant, or are involved in SharePoint deployments.

Because SharePoint Designer is free, any user can just download and install it from here. If you work in an enterprise-level organization, you probably already have policies in place that control what can be installed on user PCs, but even then it might be wise to restrict access from SharePoint Designer to your sites.

Here comes the good news. There are actually options to restrict the access of SharePoint Designer to your preciously builded and maintained SharePoint sites. There are options for locking down SharePoint Designer:

  • At the server level per site definition
  • At the Web application level for all users
  • At the Web application level per user or group
  • At the site level per user or group
  • At the site level per user or group
  • Per computer or per user

All the different options are very nicely explained in this post on the Microsoft SharePoint Designer Team Blog.

Have a look at the posts mentioned, and decide for yourself how far you want to go in protecting yourself from SharePoint Designer. Better be save, then sorry...



Related Posts

Continue Reading...

Friday, May 15, 2009

How To Create Drilldown Silverlight Graphs in SharePoint with Visifire

In my post "How To Add Awesome Graphs To SharePoint with Silverlight" I explained how you can create Silverlight graphs in SharePoint with help from Visifire. A very cool feature of Visifire is the ability to create so called drilldown graphs. For an example of what a drilldown graph is have a look here.



One question that was asked at the Visifire forum is how to create drilldown graphs based on SharePoint lists, and that was for me the trigger to give it a shot. And it actually worked out great!

My drilldown graph in SharePoint

So what did I do?



Step 1: First of all I downloaded the drilldown sample application from the Visifire website. In this sample application, the chart can be drilled down till 2 levels. The default chart would show yearly sales of a fictitious company for the period 2006-2008. On click of column representing the sales for an year, monthly sales for that year is shown up. Further it can be drilled down to find product wise sales for the selected month.

The sample uses Javascript API to generate charts. The complete application can be downloaded from here. The code is completely commented and explained wherever necessary. Read the blog post if you need more help.



Step 2: Create a new Custom List in SharePoint that will hold the sales data. I called my list SalesData. The list should have the following fields: Year, Month, ProductX, ProductY, ProductZ. After that you can fill it with data.



Step 3: Create a new page in SharePoint that will hold a Data View Web Part. You can use SharePoint Designer for this, with a Web Part Zone selected, from the top menu click Data View -> Insert Data View. From the Data Source Library in the right hand task pane select the SalesData list and click Show Data. Then select the Year, Month, ProductX, ProductY and ProductZ fields and add them to the Data View. After adding the Data View Web Part just make sure you do not have selected any paging option. Select display all items.



Step 4: Unzip the Visifire sample application that you downloaded in Step 1 and grab "Visifire2.js" and "SL.Visifire.Charts.xap" and add them to the same location as the page you just created in your SharePoint site.



Step 5: In the SharePoint .aspx page that you created in Step 3 you have to locate the following peace of code:


<xsl:template match="/">
<xsl:call-template name="dvt_1"/>
</xsl:template>


This code you will replace by:

<xsl:template
match="/"
xmlns:x="http://www.w3.org/2001/XMLSchema"
xmlns:d="http://schemas.microsoft.com/sharepoint/dsp"
xmlns:asp="http://schemas.microsoft.com/ASPNET/20"
xmlns:__designer="http://schemas.microsoft.com/WebParts/v2/DataView/designer"
xmlns:SharePoint="Microsoft.SharePoint.WebControls">

<script type="text/javascript" src="Visifire2.js"></script>

<!-- Code from Step 6 will come here -->

</xsl:template>


Step 6: You just copy all the JavaScipt code from drilldown.html (this file is part of the example from Visifire you downloaded) and place it in the xsl. The same goes for the actual display of the graph. Because it is far to much code to display here I will just show the important stuff. For more details you can have a look at examples that display a simple Visifire graph in SharePoint here and here.

When you look at the JavaScript code in the example you will notice a large array called "sales", and that is were we have to change something to display the data in our SharePoint list. You have to replace the JavaScript code that generates the array with data with the following XSL.



<xsl:text disable-output-escaping="yes"><![CDATA[
<script type="text/javascript">
var sales = [
]]></xsl:text>
<xsl:for-each select="/dsQueryResponse/Rows/Row">
<xsl:text disable-output-escaping="yes"><![CDATA[{year: ]]></xsl:text>
<xsl:value-of select="./@Year" />
<xsl:text disable-output-escaping="yes"><![CDATA[, month: "]]></xsl:text>
<xsl:value-of select="@Month" />
<xsl:text disable-output-escaping="yes"><![CDATA[", ProductX: ]]></xsl:text>
<xsl:value-of select="@ProductX" />
<xsl:text disable-output-escaping="yes"><![CDATA[, ProductY: ]]></xsl:text>
<xsl:value-of select="@ProductY" />
<xsl:text disable-output-escaping="yes"><![CDATA[, ProductZ: ]]></xsl:text>
<xsl:value-of select="@ProductZ" />
<xsl:choose>
<xsl:when test="position() = last()">
<xsl:text disable-output-escaping="yes"><![CDATA[}]]></xsl:text>
</xsl:when>
<xsl:otherwise>
<xsl:text disable-output-escaping="yes"><![CDATA[},]]></xsl:text>
</xsl:otherwise>
</xsl:choose>
</xsl:for-each>
<xsl:text disable-output-escaping="yes"><![CDATA[]; ]]></xsl:text>


The code just loops through your SalesData list, and creates an array from of the data. You do the looping by using the <xsl:for-each select="/dsQueryResponse/Rows/Row"> statement. The only tricky thing is the comma after the last array item, that is why you need the <xsl:choose> element in combination with <xsl:when test="position() = last()">.



When all went well this XSL will generate exactly the JavaScript code from the example but then with the data from your SharePoint list, instead of hardcoded data.



This worked for me and resulted in some cool graphs. When you have any questions or you want the complete .XSL code just Contact me.



Related Posts

Continue Reading...

Thursday, May 14, 2009

Green IT

Inspired by the article "25 facts you should know about green IT" from Ted Samson I decided to make a SlideShow about green IT. You can see the result below. Let me know what you think about it.


Update: May 15

Cool, just got this message from SlideShare:

Congratulations! Your presentation 'Green IT' is a 'Top Presentation of the Day' on SlideShare

Related Posts

Continue Reading...

Wednesday, May 13, 2009

SharePoint Manager 2007

SharePoint Manager 2007SharePoint Manager 2007 (SPM2007) is a SharePoint object model explorer. It enables you to browse every site on the local farm and view every property. It also enables you to change the properties. This is a very powerful tool for SharePoint Developers and Administrators that like to know what secrets SharePoint holds.

SPM2007 is developed by Carsten Keutmann and he was so friendly to make the tool available for everybody by placing it on CodePlex. You may know Carsten from one of his other projects – WSPBuilder, a SharePoint Solution Package (WSP) creation tool for WSS 3.0 & MOSS 2007.


Many times I have written small console utilities to dump things like list fields, view CAML, and so on. All these you can now simply browse with SPM2007. It provides all information you need in the following areas:

  • Farm setting
  • Farm servers
  • Web App overview
  • Web App on server
  • Central admin options
  • Definitions export (list, content type)
  • Account Security overview

I think SPM2007 can save you a lot of time, and will increase your understanding of the SharePoint Object Model. It does for me. SPM2007 is a single executable file that does not require any additionale software installed on your MOSS / WSS servers.

Warning: SPM2007 enables you to update the data in the SharePoint Object Model directly. Therefore be very careful when changing the data!

Related Posts

Continue Reading...

Friday, May 8, 2009

Managers vs Engineers

A man is flying in a hot air balloon and realises he is lost. He reduces height and spots a man down below. He lowers the balloon further and shouts, "Excuse me, can you help me?"

"I promised my friend I would meet him half an hour ago, but I don't know where I am."

The man below says, "Yes. You are in a hot air balloon, hovering approximately 30 feet above this field. You are between 40 and 42 degrees N. latitude, and between 58 and 60 degrees W. longitude."

"You must be an engineer," says the balloonist.

"I am" replies the man. "How did you know?"

"Well," says the balloonist, "Everything you have told me is technically correct, but I have no idea what to make of your information, and the fact is I am still lost."

The man below says, "You must be a manager".

"I am," replies the balloonist, "But how did you know?"

"Well," says the man, "You don't know where you are, or where you are going. You have made a promise, which you have no idea how to keep, and you expect me to solve your problem."

"The fact is you are in the exact same position you were in before we met, but now it is somehow my fault."

Related Posts

Continue Reading...

Wednesday, May 6, 2009

How To Add Awesome Graphs To SharePoint with Silverlight

Microsoft SilverlightWorking with SharePoint, MOSS and WSS for a while now, I recently started playing around with Silverlight in SharePoint. During my studies I specialized on Data Mining and Information Visualization, and although I'm not doing a lot in the Information Visualization area anymore, it still has a big place in my heart and I keep track on the developments in this area.

So when started thinking about a nice project to test Silverlight in SharePoint the idea of looking into some visualization popped up pretty fast. During my dive into this topic I came across VisiFire charting components, and was so impressed with what I saw on their website, that I wanted to test it straight away.

Visifire and SharePointVisifire is a set of open source data visualization components - powered by Microsoft® Silverlight™ & WPF. Visifire is a multi-targeting control which can be used in both WPF & Silverlight applications. Using the same API, charts in both Silverlight & WPF environments can be created within minutes. Visifire can also be embedded in any webpage as a standalone Silverlight App. Visifire is independent of server side technology. It can be used with ASP, ASP.Net, PHP, JSP, ColdFusion, Ruby on Rails or just simple HTML.

Jon Camp posted a very nice post on the Microsoft SharePoint Designer Team Blog about how to add Visifire to SharePoint with help from the SharePoint Designer. Because Visifire has a new release of its toolkit (Version 2.0), and a few changes were made in the interface I had to adopt the code of Jon a little bit to make it work. One of the graphs I created you can see below. I have not tested it with the 2.2 Beta version of Visifire, but based on my experiences till now it should not be hard to adapt the code to do so.

After doing some surfing before I wrote this post I came across this post of Randy Drisgill. He describes which changes you have to make to the code of Jon in order to make it work with version 2.0 of Visifire. Saves me some code formatting.




To get an idea what the possibilties of Visifire are I would advise you to play around with their Chart Designer or have a look at their Gallery. In my opinion it is pretty impressive. For a live demo of Visifire within MOSS have a look here. The demo is part of the WSS Demo Site of Ian Morrish.




When you don't want to go trough the effort of using SharePoint Designer you could have a look at the SmartTools for SharePoint from Jan Tielen. He created a web part that you can deploy on your server that uses Visifire and can be configured without any altering of the pages itself. The web part can read data from any list or document library of the site on which it's placed.




Related Posts

Continue Reading...

Sunday, May 3, 2009

What is Enterprise 2.0?

Enterprise 2.0, Enterprise Social Media, Enterprise Social Computing and other terms are used to decribe a set of technologies and applications that are not new, but together do form a new way of working.

Atle Skjekkeland (@skjekkeland) from AIIM posted a presentation on Slideshare that gives a pretty nice overview of Enterprise 2.0. AIIM is a community that provides education, research, and best practices to help organizations find, control, and optimize their information.

The presentation defines Enterprsie 2.0, in which state it is, what technologies and applications are used, and what challenges are still open.

Just take a few minutes to go through it, it is worth your time.


Related Posts

Continue Reading...

Friday, May 1, 2009

SharePoint as an Enterprise Wiki?

After reading the article “MS SharePoint as a Wiki: Few Function, Less Compatibility” of Martin Seibert I was astonished. It has been a while I read an article about SharePoint that had so many factual errors and wrong assumptions in it than this one. But he did asked a valid question.

Is SharePoint out of the box usable as an enterprise Wiki?

MOSS 2007 comes with its own built-in Wiki features, but they are in my opinion not sufficient to build an enterprise Wiki on. There are a number of features that are available in a good enterprise wiki solution that are not available in SharePoint. To name a few:
  • There is no support for standard Wiki markup language.
  • The content editing capabilities of the default SharePoint Web Editor are limited.
  • There is no taxonomy solution, i.e. content tagging and hierarchical categories.
  • There is no content rating (but that is very easy to solve, see my article How To Add Content Rating To SharePoint).
  • There is no support for subscription RSS feeds.
  • No support for comments on Wiki pages. You can add discussion boards, but those are something different than what you would expect from a Wiki.
  • The capability for generating reports on the Wiki activity are rather limited.
  • There are no Wiki content templates (but this you could easily solve by creating a few page templates yourself).
  • There is no easy way to attach files to Wiki pages. You have to do this by adding the content to a document library, and then include the link in your Wiki page.
  • There is no support for things like Wanted pages, Orphaned pages, Most/Least Popular Pages, and Recent Visitors.
Have a look at How Good Is MS SharePoint As A Wiki?, Comparing SharePoint to Confluence and Wiki-in-the-Box - Is SharePoint Wiki Really that Bad? for a more thorough discussion about SharePoint as a Wiki. So my final answer to the question "Is SharePoint out of the box usable as an enterprise Wiki?" would be a no as well. But …

Does it matter that SharePoint out of the box is not usable as an enterprise Wiki?
Comparing the features of Sharepoint's wiki to the features of an enterprise Wiki is like comparing Apples-to-Oranges - Bill Arconati, Atlassian
By definition, SharePoint is something completely different than an enterprise Wiki. If all you want is a Wiki, you don't have to spend your time on implementing SharePoint. There are better solutions out there. But a Wiki is very rarely the only thing that a company wants, and if SharePoint does the most things you as a company wants, then it is very easy to add some 3rd party Wiki functionality and that way satisfying your need for an enterprise Wiki as well.

So no, in my opinion it does not matter that SharePoint out of the box is not suitable as an enterprise Wiki because SharePoint was, and is not, intended to be a best-in-class Wiki engine.

So how do you make SharePoint usable as an enterprise Wiki?

More and more SharePoint customers who want advanced Wiki functionality are looking to the specialized Wiki ISVs like Atlassian and SocialText to provide them with this functionality.

Both Atlassian`s Confluence and SocialText`s Workspace provide an integrated user experience in SharePoint by using webparts. Also the SharePoint solution provider KWizCom says their KWizCom SharePoint 2007 Wiki Plus is exactly what the enterprise ordered when it comes to Wikis. When you want to compare the features of those solutions, as well as other Wiki solutions have a look at WikiMatrix.

So there are a number of 3rd party products available to add enterprise Wiki functionality to SharePoint. And when you want to build the functionality yourself, you can do that as well.

Will the next version of SharePoint be usable as an enterprise Wiki?

In my opinion the next version(s) of SharePoint will not have dramatically improved its core wiki engine and application capabilities. The Wiki functionality in SharePoint was not designed to compete directly with best-in-class Wiki Solutions, and I do not think Microsoft is going to change this in the near future.

Continue Reading...
Copyright © 2008–2009 Henrico Dolfing
Template Blogger Green by Dicas Blogger, pimped by Henrico Dolfing.