title | ms.service | api_name | ms.assetid | ms.date | ms.localizationpriority | |
---|---|---|---|---|---|---|
OutlineCode.FieldID property (Project) |
project-server |
|
eea0a697-08f9-c4f5-358a-6b90bd08271e |
06/08/2017 |
medium |
Gets the identification number of the local outline code. Read-only PjCustomField.
expression. FieldID
expression A variable that represents an OutlineCode object.
To get the ID of an enterprise text custom field, use the FieldNameToFieldConstant method.
Note
In Office Project 2007 and later versions, the enterprise constants in PjCustomField don't apply. Project Server can have an unlimited number of enterprise text custom fields that use a hierarchical lookup table. For usability and performance reasons, the number of enterprise custom fields should be limited to a few hundred or less.
You can access project outline codes and custom fields through the project summary task, which is Task(0)
. For a task outline code, the FieldID can be one of the following PjCustomField constants:
pjCustomTaskOutlineCode1 |
pjCustomTaskOutlineCode2 |
pjCustomTaskOutlineCode3 |
pjCustomTaskOutlineCode4 |
pjCustomTaskOutlineCode5 |
pjCustomTaskOutlineCode6 |
pjCustomTaskOutlineCode7 |
pjCustomTaskOutlineCode8 |
pjCustomTaskOutlineCode9 |
pjCustomTaskOutlineCode10 |
For a resource outline code, the FieldID can be one of the following PjCustomField constants:
pjCustomResourceOutlineCode1 |
pjCustomResourceOutlineCode2 |
pjCustomResourceOutlineCode3 |
pjCustomResourceOutlineCode4 |
pjCustomResourceOutlineCode5 |
pjCustomResourceOutlineCode6 |
pjCustomResourceOutlineCode7 |
pjCustomResourceOutlineCode8 |
pjCustomResourceOutlineCode9 |
pjCustomResourceOutlineCode10 |
[!includeSupport and feedback]