Skip to main content

Timesheet solutions in Project Server 2010 - #2 - the rest

In a previous post I talked about assumptions and the reality of data access and security when configuring a simple "hands off" timesheet solution in 2010, and some concerns around functionality that is made available to users by default.


The other areas of concern for me were:

3 - Limitations of creating projects from templates via PWA 
4 - curious behaviour of the auto-publish function when calculating Actual Cost  




So here's some more little tidbits of information that I hope may help...


Limitations of creating projects from templates via PWA(Project.CreateProjectFromTemplate method)


As part of my solution I wanted to allow a two phase project to be created, with Phase 2 tasks disabled when the project is produced to avoid these tasks being available via the Timesheet function without the need to work via MS Project.  Then I wanted the new phase tasks to be activated at a given point in the schedule ideally via PWA.


To do this I...
- Created a MSP template and saved it to the server with the apppropriate task structures, codes and with the deactivated tasks.
- Created an EPT with the new template as the default MSP template
- Created a Project Schedule view in PWA that included the Active and Publish fields for data management


At this point I created the plan in PWA via the EPT and guess what.  All the tasks were active.


(face/palm)


After a little digging I found that this was by-design operations as the PSI call for createProjectfromTemplate did not include any reference to the Active field.


Although not a disaster, the next finding kinda nailed me.  When I opened the plan for editing in PWA I could not edit either the Active or Publish fields, so at this point there was no mechanism to allow me to either deactivate or unpublish (sic) the tasks I want hidden from the timesheets.


My target process for htis was
- Project created in PWA
- Fill in fields via PWA PDP
- Publish
- users add tasks to timesheet

The process at this point became:

- Create project in PWA
- Complete fields via PWA PDPs
- Save and close
- open for edit in Pro

- Deactivate the phase 2 tasks
- users add tasks to timesheet


This process means that twice as many people as initially expected require MS Project and those users have to interface with two elements of the solution rather than one.


>>>> Fast forward one month >>>>>


Announcing the hotfix KB2596498 October 2011 CU for Project Server
QFE - 30887 - Creating a new project from a template ignores the Active task flag


This QFE would appear to be addressing the exact issue I have come across.  However I dont believe it is (yet) addressing the lack of edit on the Publish or Active fields via PWA, but I shall be testing shortly.


At this point I think my creation process can use PWA Only, and when moving to Phase 2 the user will need to use MSP to close down Phase 1 and activate Phase 2.... more to follow (again)




Curious behaviour of the auto-publish function when calculating Actual Cost   


Truth be told, I can't actually remember what this point related to.  However there are a few findings to chew over that are fresh in my mind having seen them yesterday.


Auto-approval "skipped for optimization"
the Rules Engine for approvals that allows autopublish only works when the plan is not locked for editing.  At this point if your rule runs to autopublish the task assignment to the plan, this will process to 20% in the queue and get the status "Skipped for optimisation".  to me the correct behaviour would be to enqueue this until the plan is available for editing, or cancel it if a subsequent record change came through to be saved.


I am still risk-assessing this, as I believe that if the task assignment is NOT resubmitted with more updates at a point when the plan is checked in, those actual hours on the specific update that was skipped for optimisation are lost/never processed to the plan, unless you open and publish via MSP (again, tbc).


Get >= August CU to use this function
So far I have seen multiple examples of this rule processing failing to auto-publish, except where august CU or greater is installed.






Things to consider when looking at a streamlined, minimum intervention Timesheet system:


- There is no circumventing the Build Team option to allow resources to see plans, but at least you can do this via PWA
- You MUST implement affective closedown processes for tasks and projects to streamline the Add Task menus
- You will probably need to do some ribbon customisation to lockdown some functions on the Timesheet and Task ribbons.
- If you want to work with deactivated tasks in your project template, get October 2011 CU for Project Server (to be tested)
- if you want auto-approval and auto-publish rule engine functions to work get SP1+August 2011 CU for Project Server at a minimum
- Dont expect to work with task level Publish and Active fields via PWA as these are read-only




good luck!


























Comments

Popular posts from this blog

SP2 released

Office Project Server 2007 Sp2 has now been released.  see the details here - http://blogs.msdn.com/chrisfie/archive/2009/04/28/announcing-service-pack-2-sp2-for-microsoft-project-2007-and-microsoft-project-server-2007.aspx .  see teh webcast here http://blogs.msdn.com/brismith/archive/2009/04/28/project-server-2007-service-pack-2-sp2-is-now-available.aspx Blogged with the Flock Browser

TPG Apps Highlights - Risk Matrix #projectonline #projectserver #risk

This post is the first of a series to highlight the apps available for Project Server and Project Online from the SharePoint store  ( https://store.office.com/search.aspx?productgroup=SharePoint&qu=tpg ) and direct via your local TPG office. The first of this series will look at the s imple plug-and-play apps that all users of Project Online can make use of quickly and easily.   T hese are: Risk Matrix  Milestone Trend Analysis (MTA) WBS Chart viewer Next we will focus on the challenge of  Resource Request Supply and Demand by demonstrating our more recent TeamLink and TeamManager apps. Team Manager App is a Resource Manager/Owner app for allocating resource supply to Projects and BAU activities and monitoring demands against commitments Team Link App is a PM tool for monitoring Project demands vs the supply provided by the Resource Managers  Finally I will highlight some of the benefits of our integration tools when used in the context of Project Online

Restoring PWA Site to another Web App in the same Farm

The scenario is this: SharePoint 2016 Farm with Project Server Two Web Apps Development UAT One PWA on Development Web App. I want to copy the PWA Site on Development web app to UAT to support a testing cycle. As far as I knew there were two options: 1) Content Database Restore and Attach Process would be backup your Dev Content Database, Restore to a new Content Database for QA, then mount the database on the appropriate web app and your off.... Problem:  Although you can do this with the -AssignNewDatabaseID switch in Powershell (to avoid two content db's having the same database id) the Site Collection (PWA) in the db still retains its SiteID which means there is a duplicate SiteID in the Configuration Database.  This stops the PWA site being created and alllocated correctly and becomes essentially orphaned. This method is only any good for MOVING not COPYING Back to the drawing board... 2) Backup-SPSite / Restore-SPSite I didn't believe this w