Recap from devLINK 2010 in Nashville

August 7th, 2010

devLINK 2010 ended today, and I’ve got to tell you that was one excellent conference.  John Kellar and his leadership team obviously work really hard.  This year the conference sold out with around 900 attendees.  There were around 150 breakout sessions and opening/closing keynotes.  Tim Huckaby pulled off an amazing keynote to kick the conference off.  As fate would have it, he mentioned some of the cool things his company has done with WPF and SharePoint just minutes before I was to deliver the first SharePoint development session of the conference.  So I was caught a little off guard when 120-130 filled the room — me, on the third day of antibiotics and antihistamine battling a terrible sinus infection.

Thanks to the adrenaline rush from Tim’s keynote (did I mention he was amazing?), I was able to pick up some steam.  I only had 45 minutes to deliver a 75 minute presentation.  Even after running over by five minutes, I was still not able to completely finish.  I will post the code on my blog soon — on a new page I added just for code.  The reviews of the session were mostly good.  Despite stating in the session description that my objective was to guide .NET developers when to develop on the SharePoint platform and introduce them to the SharePoint Object model, and my verbal disclaimer at the beginning that it wouldn’t be a code-filled session, there were a handful of people who still expressed their desire to see more code.  After all, this was devLINK — where code rules and slide decks drool.  So it was my first time there…give me a break!  Call it a rookie mistake.  Let me come back next year and I’ll “code the far outta ya.”  Here is the slide deck for the “Intro to SharePoint Development” session.

View more presentations from Rob Wilson.

The audience for the InfoPath session was a bit smaller as anticipated.  We demonstrated how InfoPath can be used to replace paper forms and automate common business processes.  We developed a simple workflow using a custom SharePoint list and a workflow developed in SharePoint Designer 2010.  Then we demonstrated how to streamline that workflow using InfoPath.  Using codeless rules and actions, we can show users only the views of a form that they should see and use buttons on the forms to move the workflow along with a minimal amount of clicks.  The slide deck is below.  A complete walk-thru will also be added to my labs page.  The room came up with some great ideas for the InfoPath product team — including the ability to share data connections and rules across forms, and the desire to inherit forms (instead of using lackluster form parts).

In closing, I want to say that I am a fan of devLINK.  It is a well-oiled, developer-focused community machine.  The open spaces concept was a nice add — circles of developers sitting in the foyer outside Starbucks talking about real-world topics.  I’ll definitely take more advantage of that next year if I can peel myself away from the breakout sessions.  The facilities at Lipscomb University were phenomenal.  After three days I finally figured out how to get around and then I didn’t want to leave.  I saw great presentations on the Windows 7 Phone, iPhone development using MonoTouch, Silverlight, WCF, WPF, ASP.NET MVC, SharePoint and PowerShell.  It was good to see some old acquaintances and to meet some great people — I hope to run into them again.  And Nashville — you’re still one of my favorite places despite the intense heat this weekend.  I would have seen more of you were it not for my cold.  Until next year…

Post to Twitter Tweet This Post

Rob Wilson Forms, InfoPath, SharePoint 2010, SharePoint Designer, SharePoint Development, Visual Studio 2010, Workflow, devLink , , ,

Test SMTP Server for SharePoint Outgoing Email Settings

July 31st, 2010

I have been trying to find a good solution for a test SMTP server for SharePoint for some time.  Like many others, I have unique requirements including: 1) I run a SharePoint development instance on my Windows 7 laptop, 2) I run SharePoint test instances on virtual machines, and 3) I do many SharePoint demos from my laptop — sometimes without an internet connection.  Since SharePoint requires you to use a SMTP server that allows anonymous access, that somewhat limits one from using an ISP account as well.  It is frustrating to demo a workflow without the ability to send an email.

I recently discovered an open source solution for developers that captures SMTP traffic on the developer machine and doesn’t actually send it.  This works perfect for demos for me.  The solution is called smtp4dev.  Here is how it works.

