Sunday, February 22, 2009

VSeWSS 2008 v1.3 – Feb 2009 CTP

New build of Visual Studio 2008 extensions for WSS 3.0 v1.3 CTP has been released this week (20.2.2009).

http://www.microsoft.com/downloads/details.aspx?FamilyID=b2c0b628-5cab-48c1-8cae-c34c1ccbdc0a&DisplayLang=en

Saturday, February 21, 2009

How to get SPList instance

Usually the developers write code like this:

using (SPSite siteCollection = new SPSite(siteUrl))
{
    using (SPWeb web = siteCollection.OpenWeb())
    {
        SPList myList = web.Lists["ListTitle"];
    }
}

It seems good, consistent with best practices http://msdn.microsoft.com/en-us/library/aa973248.aspx#sharepointobjmodel__codingtechniques, but whether it is really the best?

In this case web.Lists["ListTitle"]; loads metadata for all lists in this SPWeb and than compares the titles (SPList.Title) of all objects in the collection. Finally it returns the list matching the criteria.

Let’s see the code below.

using (SPSite siteCollection = new SPSite(siteUrl))
{
    using (SPWeb web = siteCollection.OpenWeb())
    {
        SPList myList = web.GetList(“http://site_url/lists/ListTitle/AllItems.aspx”);
    }
}

In this case the Object Model at first gets the List ID (GUID) from the URL, than loads the metadata only for this specific list.

Yes, that is not a big performance problem if you have a few lists in your SPWeb. But let’s consider what will happen if there are 1000 lists per site…?

Tuesday, February 17, 2009

Integrating External Content Repository with MOSS 2007

Learn how to integrate external document repository with MOSS 2007 and keep the content available for workflows, tasks and extensible metadata.

http://msdn.microsoft.com/en-us/library/dd440954.aspx

Authors: Trent Swanson, Bhushan Nene, Scot Hillier

Code sample: http://code.msdn.microsoft.com/spextcontent

The architecture presented in this code sample utilizes the Content Management Integration Services (CMIS) standard for accessing Enterprise Content Management (ECM) systems in a platform-independent manner. CMIS is a standard developed by Microsoft, EMC, and IBM that leverages SOAP, REST and Atom to enable communication with and between ECM systems.

figure10

Monday, February 16, 2009

Sharepoint Designer and Workflow Resources

 

A six-part series on getting the most out of SharePoint Designer 2007

http://office.microsoft.com/en-us/help/HA102199841033.aspx

Creating Custom Workflows with the SharePoint Designer 2007

http://channel9.msdn.com/shows/In+the+Office/Creating-Custom-Workflows-with-the-SharePoint-Designer-2007/

Create new sharepoint workflow

http://www.sharepointhosting.com/tutorials/create-new-sharepoint-workflow/create-new-sharepoint-workflow.html

Using SharePoint Server Workflows with InfoPath 2007

http://msdn.microsoft.com/en-us/library/bb267332.aspx

Use an approval workflow in SharePoint Server 2007

http://office.microsoft.com/en-us/sharepointserver/HA102506161033.aspx

Workflows roadmap

http://technet.microsoft.com/en-us/library/cc263262.aspx

Creating Office SharePoint Server 2007 Workflows in Visual Studio 2005

http://msdn.microsoft.com/en-us/library/ms564355.aspx

Combining Windows Workflow Foundation, Windows SharePoint Services, and Office SharePoint Server

http://technet.microsoft.com/en-us/library/cc262259.aspx

Introduction to workflows

http://office.microsoft.com/en-us/sharepointserver/HA101544241033.aspx

Design custom workflows by using SharePoint Designer

http://office.microsoft.com/en-us/sharepointserver/HA102422951033.aspx

Understanding Workflow in Windows SharePoint Services and the 2007 Microsoft Office System

http://download.microsoft.com/download/9/d/d/9dd464d6-41a3-40ed-abab-a4f175f80cc0/Understanding%20Workflow%20in%20Windows%20SharePoint%20Services%20and%20the%202007%20Office%20System.doc

MOSS 2007 training (in Bulgarian)

http://moss.teacher.bg/TrainingContent.htm

Workflow Scalability and Performance in Windows SharePoint Services 3.0

http://msdn.microsoft.com/en-us/library/dd441390.aspx

Sunday, February 15, 2009

SUGBG (Meeting 3): Internet Sites with WSS 3.0

The next meeting of SUGBG is scheduled for 25 February.

Elena Troyanska and Kanio Dimitrov (they are developers at BSH) will speak about Windows Sharepoint Services 3.0, and how can be used for internet facing sites. They will show and describe the implementation and architecture of “Sofiyska voda” web portal.”Sofiyska voda” maintains, operates and develops the water and sewerage system of Sofia city and it is one of the biggest utilities companies in Bulgaria. For more details visit www.sugbg.org and http://www.sofiyskavoda.bg/en/about/ourbusiness.aspx

Register yourself for this event in Facebook

SUGBG in Facebook

Download the presentations:

The screencast video is here [wmv, 73 mb]

Friday, February 6, 2009

Sharepoint Admin Consideration Guide

Guide to the most important things to consider before deploying Office SharePoint Server or Windows SharePoint Services, including server administration, governance, branding, and development.

Available in .docx, .pdf and .xps formats

http://www.microsoft.com/downloads/details.aspx?FamilyID=4ce750af-5564-4b92-b74b-703d4c150ba6&DisplayLang=en

Sharepoint Administration Toolkit v3.0

Microsoft just released  the third version of SP Administration Toolkit. The new added feature is Sharepoint Diagnostics (SPDiag) tool, which can:

  • Collect IIS and ULS log files, performance counter data, event logs, and WMI instrumentation data from a SharePoint farm.
  • Filter data to show granular information related to specific servers, Web applications, HTTP requests, event IDs, URI queries, and almost any other data points captured through supported channels.
  • Create custom reports that can help reveal performance trends over time.
  • Create snapshots of your SharePoint farm that include detailed information about your farm’s hardware, installed software and logical topology.
  • Export collected data and reports that can be sent to Microsoft support personnel.

The user guide for SPDiag is available for download here: http://www.microsoft.com/downloads/details.aspx?FamilyID=1c222804-51c7-4bb5-ae3d-89c68ad27a78&displaylang=en

Another enhancement in the toolkit is updated setup program, which now works with User Access Control and is no longer need to run it as administrator.

Downloads:

Microsoft Sharepoint Administration Toolkit v3.0 x86

Microsoft Sharepoint Administration Toolkit v3.0 x64

Tuesday, February 3, 2009

Design and Build Sites with MOSS 2007

Technet published this guide to provide guidance, that can help developers and IT pros to build custom enterprise sites by using MOSS 2007 – company portal or internet sites.

Custom sites based on MOSS 2007 combine coded elements, such as workflows, document converters, and Web Parts, along with content, such as master pages, layout pages, graphics files, and Web pages. Best practices for developing these sites include setting up multiple environments for developing, integrating, piloting, and deploying coded elements and content from one environment to another.

Download the guide here: http://go.microsoft.com/fwlink/?LinkId=110087