| Benjamin 的个人资料Applepark Ltd照片日志列表 | 帮助 |
Applepark LtdProject Server bloggers! 11月12日 Automatically setting the task Publish field to NoG&T (Gordons) with a slice and ice…. If you’re using assignments for team members, you’ll have noticed that completed assignments still appear on the My Tasks page, even when the resource has updated the task and the task is 100% complete. This causes confusion for resources, and consternation for clients in general. Completed assignments disappear after the pre-requisite number of days (30 by default), but still….. Typically the only way around this is to set the task Publish to No. This can be done by inserting the Publish field to No for tasks that are 100% complete within the project plan, but the problem with this is that it isn’t very automatic. The best you can get is to use the fill handle to drag the field down….. So, I wrote some VBA to set this automatically. Basically, if the Task Percent Complete = 100% then the Publish field is set to No. Some of my customers don’t want to publish all tasks too far ahead (for reasons I won’t go into here), so I’ve only set the field to No if 100% complete, and not Yes if <> 100%. Note that for tasks with multiple assignments, an assignment could be 100% complete, though the task could still be <> 100%, and there isn’t much we can do about it. Here’s the VBA, it comes with no warranties. You’ll either need to run the macro, or automate it using one of the events (change, calculate, save etc…) – I’ll leave you to figure that one out. If you use it anywhere and you make some £ out of it, donate some to charity will you? Today is 11/11/09 (Remberance Sunday in the UK) and there are plenty of people who gave their lives to help us, so do what you can. Sub SetPublishField() ' 091111 - Ben Howard - Copyright. ' Sets the task Publish field to No if the % complete of the TASK is set to 100, otherwise, leaves it as previously set, Dim Temp As Long Dim Tsk As Task For Each Tsk In ActiveProject.Tasks ' check to see if a task exists If Not Tsk Is Nothing Then ' check to see if the task is external or a summary If Not (Tsk.ExternalTask Or Tsk.Summary) Then If Tsk.PercentComplete = 100 Then Tsk.IsPublished = False End If End If End If Next Tsk End Sub Thanks to Jack Dahlgren and Rod Gill for their on-line and book help – okay so this took me less than 30 mins to prove the concept, but it would have taken a lot longer without their posts or books.
9月23日 Moving SQL Servers<Tea> Over the summer I spent a couple of weeks in Mallorca on holiday, and whilst there prep’d up moving SQL servers (who needs a holiday when you work for yourself!). Prepping all this was because one of my customers wanted to migrate all of their Project Server data (and associated WSS data) to a new SQL server. This was primarily for support issues, but would hopefully have an additional performance benefit. Binging (who needs google anymore, bing appears to have caught up – will I have to pay for advertising with MS too?) moving project server databases gave a couple of technet articles – one for moving the four project databases to a new farm (http://technet.microsoft.com/en-us/library/dd857479.aspx )and one for moving all the WSS databases (oh and another for moving all MOSS databases). None of them really worked for what I wanted, instead I collaborated with a certain Mr Smith and used standard sharepoint tools to move everything. It took a few attempts (thank goodness for virtual machines, even in a prodn environment), but I got there. In this case there were 3 Project Server instances. Additionally I worked out how to move all the WSS content from one instance to another – okay, you WSS guys already know that, but it was new(ish) to me. If you need to do something similar, preparation is key, as is a DR plan if it all goes pear shaped, and that can be caused by something as simple as a typo! If you need more info, drop me a line… Enjoy… 9月16日 Project and Project Server 2010<just coffee> So here I am, sitting Pheonix, AZ at the Project Conference 2010. I’ve been working with Project 2010 for a while now, but under NDA, so I’ve not been able to blog about it, but as I type, it’s being demo’d publically for the 1st time, so the NDA has been “lifted”. You’ll see a tonne of blogs soon, both from MS and the rest of the bloggers, but he’s one of my favourite features regarding Project Server 2010. The scenario is that my Project Manager is due to go on holiday, but during that time progress on the project isn’t going to stop, so someone still needs to update the project, publish it, and generate reports from it. In PS2007 and previous versions this wasn’t as easy as it should have been and required a lengthy process which was time consuming, especially if there were many projects involved. Microsoft have listened to this feedback and created a feature called “Delegation”, which allows the PM to delegate their role to another “trusted” user, who then inherits the PMs rights for a period of time. This trusted user can then assume the PM role, and perform the updates, schedule changes and all the normal PM tasks! Neat eh? More details (and screen shots no doubt) will follow. Enjoy…. Ben. 8月27日 Project Professional Crashes on connection to Project Server<Sauvignon Blanc Semillon> Several weeks ago a customer of mine was getting a fatal error with Project Professional 2007 when connecting to the server. This was only happening on a single machine, and the usual re-installs/repairs didn’t fix a thing. It so happened that the security settings where set to Very High (tools|macro|security), and resetting this to Medium resolved the problem. Thanks to Corrine – you know who you are – several hours well spent troubleshooting :) 7月20日 MVP<home made banana milkshake>
Just found out Microsoft have awarded me MVP (Most Valuable Professional) for Project - nice one!
Cheers, Ben. |
|
|||
|
|