Once you have downloaded and installed smtp4dev from codeplex.com, double-click the icon in the system tray and click the options button on the dialog that appears.  Switch to the server tab and put your computer name in the Domain Name field.  Note that the smtp4dev instructions suggest that you use localhost which in most cases would be fine.  However, in the Outgoing Email Settings in SharePoint, I received an error saying the localhost smtp server could not found.  I got around the error by naming the domain and smtp server the same as my workstation.

smtp4dev-1-configuration

Once you have smtp4dev configured on your SharePoint server, open up SharePoint’s Central Administration.  Go to Manage web application –> highlight your web application –> General Settings –> Outgoing Email.  Fill out the screen similar to below.

smtp4dev-2-outgoing-email-settings2
After that, you are good to go!  I opened up a calendar on my SharePoint 2010 Team Site and added an alert.  It really doesn’t matter to whom the alert would be sent as this tool intercepts all outgoing emails from your test server.  Then I added an event to my calendar.  A few seconds later, the smtp4dev icon in the system tray notified me that it had intercepted an email.  I double-clicked on it and I saw the following:

smtp4dev-3-calendar-view1

When I double-click on the email message in smtp4dev, Outlook opens on my workstation displaying the alert email.

smtp4dev-4-outlook-view2
It’s that easy!  I saw one report that smtp4dev would not work when you do not have a live internet account.  However, I disabled the wireless interface on my laptop and it still worked for me just fine.  From what I can tell, this is going to be perfect for doing SharePoint demos.  I’m sure I’ll use it for years to come.  I want to think Robert Wood for contributing this excellent solution.

Post to Twitter Tweet This Post

Rob Wilson Outgoing Email Settings, SMTP, SharePoint 2010, SharePoint Development, Workflow , , , ,

Links to Some SharePoint Resources at Microsoft.com

July 27th, 2010

I have created some TinyURLs for some links that I refer to often when giving SharePoint presentations or answering questions in forums.

To see what features are available in which edition (Foundation, Standard, Enterprise) of SharePoint, refer to the SharePoint edition comparisons page at:

http://tinyurl.com/sp2010editions

To download the SDK (Software Development Kit), including documentation and code samples for SharePoint Foundation 2010 and SharePoint Server 2010, visit the Microsoft Download Site at:

http://tinyurl.com/sp2010sdk

To get started with SharePoint development, check out the presentations, videos, source code and hands on labs available in the Microsoft SharePoint 2010 Developer Training Kit at:

http://tinyurl.com/sp2010devkit

To get help making the right development and architectural decisions, visit the SharePoint Guidance Patterns and Practices site at:

http://tinyurl.com/sp2010guidance

Post to Twitter Tweet This Post

Rob Wilson SharePoint 2010, SharePoint Development, Visual Studio 2010 , ,

Comparing SharePoint Forums

July 19th, 2010

I have long been a fan of newsgroups and forums.  I am appreciative to all of the professionals that give of their time to post questions, answer questions and moderate them.  The questions that they answer continue to help others weeks, months and sometimes years later.  Like many others, I try to give back when I have opportunity.  My first love is definitely blogging, but I am trying to make browsing the forums more of a priority.

The two forum sites I participate in are the MSDN/TechNet SharePoint forums and SharePoint Overflow.  Their are things that I like about both of them and some things that I don’t.  Here is a short list.

Voting System

Both forums have a voting system that allows the community to show support for good questions and good answers.  Votes are accumulated for the question/answer authors and are applied toward the points system.

Points System

The points system (a.k.a. “reputation”) of both forum sites are a great way to gain recognition in the community for a job well done.  On the MSDN site you earn medals based on the number of points you have acquired.  At SharePoint Overflow (which is based on the popular StackOverflow developer forum) it gets a little more interesting than that: you can earn new functionality at point thresholds.  For example, a newbie cannot vote or flag questions as offensive, but can just after 15 points.  As the points continue to accumulate, you may leave comments, vote down, create new tags, retag questions, edit other peoples’ posts, vote to close or reopen questions and eventually become a moderator.  To keep it interesting between point thresholds, you may also earn badges based on performing certain activities on the site.  The badges make it fun in addition to educational.

Feedback

