Table of contents
TOC
Collapse the table of content
Expand the table of content

OutlineCode.FieldID Property (Project)

office 365 dev account|Last Updated: 6/12/2017
|
1 Contributor

Gets the identification number of the local outline code. Read-only PjCustomField.

Syntax

expression. FieldID

expression A variable that represents an OutlineCode object.

Remarks

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 do not 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|

© 2018 Microsoft