EPMFAQ Forums - Connect with the EPM Community  

Go Back   EPMFAQ Forums - Connect with the EPM Community > Microsoft Project Forums > Project 2007 Development


Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 08-29-2008, 11:51 AM
Junior Member
 
Join Date: Aug 2008
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Question Creating a custom field

Hello all.

I have this application that will create a project in project server 2007.
While I've been able to create the project, I want to add custom fields to
the project. So, I think that by calling
ProjectDataSet.ProjectCustomFields.NewProjectCusto mFieldsRow for creating a
row, and then AddProjectCustomFieldsRow it would be enough.

However, I'm not quite sure how to fill the row's data. I'm not sure what to
put in ProjectcustomFieldsRow.CUSTOM_FIELD_UID, CODE_VALUE, TEXT_VALUE,
MD_PROP_ID, etc.

Would anybody please guide me on what should I put in this properties? I've
been googling for hours and though I've found examples they do not explain
what those fields are for.

By the way, the project server is configured so that these fields actually
show (empty) even if I do not add the custom fields, so now I'm wondering
whether I should AddProjectCustomFieldsRow or simply modify them. If so, how
could I know which row belongs to which custom field?

Thanks in advance.








Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored links
  #2 (permalink)  
Old 09-15-2008, 08:39 AM
ssanderlin's Avatar
EPMFAQ Founder/Owner
 
Join Date: Feb 2008
Location: Quakertown, PA
Posts: 161
Thanks: 0
Thanked 13 Times in 13 Posts
Default

Quote:
Originally Posted by kithkanan View Post
Hello all.

I have this application that will create a project in project server 2007.
While I've been able to create the project, I want to add custom fields to
the project. So, I think that by calling
ProjectDataSet.ProjectCustomFields.NewProjectCusto mFieldsRow for creating a
row, and then AddProjectCustomFieldsRow it would be enough.

However, I'm not quite sure how to fill the row's data. I'm not sure what to
put in ProjectcustomFieldsRow.CUSTOM_FIELD_UID, CODE_VALUE, TEXT_VALUE,
MD_PROP_ID, etc.

Would anybody please guide me on what should I put in this properties? I've
been googling for hours and though I've found examples they do not explain
what those fields are for.

By the way, the project server is configured so that these fields actually
show (empty) even if I do not add the custom fields, so now I'm wondering
whether I should AddProjectCustomFieldsRow or simply modify them. If so, how
could I know which row belongs to which custom field?

Thanks in advance.
Hey -- welcome!

Take a look at Brian Smith's Project Support WebLog : Setting custom field values using the PSI
__________________
Stephen Sanderlin
Founder/Owner - EPMFAQ
Principal Consultant - MSProjectExperts

If you found this message useful, please click the Thanks button in the post!

This electronic message, along with any information, advice, and opinions it contains, are mine alone and are not representative of my employer. All information is provided in "GOOD FAITH" and on an "AS IS" basis only. I provide no presentations or warranties, express or implied, including implied warranties of fitness for a particular purpose, merchantability, title, and noninfringement. I strongly advise you to extensively test any changes, workarounds, or techniques described herein on a development system prior to implementation in a production environment, and you are hereby notified that I bear no responsibility whatsoever for any loss, harm, or otherwise negative outcomes resulting from your actions, whether or not said actions were a result of this electronic message, directly or indirectly.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Tags
custom field

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT -4. The time now is 04:57 PM.


Powered by: vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.2.0
Ad Management by RedTyger

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24