Browse by Tags

All Tags » Visual Studio 2005 (RSS)

Using PeopleEditor Control with Web Parts in SharePoint 2007/WSS 3.0

Ever wanted to borrow that cool AJAX like control in SharePoint 2007 (or WSS 3.0) that lets you pick and resolve users so that you can manage those users/groups and their permissions. The control I'm talking about is PeopleEditor (aka People Picker) and there's not much documentation out there, and the examples are not very helpful. At some point in time last year I decided to investigate this control and find out how to get resolved items out of it, as I needed to use it and abuse it for...

Developing Basic Web Parts in SharePoint 2007

Many times in the past I've been asked to help and elaborate on one SharePoint topic and that is building Web Parts for SharePoint. I've talked about this in my community events as well as conferences where I presented. I've also blogged about some more advanced development of Web Parts but I've never done a more basic explanation of how to develop simple Web Parts. After this last request I finally gave in, so here it is. Coolest thing about web parts in SharePoint is its complete...

New eLearning Course: Developing Solutions with Microsoft Office SharePoint Server 2007 and Visual Studio 2005

I found out about this new course from Michael O'Donovan of Microsoft some time ago. I strongly suggest that you put this on a budget list for training. 6071AE: Developing Solutions with Microsoft Office SharePoint Server 2007 and Visual Studio 2005 In this online collection composed of six courses, developers will learn how to develop customized Microsoft Office SharePoint Server 2007 solutions. Topics covered within the collection include Enterprise Content Management, Single-Sign On, and InfoPath...
Posted by Zlatan | with no comments

Iterate through items in a MOSS 2007 list when using Windows Workflow Foundation

Brad from Shoprite asked me on my forum ( http://zlatandzinic.com/forums/ ) about this, so as usual I try to make my answers available to a larger pubic so here it goes: Here's an example of the code to use (mostly for event handlers): using(SPSite mySite = new SPSite( http://yourspserver/ )) { using(SPWeb myWeb = mySite.OpenWeb()) { SPList yourList = myWeb.Lists["NameOfYourList"]; //you can also use the List ID if you don't want to specify the list by name foreach (SPListItem item...

Compare the differences between building MOSS 2007 Workflows in Visual Studio 2005 Vs Visual Studio 2008

Old (VS 2005) way was: Create workflow in Visual Studio 2005 Author the feature definition file Add GUID Add title Add description Add manifest location Author workflow template definition file Add GUID Add name Add description Compile the workflow files into a .NET assembly Sign the assembly Add key file Design the actual workflow, add code etc. (This is the "real" developer task) Install assembly into the Global Assembly Cache Extract public key token Add key token to workflow template...