MpFx Walkthrough: Creating the ProjectServer Object & Enumerating Project Information

I am taking a little break from my current project.  Whew. Only such much you can cram into your brain about SharePoint in one unbroken period of time. Today’s topic starts at the beginning of mpFx:  How to create a ProjectServer object.  I will also demonstrate enumerating project information.  The code sample and an update…

1

mpFx: Simon Demo

Simon from Australia needed an example of how to use mpFx to create projects, resources, tasks, and assignments.  Here it is: http://code.msdn.microsoft.com/Project/Download/FileDownload.aspx?ProjectName=mpFx&DownloadId=4636. Here is the source: 1: using System; 2: using System.Web.Services.Protocols; 3: using Mcs.Epm.MicrosoftProject.mpFx; 4: using Mcs.Epm.MicrosoftProject.mpFx.ProjectsWebService; 5: using Mcs.Epm.MicrosoftProject.mpFx.ResourcesWebService; 6: using Microsoft.Office.Project.Server.Library; 7: using DataStoreEnum=Mcs.Epm.MicrosoftProject.mpFx.ProjectsWebService.DataStoreEnum; 8: using Resource = Microsoft.Office.Project.Server.Library.Resource; 9:  10: namespace…

1

Learning SharePoint Part IV

I have learned so much in the past few days, I am not sure where to start.  So, here is tidbit to get started with: 1: <SharePoint:DelegateControl ID="DelegateControl5" runat="server" ControlId="SmallSearchInputBox" /> What is this thing called SharePoint:DelegateControl?  Well, it looks like it is the product group’s version of SmartPart.  Any control that is registered can…

1

Learning SharePoint – Part III

Except for a project I did last year, I haven’t done much ASP.NET development.  I have always been a back-end developer. Writing Windows services, utilities, ETL, security systems, others… So, while I am learning about SharePoint development, I am also learning a great deal about ASP.NET development in general.  This is very exciting for me…

0

mpFx 1.0 Preview Released to MSDN Code Gallery

The preview of mpFx 1.0 has been released to MSDN Code Gallery.  The tool I built to showcase some of the library’s functionality, mpFxClient, is installed along with the source.  Get it here. I want to be clear that this is a preview release.  None of the tools, plugins, or source code is supported by…

1

mpFx 1.0 Preview Release – Update II

Not that anybody is reading this, but I like to write 🙂 A while back, I reserved the .mpfx.org domain.    For now, I have it forwarding to colbyafrica.com.  Check it out here.  My personal website is hosted by Yahoo Small Business, which uses technology other than the Microsoft stack.  As you might imagine, I am…

0

mpFx 1.0 Preview Release: Update

I am working hard today to get mpFx ready for Code Gallery.  I might make it. I have work time scheduled for tomorrow but it is for Microsoft, not for my personal projects.  We will see how it goes this weekend. Here is a very cool tool called Doxygen that generates documentation. Here is a…

1

Learning SharePoint – Part II

I have made some serious progress since my last post.  I found this very handy extension method, which adds a TryGetValue to SPListItem. 1: // Credits: http://blog.mastykarz.nl/obtain-fields-values-splistitem/comment-page-1/#comment-11076 2: internal static bool TryGetValue<T>(this SPListItem listItem, string fieldName, out T value) 3: { 4: value = default(T); 5:  6: try 7: { 8: object candidate = listItem[fieldName];…

1

Learning SharePoint – Part I

I am on a special project that requires I do a deep dive into SharePoint and fast.  I told my director that I would be blogging as I learn, if only to force me to repeat everything I learn so it all sticks!   I have been using SharePoint since its inception and have done a…

0

Comments (in Code)

I love comments when they are appropriate and necessary.  I relish a good comment in a piece of code that does something really beautiful but is maybe complicated.  I love comments that help me understand the assumptions and design considerations that underpin a piece of code.  However…The best documentation is well written code.  Code that…

1