View Full Version : How to set the value of a project custom field?


Segrest
06-27-2007, 04:20 PM
Hello Everyone,

I am working on a Project Server 2007 effort that includes programmatically
creating projects.

I'm using the CreateProjectFromTemplate method to create the project without
any difficulty, but I also need to set a couple of enterprise project custom
field values during this process.

The project custom fields have already been defined on the project server.
All I need to do is set the values for the new project being created.

Can anyone point me to an example of how this might be done?

Bob

Vadim Gerya
06-27-2007, 11:02 PM
Please search help for FieldNameToFieldConstant() method
--
Vadim Gerya, PMP


"Segrest" wrote:

> Hello Everyone,
>
> I am working on a Project Server 2007 effort that includes programmatically
> creating projects.
>
> I'm using the CreateProjectFromTemplate method to create the project without
> any difficulty, but I also need to set a couple of enterprise project custom
> field values during this process.
>
> The project custom fields have already been defined on the project server.
> All I need to do is set the values for the new project being created.
>
> Can anyone point me to an example of how this might be done?
>
> Bob
>
>

Segrest
06-27-2007, 11:56 PM
Hello Vdim,

Thank you for your suggestion!

I was not aware of this feture and I am sre it will prove valuable on a
future project.

However, in this case I m looking specificaly for a soluton that will run
iin the Project Server 2007 environment rather than with the Project
Professionnal client. While will investigate further, I believe that your
suggesion is only applicable in to VBA and the client.

Bob