Skip Ribbon Commands
Skip to main content

Quick Launch

 

 Disclaimer

 

 

Steve Walker works as a Senior Consultant for Microsoft Consulting Services in the South Central District.

The opinions expressed herein are his own personal opinions and do not represent his employer's view in anyway.

 

Home
April 19
SharePointing Blog is Live Again
Now that SharePoint.Microsoft.com is hosted on SharePoint 2010, All of the issues related to my blog have been resolved and I will begin yet again posting some of my ramblings in the blogosphere :-)
 
I'll (hopefully) be able to post my SharePoint 2010 Ramblings as soon as I get a live client using the platform :-)
 
Happy SharePointing !
Steve
August 06
Dual Boot your Windows 7 Machine into another OS using a VHD
I wanted to be able to run Windows Server 2008 R2 on my laptop so that I could do development that requires this OS but I did not want to loose all of the coolness of Windows 7 (Hibernate, sleep, etc...)
 
I also did not have enough space once I shrunk my primary partition to install the OS in the typical Dual Boot fashion... I was getting ready to wipe my machine and reformat/repartion my machine so that I could Dual Boot in the traditional manner but then I thought... Why not try to use the new feature of Windows 7 and Server 2008 that allows you to boot from a VHD. Once I had gone through it, I realized just how easy this is !!!
 
Here are a couple of articles that i used to get me started:
 

http://edge.technet.com/Media/Windows-7-Boot-from-VHD/

http://blogs.technet.com/keithcombs/archive/2009/05/22/dual-boot-from-vhd-using-windows-7-and-windows-server-2008-r2.aspx

 

 

The basic steps are to:

Boot from your Server 2008 R2 DVD

Click next on the Language Screen

SHIFT+F10

DISKPART

 

Once you are in DISKPART, you use the following commands to create the VHD and format it

  1. LIST VOL
  2. CREATE VDISK FILE=c:\windows7rc.vhd MAXIMUM=200000 TYPE=EXPANDABLE
  3. SELECT VDISK FILE=c:\windows7rc.vhd
  4. ATTACH VDISK
  5. CRE PART PRI
  6. FORMAT FS=NTFS QUICK
  7. ASSIGN LETTER=V:
  8. LIST VOL
  9. LIST VDISK
  10. exit DISKPART
  11. exit WinPE command console

You are now returned to the installer

 

Complete your installation and then when you boot your machine, you will have the option to boot to Win7 OR server 2008.

 

You have the benefit of using a VHD for your disk, you can implement disk differencing, etc… but you are still running “On the Metal” rather than running virtually within another host OS. This provides all of the advantages of running straight on your hardware.

 

For SharePoint Development, this is a HUGE win :-)

 

Hope someone finds it helpful,

 

Happy SharePointing !!!

July 25
SharePoint Saturday Dallas
Today I am speaking at the SharePoint Saturday event in Dallas Texas. The event is being held at the Los Colinas Microsoft Campus. Even though that's where I am actually based out of, it took an event like this to get me to actually come to Dallas :-)
 
I am speaking in the Architecture Track. My topic is "SharePoint Web Content Management Solution Overview". I am going to be covering a reference application that is representative of a complex WCM Project in SharePoint.
 
I'll be posting the slide deck and my end of day notes after the presentation.
 
Happy SharePointing !!
June 08
Tulsa SharePoint Group - Post Meeting Notes
Had a great meeting at the Tulsa SHarePoint Group ! Thanks to Dennis, David and the gang for having me out to present. I got some great feedback and hope that everyone got something out of the discussion.
 
As I stated in the meeting, this was the first time presenting this particular format and topic. If you have any comments, good or bad, please comment here or send me an email at steve.walker@microsoft.com .
 
I have attached the slide deck from my presentation here for anyone who is interested.
 
Thanks again, I always enjoy presenting at my Hometown User Group !
 
Happy SharePointing !
June 08
Tulsa SharePoint Group - Web Content Management for the Enterprise Developer
i am speaking tonight at the Tulsa SharePoint Group. I will be delivering a talk that has two goals.
 
1) Explain to the audience the reasoning and methodology behind a successful Web Content Management project using Microsoft Office SharePoint Server.
 
2) Dig into some technical examples of a multi-tenet, multi-lingual Web Content Management System.
 
Most of my projects have not been your typical "Single Company, Single Portal" implemenetations but have been provisioned applications built upon the SharePoint Platform. While many of these topics I am covering apply in these types of applications, hopefully all will find some use in the concepts shown.
 
I will be posting my Slide Deck tonight after the meeting. Look forward to the meeting !
 
Happy SharePointing !
May 26
List Instances with Data Defined - Duplicating List Items
For anyone that has had this problem, hopefully this helps. I have written code in a previous project to repair this but then on my current project, found an Out of the Box Solution (No Code)
 
So here is the scenario. You have a feature that activates a list instance. In this List Instance, you are defining some data rows that you want to be populated into the list when it is provisioned. Typically, this would look something like this:
 
 <ListInstance
    FeatureId="{AD72BD0A-B2B6-4932-B4EC-D101B20E2E04}"
    TemplateType="10001"
    Title="$Resources:customerwcm,NavLinksList_Title;"
    Url="Lists/NavLinksList"
    Description="$Resources:customerwcm,NavLinksList_Description;">
  <Data>
   <Rows>
    <Row>
     <Field Name="Key">HomeLink</Field>
     <Field Name="Title">$Resources:customerwcm,NavLinksList_Home;</Field>
     <Field Name="Location">topnav</Field>
     <Field Name="DisplayOrder">0</Field>
     <Field Name="URL">/</Field>
    </Row>
    <Row>
     <Field Name="Key">ContactUsLink</Field>
     <Field Name="Title">$Resources:customerwcm,NavLinksList_ContactUs;</Field>
     <Field Name="Location">subtopnav</Field>
     <Field Name="DisplayOrder">2</Field>
     <Field Name="URL">/$Resources:cmscore,List_Pages_UrlName;/contactus.aspx</Field>
    </Row>
   </Rows>
  </Data>
 </ListInstance>
 
