Showing posts with label Sub-projects. Show all posts
Showing posts with label Sub-projects. Show all posts

Implementing Program Support in Project Server 2010

Many organizations that have a more than average number of projects, usually are grouping projects into programs and portfolios. In this post and next one I will describe the best ways how to enable support of "Programs" in Project Server 2010 and how our products can help.

Out-of-the-box solution - Master Projects / Sub Projects

In Project Server by default there is no concept of "Program", but project sever supports the so called "master project" / "subproject" functionality. That means, that users can insert projects into one project (usually a "container" project) and that project can become master project and a "program".

This approach has multiple advantages and disadvantages (you can see everything in one place but the same time there are multiple challenges with edit / read-only, it is very hard to deal with projects that contain tens of subprojects).

Several blog posts:



You can search in Google /Bing for more information using the keywords "master project subproject project server 2010" and will find additional information.

Custom solution - Using Custom Fields

Another approach is to create one field with lookup table - Program Name and use it as selection / dropdown for selecting programs from that dropdown.

There is one big disadvantage of this approach - user needs to support content of that lookup table manually, but with small number of programs this works better and is a more "cleaner" solution.

FluentPro has 2 products that can help with this :


In this post, we will create overview for implementing this approach with help of one of our products - Lookup Manager, product that allows sync of custom lookup table with data from SharePoint list or any database.

We will create 1 lookup table and 2 fields:

Lookup table:

      Program

Fields:

  • IsProgram (Flag, project level)
  • Program (Text, project level, referencing Program lookup table).

we will add both fields (IsProgram and Program) to Project Information PDP.

As next step, we will configure installed Lookup Manager to read data from Reporting Database. We want to select all project names that are programs (have IsProgram set to 1 (Yes)) and add them to than lookup table.

1. Go to Site Actions -> View All site Content and click on the list"FluentPro Lookup Manager".

2. Go to Items -> New item -> SQL Data Source. That will open window where you need to define a sync rule.


3. Enter all information and press Save button. This will create a SharePoint job, and you can adjust schedule to work as you want.  Please use information from your project server configuration (server name, database name):



4. For this scenario, we will set it to work every 5 minutes - it means, system will query database every 5 minutes and if required will try to update lookup table with values.
- Go to Central Administration -> Monitoring -> Timer Jobs -> Review Timer Job Definitions.

- Find job with name: LookupSynchronizationJob/<pwaname>  and click on it
- Change schedule and click OK.


5. Let's create 2 projects that are programs: Program A and Program B (do not forget to set IsProgram field).

6. Wait for 5 minutes and start creation of new projects - and check values in dropdown for Program field:


That's it. If you do not create programs very often, you can set the job to run once a day or on any desired schedule.

Few more features of FluentPro Lookup Manager:

- Data can be synchronized from SQL Server as well as SharePoint data sources.
- We support multi-level lookup tables (data in source should use the separator for each element: Level1.Level2.Level3) Any number of hierarchy levels is supported and separator is configurable.
- Lookup Manager is not deleting elements, only adding new ones

In next post, we will describe how to implement support of programs using Autocomplete Manager.

Project Server 2010 : Working with Master Projects and Sub-projects from PWA programmaticaly

Project Server 2010 : Working with Master Projects and Sub-projects from PWA programmaticaly
Recently, we had one project that required ability to create master and insert multiple sub-projects from PWA.

Unfortunately, PSI in Project Server 2010 does not support this functionality at all (you can read more here: http://msdn.microsoft.com/en-us/library/ee767706.aspx )

So there are 2 options:
  • Manual insertion: Let user insert it in Project Pro. It can be problematic if we are talking about inserting let's say 35 sub-project
  • Automate it
Both scenarios require user to have Project Professional installed.

To eliminate any manual work and reduce the human factor, we've developed a solution that does this as listed below:
  1. When user click on a button on ribbon in PWA, window to capture user input for projects is shown;
  2. User input is captured and "normal" projects are created using PSI based on specific EPTs; Special metadata (set of project level custom fields with XML data) is updated to provide instructions for add-in to build a relationship.
  3. Master project automatically opens in Project Professional from PWA; Project Professional has add-in installed that using metadata inserts projects as sub projects, does save and publish for all projects. 
  4. Biggest problem for Project Pro add-ins  that try to automate operations is suppressing the different dialog windows from Project Pro so it is an automated process with minimum or no user interaction required.
Not ideal solution (dependency on Project Professional and cost of license) - but worked out for us to solve the problem.

If you have similar problem direct your developers to this post so they can follow the "flow" or contact us and we might be able to help you.