TechEd 2007 - Sample 1

This year at TechEd I'm delivering the following session:

 

While giving this session I’ve added in the following code demos:

Demo

Description

From SDK?

PPSI General

Looking at what is available through the PPSI

Yes

PSI General

Creating and updating a project

No

PSI Dataset

Spelunking through the custom datasets

No

Events

A custom event handler

No

PWA Customization

A custom web part for PWA

Yes

 

It would be silly for me to post code for SDK samples. So I’ll leave finding them in the SDK as an exercise for the reader. BTW all my samples are designed to run against the Litware demo database included in the EPM VM.

In this post I’m putting the PSI General sample, CreateProject. The sample creates a project with some tasks, then publishes it. Finally it adds some enterprise resources to the project. As with all samples, the code is not production ready, is meant to illustrate concepts not necessarily best code practices, and should not be deployed as is or Mr Biggins will put you in the comfy chair.*** Most of the calls are standard faire for PSI, but some of the utility methods I put in may prove useful for your work. The C# project is attached in a zip file.

 

*** (Watch some Monty Python’s Flying Circus if you don’t understand the reference)

CreateProject.zip