Project 2007, Custom Fields, PSI

C

Chris

hi,
I created an enterprise text custom field for tasks.

Now, I want to add notes for any task (I want to use that field).
I wrote a small application that creates a new project with tasks and adds
notes for tasks. I am addidng notes like that:

ProjectWebSvc.ProjectDataSet.TaskCustomFieldsRow cfr =
ds.TaskCustomFields.NewTaskCustomFieldsRow();
cfr.CUSTOM_FIELD_UID = Guid.NewGuid();
cfr.PROJ_UID = <proj_uid of selected project>;
cfr.TASK_UID = <task_uid of the selectad task beloging to the project>;
byte cfType = (byte)PSLibrary.CustomField.Type.TEXT;
cfr.FIELD_TYPE_ENUM = cfType;
cfr.TEXT_VALUE = <notes for the task>
cfr.MD_PROP_ID = 188776449; //this is correct, it means the field no TEXT1
is used
ds.TaskCustomFields.AddTaskCustomFieldsRow(cfr);



everything works fine. the project has been created. I open it in MSP 2007
pro. It is still ok. I can see the project with its tasks. each task has
notes. I can close MSP2007 and reopen the project. it is OK.

the problem happens when I try to change the custom field value (change the
notes) in MSP2007. I can do that. I can save the project successfully as
well. BUT when I have opened that again in MSP2007 I CAN see only the tasks I
have changed the notes. Rest of the tasks just disappeared. Moreover, I
cannot edit the project because MSP2007 stops responding

whats the (s)hell is wrong???????
 
R

Rod Gill

If this is a repeatable problem in more than one project, then it may well
be a bug. I suggest you repost in the Beta news group so MS staff can
investigate..
 

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