SharePoint Overflow allows you to comment on questions and answers.  On the MSDN forums you may reply to others’ replies, but it gets a little cumbersome to read as the thread must be read top-down.  With SharePoint Overflow, multiple answers may receive their own reader comments — so in effect you have multi-threaded responses.

Organization

With the advent of SharePoint 2010, the MSDN forums have been divided into four forum categories: General, Setup/Upgrade/Admin/Opps, Customization and Programming.  That number is down from the fifteen forums available for pre-SharePoint 2010.  I can appreciate what Microsoft is trying to do in trying to organize the posts and allow for moderators to specialize on specific categories.  There are downsides, too.  One thing is dislike is when a newbie posts a question in the wrong category and a moderator chides them and moves the answer to a different category (granted some moderators are more graceful than others).  What’s just as bad is when a poster posts the same question into multiple categories.  What would be nice is if the poster could just worry about posting the question and someone else could decide where to put it.  With SharePoint Overflow, you don’t have to worry about that.  There is one forum for all SharePoint products, and the organization is accomplished using tags and filters.  I tend to favor SharePoint Overflow in this category — I give it a thumbs up for ease of use.

Speaking of filters, both forum sites have great filter/sort/search capabilities.  I give MSDN the nod, however, because the MSDN forums make it easier to identify which questions have absolutely no responses in addition to identifying which questions just haven’t been flagged as answered.  You may also filter on MSDN by the posts that contain code.

Reporting

Both forum sites have nice reports for reporting on your activity.  The MSDN forums seem to be more useful in terms of linking those activities back to the original posts.

Bio Pages

Both sites allow the participants to have a bio page to tell about themselves — a very cool feature.  Here is my MSDN Forum Bio.  Here is my SharePoint Overflow Bio.

Syndication and Notification

One of the things I like so much about SharePoint Overflow is that it notifies me of new posts in both twitter (@spoverflow) and via RSS (I use a RSS Reader on my mobile phone).  When I first started participating in the MSDN forums, RSS feeds were not available.  It appears that they now are.  What a great way to keep up with the kinds of challenges others are experiencing!  MSDN will also notifiy you via email if you so desire when there is activity on a thread you are watching.  SharePoint Overflow provides you with an activity page to monitor when people comment on one of your posts.

Popularity

The MSDN forum site is the clear winner here.  There are exponentially more users, posts and responses on the MSDN site.  SharePoint Overflow, however, is a force to be reckoned with and it is where I find myself spending the majority of my “forum time” lately.  SharePoint Overflow is really community run.  Its founders designed it that way.  The MSDN forums have the backing of Microsoft, its product teams and a larger number of MVPs.  It is great to see how Microsoft recognizes the contributors and MVPs both on the forum pages and on the MSDN home page.

In closing, I would like to endorse both of these forum sites.  Again, I think they both have their strengths and weaknesses, but I also think they cater to different people.  I have noticed that many SharePoint pros participate on both sites, and I will likely continue to do the same.  I hope that both sites continue to improve functionality.  The fact that both of these resources are available (as well as countless others) just reinforces my opinion that the SharePoint and .NET technical communities are hands-down the best communities to be a part of.  Go team!

Update: 30+ Days Later (8/20/10)

  • At first I wasn’t a fan of allowing moderators to mark responses as the answer, but I understand more now why it is necessary.  There are times when someone gives a response that is the clear answer.  Many times the asker was just a one-time visitor who got his/her answer and ran with it — never taking the time to log in and mark it appropriately.  In those cases, it leaves future readers wondering if the question was answered or not.  It is best to let a moderator mark it as answered.
  • On MSDN I saw a case where someone answered a question and the asker replied “Thanks, that worked” but inadvertently marked his own acknowledgment as the answer rather than the actual answer.   On SPO, Person A answered a question and Person B replied that he agreed with Person A — then Person B’s answer of “I agree” was marked as the answer.  : )
  • MSDN allows multiple replies to be marked as answers.  This is useful for a couple of reasons: 1) there is often more than one way to solve a problem, and 2) sometimes an answer spawns another question that needs to be answered.  It is great to keep that all in the same thread for future reference.

Post to Twitter Tweet This Post

