About Enterprise Custom Fields Methods

In Microsoft Office Project Server 2003, the PDS API provides a programmatic interface to editing the value lists for non-outline code enterprise custom fields (such as an enterprise project text field with an associated value list).

The new PDS methods EnterpriseCustomFields and EnterpriseCustomFieldsUpdate support value list enterprise fields. In addition, three related PDS methods are enhanced to support value list enterprise fields. These methods are ResourceCodeValues, ResourceCodeValuesUpdate, and ProjectCodeValues. In Microsoft Project 2002, these three methods explicitly excluded any enterprise custom field that had a value list.

Note ProjectCodeValuesUpdate does not support multi-value enterprise custom fields, since there are no project-level multi-value fields.

Improved Enterprise Custom Outline Code Editing Methods

In Microsoft Project 2002, editing custom fields was difficult—even via the PDS. Improvements in Project Server 2003 make this task easier. New methods in the PDS API make it easier to integrate the value lists for enterprise outline codes with other business systems, such as human resources or financial applications.

Currently the PDS supports adding, deleting, and updating individual values in an enterprise outline code. As you are developing custom solutions, you still may need to determine the business rules for how to transform the value list from another system into the value list for the enterprise field in Project Server. Now you can pass in a list of hierarchical values, and the PDS enterprise custom fields methods transforms that list into the correct form for an enterprise outline code value list.

Two new PDS methods, EnterpriseOutlineCodesHierarchical and EnterpriseOutlineCodeUpdate, provide a way to programmatically get and set the value lists for enterprise outline codes by passing in a list that defines the new value list.

The following list indicates new methods from Microsoft Project 2002.