Skip to main content

Steve Walker's SharePointing Blog

Go Search
Steve Walker's SharePointing Blog
  

Steve Walker's SharePointing Blog > Categories
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 !
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 !!!
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 !!!
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 !!!!
Excellent resource released - SharePoint ALM
There is an excellent read recently released on MSDN for anyone that does SharePoint development in an Enterprise environment and wants to us TFS for ALM.
 
 
Happy SharePointing !
Easy Binding of Content Types to Lists
Quite often I define content types with associated event receivers, etc and want to bind them to particular list instances when a site is provisioned. Previously I would create the content types, go through the steps to create a list, associate the content type, modify the view, etc and then use the Visual Studio Tools for SharePoint "Solution Generator" to pull down the list to include in my package for deployment to SharePoint.
 
I found an easier way to do this using the ContentTypeBinding elements.
 
Add the following to the elements.xml file for your feature:
 
 <ListInstance FeatureId="00BFEA71-DE22-43B2-A848-C05709900100" TemplateType="100" Title="ListName" Url="Lists/ListName" OnQuickLaunch="TRUE" QuickLaunchUrl="Lists/ListName/Forms/Allitems.aspx" />
 
 
<ContentTypeBinding ContentTypeId="0x0100YOURCONTENTTYPEIDGOESHERE" ListUrl="Lists/ListName"/>
THis will crate an instance of the CustomList type and then bind the content type to the list.
 
It makes it easy to test your recievers, etc without going through all of those additional steps.
 
There are some drawbacks to this approach. It doesn't remove the default "New > Item" from the "New" menu which may be an issue. Also, the default "AllItems" view of the list will not include your fields from your custom content type.
 
I am considering adding code to a feature receiver that will adjust these items after the list is provisioned... not enough hours in the day :-(
 
Hope you find this tip useful !
 
Happy Sharepointing !
SharePoint Development "Need To Haves"
I have a million ideas floating around in my head on how we could make SharePoint the best application development platform out there. I am going to outline what I would consider to be some items that would greatly enhance the use of SharePoint as a truly great Application Development Platform.
 
1) An extension to Visual Studio that allowed the creation of Content Types, Lists, etc through a Class Designer Interface. Similar to the way that you can create classes currently except that you would be generating the defintion of a CT/List for a feature (concievably all elements could be designed this way fairly easily I would think). You could manipulate all of the properties and the appropriate code class would be created with the attributes needed to generate these properties. A Visual designer with the ability to generate classes with attributes would go along way towards SharePoint Development Bliss :-)
 
2) A Solution/Feature Versioning Framework. Quite a lot of the pain in doing SharePoint development in an ongoing manner (evolving your application over time), is the lack of the ability to efficiently deploy and upgrade your solutions. While I will agree that the Solution Deployment Mechanism's within SharePoint are great, there are two deficiencies that cause a lot of developer/operations time and headaches.
 
We need to be able to define versions of our features and our solutions. When a new "Version" of the solution is installed, it installs and then executes the "Upgrade Code" for each version between the original and the current one. Similar to the way DotNetNuke operates with the upgrade scripts. This would allow developers to have a predicatable manner by which to add fields to content types, lists, replace items, add/update workflows, etc.. without having to worry about going through and removing / reinstalling the features everywhere. This is a major annoyance.
 
3) We need the ability to remotely deploy a solution to a farm. This would involve a new timer job and the ability to deposit the solutions along with installation manifests on the target farm and then have them installed to the farm. This would be VERY useful for deploying code between environments when developing/testing/promoting to production.
 
All of these could be developed as "Yet Another SharePoint CodePlex Project"... If anyone is willing to collaborate on any of the ideas I've listed here, comment away and we can see where it goes :-)
 
Happy SharePointing !
Patterns & Practices SharePoint Guidance

 

For those of you that have not seen it yet, there is some "Pre-Alpha" SharePoint guidance that has been released by the Patterns & Practices team @ Microsoft. While this is not even the Alpha release, I think it's worth a read for someone embarking on the SharePoint development path in an enterprise environment.
 
Happy SharePointing !

 Error

Web Part Error: A Web Part or Web Form Control on this Page cannot be displayed or imported. The type could not be found or it is not registered as safe.

Error Details:
[UnsafeControlException: A Web Part or Web Form Control on this Page cannot be displayed or imported. The type could not be found or it is not registered as safe.]
  at Microsoft.SharePoint.ApplicationRuntime.SafeControls.GetTypeFromGuid(Guid guid)
  at Microsoft.SharePoint.WebPartPages.SPWebPartManager.CreateWebPartsFromRowSetData(Boolean onlyInitializeClosedWebParts)