codegirl.blog(this);

Christina A. Odom — Developing SharePoint Solutions

How to: Find your Project UID from Project Workspace Context

Posted on June 19, 2008 - Filed Under Code Girl, MOSS | 1 Comment

Insanely useful snippet if you’re creating Application Pages for project workspaces.  You will not find this property using SharePoint Manager 2007.  I was reflectoring around Project Server DLL’s and playing in the debugger when I found this late last year.  Kudos here for blogging it first!
Guid ProjectUID = new Guid(SPContext.Current.Web.AllProperties["MSPWAPROJUID"].ToString());

Read More..>>

What to do: UpdateProjectWorkspaceAddress Doesn’t Update URL in the RDB

Posted on June 18, 2008 - Filed Under Code Girl | Leave a Comment

Lets say you’re going through a couple of the MSDN articles and you wanted to Create a Project and Link it to a Project Workspace. Everything is fine and dandy until you run a report on the Reporting Database (RDB) that displays the workspace URL for all your projects. You don’t see the [...]

Read More..>>

What to do: All webparts appear as ErrorWebParts when using SPLimitedWebPartManager

Posted on June 10, 2008 - Filed Under Code Girl, MOSS | Leave a Comment

Say you’re customizing Project workspace provisionings (i.e. I need to set some webpart properties when a workspace is created for a project.)  So naturally you use SPLimitedWebPartManager and iterate through the webparts on your target page(s).  Everything is going fine and about 10 weeks down the line your custom provisioning isn’t working.  Nothing is getting [...]

Read More..>>