Enterprise Custom Fields on Project Level

G

Gene Berger

New PS programmer here.

From the PSI using Visual Studio 2005, I need to update Enterprise Custom Fields on a project.

The Enterprise Custom Fields:

Entity - Project
Type - Text
Required - No
Formula - No
Graphical - No
Lookup Table - LkupTableName (whatEver)

Can someone point me in the right direction?

Thanks,
Gene Berger
 
Y

Yaron

You suppose to perform ReadProject
After that you need to get into the table: ProjectCustomFields
And add new row.
fill it with the appropiate values (the custom field UID, project uid..)
And depending custom field entity fill it's value
in your example if it's TEXT you should put the text value in TEXT_VALUE
column.

If it's a lookup you should read the relevant lookup ..and find the
CODE_VALUE of wanted value.
and then set it in the CODE_VALUE field in the ProjectCustomField.
 

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