Author Archive

SharePoint Server 2007 SDK: Software Development Kit and Enterprise Content Management Starter Kit

Thursday, January 25th, 2007

The Microsoft Office SharePoint Server 2007 SDK is designed for solution providers, independent software vendors, value-added resellers, and other developers to learn about the new Office SharePoint Server 2007 enterprise application and platform. It features conceptual and "How to" articles, sample code, and programming references.

Also included in the SharePoint Server 2007 SDK, the Enterprise Content Management (ECM) Starter Kit is designed for solution providers, independent software vendors, value-added resellers, and other developers to learn about how to extend the new ECM features and platform in Office SharePoint Server 2007. It contains the following:

White Papers

  • 2007 Office System Digital Signatures Developers Guide
  • 2007 Office System Encryption Developers Guide
  • Information Rights Management – Pluggable Rights Management, Technical Overview
  • Importing Custom Actions into SharePoint Designer
  • Workflow Security Topics

Code Samples

  • Content Processing
  • Records Management and Policy
  • Workflow

Visual Studio Project Templates for SharePoint Server 2007 workflow

  • SharePoint Server Sequential Workflow Library
  • SharePoint Server State Machine Workflow Library

 

Download here:

SharePoint Server 2007 SDK: Software Development Kit and Enterprise Content Management Starter Kit

the WSS 3.0 SDK is also available:

Windows SharePoint Services 3.0: Software Development Kit (SDK)

Get more error information when .. "An unexpected error has occurred"

Monday, January 22nd, 2007

If you are developing master pages for SharePoint, and you get errors like "An unexpected error has occurred" when viewing your site with your custom master page applied, then enabling stack traces and disabling custom error pages in web.config is a great way to help you diagnose the specific problems.

You can do this by setting <customErrors mode="Off" /> in web.config and the CallStack="true" property in the <SharePoint><SafeMode> tag in web.config.)

How to get a view of all documents and pages that are checked out to me, and more…

Wednesday, December 20th, 2006

Use Report Rapport in MOSS 2007

Standard reports are:

  • Checked Out To Me  
  •  Last Modified By Me  
  • Pending Approval  
  • My Tasks  
  • All Draft Documents  
  • Going Live Within Next Seven Days  
  • Expiring Within Next Seven Days 

Just click Site Actions -> View Reports to get the list of reports that is include out of the box. Click any of these to run the report from your current location.

Alternately, you can run a report at any location from within the Site Content and Structure tool; simply navigate to any location in the site hierarchy, click the View dropdown, and see the list of reports appear

You can also create your own reports!

More on this..
http://blogs.msdn.com/ecm/archive/2006/11/15/report-rapport.aspx

Using LdapMembershipProvider in SharePoint, and get it to work!

Tuesday, December 12th, 2006

At my current project we ran into some configuration problems when getting SharePoint to work with the LDAP Membership provider. We are using Dirx as the directory service.

After configuring the settings as described in various articles, we were able to add users to a site and fill the profiles, 

When we tried to log in with the user, a login failed appeared.

One more configuration setting solved the problem (thanx to Lutz Roeder's .NET Reflector)

The setting is useDNAttribute.  We couldn't find any documentation on this setting, but setting it to false worked!

<add name="LdapDirxMembership"
type="Microsoft.Office.Server.Security.LDAPMembershipProvider,
Microsoft.Office.Server, Version=12.0.0.0, Culture=neutral,PublicKeyToken=71E9BCE111E9429C" server="10.145.192.207"
port="389"
useSSL="false"
useDNAttribute="false"
userDNAttribute="distinguishedName"
userNameAttribute="uid"
userContainer="ou=Extranet,o=Business"
userObjectClass="person"
userFilter="(ObjectClass=*)"
scope="Subtree"
otherRequiredUserAttributes="sn,cn"
/>

Internet Explorer Developer Toolbar

Tuesday, December 5th, 2006

This is a must have tool for SharePoint Customization.

Download: The Internet Explorer Developer Toolbar (Microsoft)

Overview

The Internet Explorer Developer Toolbar provides several features for exploring and understanding Web pages. These features enable you to:

– Explore and modify the document object model (DOM) of a Web page.
– Locate and select specific elements on a Web page through a variety of techniques.
– Selectively disable Internet Explorer settings.
– View HTML object class names, ID's, and details such as link paths, tab index values, and access keys.
– Outline tables, table cells, images, or selected tags.
– Validate HTML, CSS, WAI, and RSS Web feed links.
– Display image dimensions, file sizes, path information, and alternate (ALT) text.
– Immediately resize the browser window to a new resolution.
– Selectively clear the browser cache and saved cookies. Choose from all objects or those associated with a given domain.
– Choose direct links to W3C specification references, the Internet Explorer team weblog (blog), and other resources.
– Display a fully featured design ruler to help accurately align and measure objects on your pages.

So You Want to Develop Custom Workflows in Visual Studio… – The Blog Series

Tuesday, December 5th, 2006

The SharePoint Team has finished the blog series about developing custom workflows. You should read the series before getting started with building workflows for SharePoint in Visual Studio.

"So You Want to Develop Custom Workflows in Visual Studio…" – The Blog Series

Developing Workflows in VS: Part 1 – Workflow Objects and A Crash Course on Mechanics

Developing Workflows in VS: Part 2 – Planning Your Workflow: Two Things to Keep in Mind

Developing Workflows in VS: Part 3 – Five Steps for Developing Your Workflow

Developing Workflows in VS: Part 4 – Design and Bind Your Forms

Developing Workflows in VS: Part 5 – Code Your Workflow

Developing Workflows in VS: Part 6 – Deploy and Debug your workflow

Developing Workflows in VS: Part 7 – Summary and Final Thoughts