PDS Task Update - Please help!

G

G u n n a r

In the PDS help, there are:
- ProjecCreate Method
- ProjectTaskCreate Method

However, how can you update a Project (f.ex. the name) or update a Task?
Is it even possable?!?

Many thanks!!
 
E

Ed Morrison

The source code for the Project Renamer utility is in the Project Server
SDK. I believe it creates a PDS extension.
 
C

Cory K. Walker

There is a project renaming tool you can download from the MS download site.
If you need to do this on a massive scale (say 1000 updates), then I'm not
sure how to solve this.

You can update only a subset of project attributes through the PDS. For
example, updating the project's custom enterprise fields can be accomplished
with the ProjectCodeValuesUpdate method, while updating the project start
date can only be done using MSP 2003 or with a SQL script.

Updating tasks can not be done with the PDS.
 
G

G u n n a r

I understand that updating tasks can NOT be done with the standard PDS.

However, is it possable to do it by adding to the PDS (PDS Extender) on a
SQL level? Would there be problems with the Project Check-In/Check-Out?

What is the best way of updating a Project/Task on a code level? (Im aware
of the Project Renamer Utility).

Many thanks in advance!!
 
E

Ed Morrison

It depends on what fields you want to modify. If you are changing fields
that can/should result in a calculation, such as duration, resources, start,
finish, work, % complete, actuals, etc., then you are best served by using
the Project object model. This way the project plan is recalculated
correctly.

If you are not sure if a field results in a calculation, add the
Project_Calculate event to a projects code. Put a break point on it.
Change a field. If you hit the break point then use the Project object to
manipulate this field because it has the potential to change your entire
project plan.

If the fields do not result in the calculation event, you can create a PDS
extension or modify the SQL tables directly. Just remember that there are
two parts of the table you must consider, the msp_ tables where project
saves the project plan and the msp_view tables where the plan is published.

--
Ed Morrison
msProjectExperts
"We wrote the books on Project Server"
http://www.msprojectexperts.com
FAQ - http://www.projectserverexperts.com
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top