L
lumar
I am writing a script to create a MSPP project (actually a .mpp file), apply
a template to it, set the values of some custom fields and finally publish
the project to MSPS.
Everything works, except for setting the values of 5 custom fields.
Actually 7 project (NOT task) custom fields are defined; 2 are text fields
(pjCustomResourceEnterpriseText1 and pjCustomResourceEnterpriseText2), the
remaining 5 are outlinecode fields (pjCustomResourceEnterpriseOutlineCode(1
to 5)).
I got the project summary task and applied the SetField method recursively
(on a list of fiels IDs); this method sets the value of the 2 text fields,
but does nothing in the remaining outlinecode fields.
I am sure I am passing it the correct field IDs because if I call the
CustomFieldGetName(fieldid) method I get the expected field name.
Am I forgetting anything?
Please help me, I have to complete this script before Friday.
Thanks in advance.
a template to it, set the values of some custom fields and finally publish
the project to MSPS.
Everything works, except for setting the values of 5 custom fields.
Actually 7 project (NOT task) custom fields are defined; 2 are text fields
(pjCustomResourceEnterpriseText1 and pjCustomResourceEnterpriseText2), the
remaining 5 are outlinecode fields (pjCustomResourceEnterpriseOutlineCode(1
to 5)).
I got the project summary task and applied the SetField method recursively
(on a list of fiels IDs); this method sets the value of the 2 text fields,
but does nothing in the remaining outlinecode fields.
I am sure I am passing it the correct field IDs because if I call the
CustomFieldGetName(fieldid) method I get the expected field name.
Am I forgetting anything?
Please help me, I have to complete this script before Friday.
Thanks in advance.