When this feature is activated, the List instance is created and the two list items are added. So what's the problem ? If you activate the feature again (through feature de-activate and then re-activate) OR through Content Deployment (Features are activated again on the target farm) then your list items will be duplicated. You will end up with TWO of each of these items. De-activate and re-activate again and you will have 3 items of each. This is not only annoying but can cause problems in lists that you use for configuration settings, etc.
 
Previously, I wrote a serious amount of code to work around this issue (which I will not go into detail here) but recently discovered a very simple fix. Add an ID to each of the list items and define the ID for each item. so the previous List Instance element XML would look like this:
 
 <ListInstance
    FeatureId="{AD72BD0A-B2B6-4932-B4EC-D101B20E2E04}"
    TemplateType="10001"
    Title="$Resources:customerwcm,NavLinksList_Title;"
    Url="Lists/NavLinksList"
    Description="$Resources:customerwcm,NavLinksList_Description;">
  <Data>
   <Rows>
    <Row>
     <Field Name="ID">1</Field>
     <Field Name="Key">HomeLink</Field>
     <Field Name="Title">$Resources:customerwcm,NavLinksList_Home;</Field>
     <Field Name="Location">topnav</Field>
     <Field Name="DisplayOrder">0</Field>
     <Field Name="URL">/</Field>
    </Row>
    <Row>
     <Field Name="ID">2</Field>
     <Field Name="Key">ContactUsLink</Field>
     <Field Name="Title">$Resources:customerwcm,NavLinksList_ContactUs;</Field>
     <Field Name="Location">subtopnav</Field>
     <Field Name="DisplayOrder">2</Field>
     <Field Name="URL">/$Resources:cmscore,List_Pages_UrlName;/contactus.aspx</Field>
    </Row>
   </Rows>
  </Data>
 </ListInstance>
 
Notice the Extra :      <Field Name="ID">2</Field> node.
 
Apparently, when SharePoint goes to add the items, if there is one already there with that particular list ID, it skips it. I have tested this to ensure that it is not simply overwriting the existing one and it works as desired.
 
I hope this simple tip is as useful to all of you as I found it to be !!
 
Happy SharePointing !!
March 28
SharePoint Saturday - Tulsa Edition
I am speaking today at the SharePoint Saturday Event in Tulsa Oklahoma. Just finished the Architecture Roundtable and am now sitting in Corey Roth's Development session.
 
There are SO MANY great sessions and it's going to be hard to choose which ones I want to sit in on !!!
 
I am speaking later this afternoon on SharePoint Administration - Deploying custom code and configuration. I typically do not speak to the administration track but I think that there is some merit to helping Administrators understand how thier developers SHOULD be packaging up code for deployment into SharePoint.
 
If you don't have anything else to do today and want to learn about SharePoint, Come on out to the TCC Northeast Campus and join in the fun !!!
 
Happy SharePointing !!!
February 20
SharePoint Saturday - Coming To Tulsa
Announcing the first ever SharePoint Saturday Event in Tulsa Oklahoma !!
 
This is a call for speakers and also to let folks out there know that the event will be taking place alongside the SchoolOfDev Event that David Walker is organizing. Thanks for letting us piggy back on your awesome event !!!
 
More info to follow shortly. If you are interested in spekaing or attending, post here or email me and I can hook you up with the right folks !
 
Happy SharePointing !!!
February 20
SharePoint Saturday NYC
I am speaking tomorrow at the SharePoint Saturday event in New York City. The event is taking place at the Microsoft Offices on the Avenue of the Americas in Manhattan.
 
I am presenting a Developer's Roundtable on Web Content Management in MOSS from a developer's perspective.
 
I was planning on giving a presentation on SharePoint Site Definitions - Why they aren't QUITE as evil as most folks would have you believe. I know this topic has caused quite a lot of turmoil in the user community so before you start flaming me and blasting me as a SharePoint Heretic, remember, you should always be wary of people that say "Never Use Site Defintions" and also of people that say "Always Use Site Definitons" :-) The purpose of the talk to is enlighten folks on when they are useful and how they can be used effectively.
 
I am also sitting in with Bob Fox, Dan Attis (and others) on an Ask The Experts Session at the end of the day as well.
 
Thanks to Michael Lotter for inviting me up to the event !
 
Looking forward to meeting al of you SharePointers in the NYC Area !!!
 
PS - I just found out today that I will be presenting in the same time slot as Joel Oleson, and that another speaker in that time slot will be lighting his guitar on fire to try to pull in a few folks from Joel's session. Sounds like I may be presenting to myself !!!!!
 
Happy SharePointing !!!!
December 08
Kansas City Day of .NET
I had a good time presenting at the Kansas City Day of .NET. Thanks Becky Isserman and Lee Brandt for inviting me up to speak. Least I could do since Becky came all of the way down to our TechFest in Tulsa to present :-)
 
Sat in on some great sessions. Michael Lotter's session was insightful and Todd Bleeker's session was energetic as always.
 
I promised to post my slide deck so here is a link.
 
Thanks again to the Kansas City Office Geeks ! Hope to see you again when you get your SharePoint Saturday arranged !
1 - 10Next