Rob Wilson Forums, Help, SharePoint 2010 , ,

Microsoft Certified IT Professional, SharePoint Administrator 2010

July 11th, 2010

So at the beginning of the week I learned that I had been named an INETA Community Champion.  At the close of the week I learned that I had successfully completed three of the four SharePoint 2010 beta exams (still waiting to hear on the fourth one).  For now, I can officially share that I am a:

  • MCTS - SharePoint 2010, Configuration
  • MCITP - SharePoint Administrator 2010

As such, as an MCT, I am excited to start teaching some of the SharePoint 2010 courses!

Post to Twitter Tweet This Post

Rob Wilson Certifications ,

Received INETA Community Champion Award

July 11th, 2010

This was an exciting week for me in more ways than one.  I returned home from a great July 4th getaway with my wife and daughters to an email from Shawn Weisfeld of INETA informing me that I had been chosen as a Community Champion for the 2nd Quarter of 2010.  I was both honored and humbled to learn of the news.  INETA asks user group leaders and developer evangelists to log their activities for them on a quarterly basis — which I do.  This quarter they saw fit to add my name to the list of nine other deserving INETA Community Champions.

I come from an open source background where I was very active in the developer community — a community that for reasons  beyond me was not so friendly to Microsoft and other software providers.  Since changing my focus to the Microsoft platform less than a decade ago, I have been blown away by the community involvement that Microsoft and its partners display.  It is an honor to be a part of such a community and to be recognized for contributing to it.  Thanks INETA for all that you do for our user groups.  I want to thank the enthusiasts that come to all of our local meetings and contribute to our local community each month — and the regional groups that extended invitations for me to come and share.  I also want to thank my co-workers in the Microsoft technologies practice at Keller Schroeder who continually contribute to the local developer community and are just as worthy of this award as I am.  Here’s to a great team!

Post to Twitter Tweet This Post

Rob Wilson Awards ,

Fun with Data View Web Parts

June 29th, 2010

I’m working on a series of posts regarding the Data View Web Parts in SharePoint 2010.  I’m intrigued by the idea of companies using SharePoint Foundation (fka SharePoint Services) and DVWPs on Site Pages created in the free SharePoint Designer as a viable alternative to InfoPath for collecting data with web forms.  Granted, if a company has InfoPath, I would recommend using it for online forms 9 times out of 10.  But until Microsoft decides to make a end user version of InfoPath available for free so that users can fill out forms, I am confident there will be plenty of organizations that will not purchase it.

So I will be introducing some jQuery for sprucing up the presentation of the forms.  I will also show you some tips and tricks for data validation and page redirection.  It’s an exciting topic.  Stay tuned.

Post to Twitter Tweet This Post

Rob Wilson Forms, InfoPath, SharePoint 2010, SharePoint Designer, jQuery , , , ,

Jaelyn Cast in “Sound of Music”

June 2nd, 2010

I’m a proud dad today.  Our Jae-Jae has been cast as Louisa in the Gibson County Theatre Company’s Sound of Music that will run July 22, 23 and 25 at Princeton High School.  I can’t wait to see it…it is my favorite musical by far!  As a youngster in Princeton, I took art lessons from Tinsley Webb on the south end of town.  Tinsley was a gifted artist and I always think of him when I watch the Sound of Music.  Almost every class he would sing songs from the musical — he knew every word by heart.

An interesting fact we learned tonight: Louisa was played in the original film by actress Heather Menzies (now 60).  Heather is the wife of the late Robert Urich known as “Spenser” in television’s Spenser: For Hire.  In 1994, Robert Urich was in Evansville filming A Horse for Danny at Ellis Park.  Karen and I ran into him at the clock shop in Eastland Mall.  Believe it or not, he was wearing the trademark Spenser orange vest and looking at grandfather clocks.  We put our grandfather clock in layway that night (we had just returned from our honeymoon) and brought it home on our first anniversary.  It still sits in our living room.  Robert died in 2002 after a lengthy battle with cancer.  His wife, Heather, herself an ovarian cancer survivor, still resides in California.  Small world, right?  But I digress…

We’re proud of Jaelyn and are looking forward to seeing her sing and dance as Louisa.  She is already studying the film — or at least was until conking out just a few minutes ago.  : )  Congratulations to everyone involved!  It is going to be interesting to see how you pull it off. You have definitely got some work ahead of you, but the Gibson County Theatre Company always produces a great show!  Check it out in July and check out Willy Wonka Kids in June.

Post to Twitter Tweet This Post

Rob Wilson Life, Theatre , ,

Getting Started with .NET Development

May 29th, 2010

A couple of times this week I got the opportunity to share with some individuals suggestions for getting started learning .NET development.  Sometimes I take it for granted that these resources are commonly known, but there are definitely those who assume that there are still no free editions of Visual Studio.  I wanted to point you to some FREE resources to help you get started learning .NET.

First of all, Visual Studio.  Visual Studio 2010 Express Edition comes in a few flavors.  The reason is that you can only support one language at a time in the Express Edition.  So you must download the Visual Basic edition or C# edition, for example.  With the Professional Edition you get support for all the languages in a single IDE (plus additional features), but the Express Editions are definitely a great way to test the waters and you can definitely write production ready code.  See http://www.microsoft.com/express/ for more information and to download the Express Editions for free.

Also available on the Express page is a link to download SQL Server 2008 Express for free.

If you want to learn SharePoint (everyone should), then there are some free resources for you as well.  If you have Windows 7 or Windows Server 2008, see http://www.microsoft.com/downloads/details.aspx?FamilyID=49c79a8a-4612-4e7d-a0b4-3bb429b46595&displaylang=en to download SharePoint Foundation.  You will have to install it in standalone mode following the instructions listed at http://msdn.microsoft.com/en-us/library/ee554869(office.14).aspx.

Finally, there is also a free download for the latest version of SharePoint Designer — SharePoint Designer 2010.  You can do a great deal of SharePoint development and administration using this product.   See http://sharepoint.microsoft.com/en-us/product/Related-Technologies/Pages/SharePoint-Designer.aspx for more information.

I should mention that there is help available in each of the products.  Visual Studio contains tutorials to help you get up to speed quickly.  In addition, MSDN has virtual labs available for many Microsoft products at http://msdn.microsoft.com/en-us/aa570323.aspx.

If you are an aspiring developer or a hobbyist programmer, don’t use Java just because Eclipse or NetBeans are available for free.  Microsoft has responded with these Express products to help you evaluate and learn the best development environment on the market.

Post to Twitter Tweet This Post

Rob Wilson SharePoint 2010, Visual Studio 2010 ,

No 32-bit SQL Server with SharePoint 2010

May 6th, 2010

I’m often asked questions related to “mixing and matching” server architecture in a SharePoint environment.  Although it was not recommended, it was possible to install a 64-bit MOSS farm against a 32-bit SQL Server instance.  The problem was that mixing the environment like so could result in unpredictable performance.  However, with SharePoint 2010 the requirements specifically call for 64-bit SQL Server 2008, or 64-bit SQL Server 2005 SP3 CU3.

First of all, let me say that the installation process (the prerequisite check, required service accounts and so forth) for SharePoint 2010 has been streamlined nicely.  Kudos to the product team.  So I wondered if they had gone so far as to check for the stated minimum requirements for SQL Server during the SharePoint installation process.  Guess what…they did!

So, at first we had 32-bit SQL Server 2005 SP3 (no cumulative update) installed and tried to install a SharePoint 2010 Foundation server against it.  We got the following error:

error1

I had to wonder: was it because I was using 32-bit SQL Server, or because I did not have Cumulative Update 3 applied.  The only way to know for sure was to apply CU3.  So we did.  As a result of the update, the error got a little more descriptive:

error2

It’s something to keep in mind as you’re planning your SharePoint 2010 deployment.  Your existing SQL Server farm may not work (if it is 32-bit or not at the recommended update level).  There are so many good reasons to upgrade to 64-bit SQL Server 2008 that I see this as more of an opportunity than an obstacle.

Post to Twitter Tweet This Post

Rob Wilson SharePoint 2010