This topic has not yet been rated - Rate this topic

ProjectTaskFields enumeration (JavaScript API for Office v1.1)

JavaScript API for Office v1.1

Specifies the task fields that are available as a parameter for the getTaskFieldAsync method.

Last modified: February 26, 2014

Microsoft.Office.WebExtension.ProjectTaskFields={
    ActualCost: 0,
    ActualDuration: 1,
    ActualFinish: 2,
    ActualOvertimeCost: 3,
    ActualOvertimeWork: 4,
    ActualStart: 5,
    ActualWork: 6,
    Text1: 7,
    Text10: 8,
    Finish10: 9,
    Start10: 10,
    Text11: 11,
    Text12: 12,
    Text13: 13,
    Text14: 14,
    Text15: 15,
    Text16: 16,
    Text17: 17,
    Text18: 18,
    Text19: 19,
    Finish1: 20,
    Start1: 21,
    Text2: 22,
    Text20: 23,
    Text21: 24,
    Text22: 25,
    Text23: 26,
    Text24: 27,
    Text25: 28,
    Text26: 29,
    Text27: 30,
    Text28: 31,
    Text29: 32,
    Finish2: 33,
    Start2: 34,
    Text3: 35,
    Text30: 36,
    Finish3: 37,
    Start3: 38,
    Text4: 39,
    Finish4: 40,
    Start4: 41,
    Text5: 42,
    Finish5: 43,
    Start5: 44,
    Text6: 45,
    Finish6: 46,
    Start6: 47,
    Text7: 48,
    Finish7: 49,
    Start7: 50,
    Text8: 51,
    Finish8: 52,
    Start8: 53,
    Text9: 54,
    Finish9: 55,
    Start9: 56,
    Baseline10BudgetCost: 57,
    Baseline10BudgetWork: 58,
    Baseline10Cost: 59,
    Baseline10Duration: 60,
    Baseline10Finish: 61,
    Baseline10FixedCost: 62,
    Baseline10FixedCostAccrual: 63,
    Baseline10Start: 64,
    Baseline10Work: 65,
    Baseline1BudgetCost: 66,
    Baseline1BudgetWork: 67,
    Baseline1Cost: 68,
    Baseline1Duration: 69,
    Baseline1Finish: 70,
    Baseline1FixedCost: 71,
    Baseline1FixedCostAccrual: 72,
    Baseline1Start: 73,
    Baseline1Work: 74,
    Baseline2BudgetCost: 75,
    Baseline2BudgetWork: 76,
    Baseline2Cost: 77,
    Baseline2Duration: 78,
    Baseline2Finish: 79,
    Baseline2FixedCost: 80,
    Baseline2FixedCostAccrual: 81,
    Baseline2Start: 82,
    Baseline2Work: 83,
    Baseline3BudgetCost: 84,
    Baseline3BudgetWork: 85,
    Baseline3Cost: 86,
    Baseline3Duration: 87,
    Baseline3Finish: 88,
    Baseline3FixedCost: 89,
    Baseline3FixedCostAccrual: 90,
    Basline3Start: 91,
    Baseline3Work: 92,
    Baseline4BudgetCost: 93,
    Baseline4BudgetWork: 94,
    Baseline4Cost: 95,
    Baseline4Duration: 96,
    Baseline4Finish: 97,
    Baseline4FixedCost: 98,
    Baseline4FixedCostAccrual: 99,
    Baseline4Start: 100,
    Baseline4Work: 101,
    Baseline5BudgetCost: 102,
    Baseline5BudgetWork: 103,
    Baseline5Cost: 104,
    Baseline5Duration: 105,
    Baseline5Finish: 106,
    Baseline5FixedCost: 107,
    Baseline5FixedCostAccrual: 108,
    Baseline5Start: 109,
    Baseline5Work: 110,
    Baseline6BudgetCost: 111,
    Baseline6BudgetWork: 112,
    Baseline6Cost: 113,
    Baseline6Duration: 114,
    Baseline6Finish: 115,
    Baseline6FixedCost: 116,
    Baseline6FixedCostAccrual: 117,
    Baseline6Start: 118,
    Baseline6Work: 119,
    Baseline7BudgetCost: 120,
    Baseline7BudgetWork: 121,
    Baseline7Cost: 122,
    Baseline7Duration: 123,
    Baseline7Finish: 124,
    Baseline7FixedCost: 125,
    Baseline7FixedCostAccrual: 126,
    Baseline7Start: 127,
    Baseline7Work: 128,
    Baseline8BudgetCost: 129,
    Baseline8BudgetWork: 130,
    Baseline8Cost: 131,
    Baseline8Duration: 132,
    Baseline8Finish: 133,
    Baseline8FixedCost: 134,
    Baseline8FixedCostAccrual: 135,
    Baseline8Start: 136,
    Baseline8Work: 137,
    Baseline9BudgetCost: 138,
    Baseline9BudgetWork: 139,
    Baseline9Cost: 140,
    Baseline9Duration: 141,
    Baseline9Finish: 142,
    Baseline9FixedCost: 143,
    Baseline9FixedCostAccrual: 144,
    Baseline9Start: 145,
    Baseline9Work: 146,
    BaselineBudgetCost: 147,
    BaselineBudgetWork: 148,
    BaselineCost: 149,
    BaselineDuration: 150,
    BaselineFinish: 151,
    BaselineFixedCost: 152,
    BaselineFixedCostAccrual: 153,
    BaselineStart: 154,
    BaselineWork: 155,
    BudgetCost: 156,
    BudgetWork: 157,
    TaskCalendarGUID: 158,
    ConstraintDate: 159,
    ConstraintType: 160,
    Cost1: 161,
    Cost10: 162,
    Cost2: 163,
    Cost3: 164,
    Cost4: 165,
    Cost5: 166,
    Cost6: 167,
    Cost7: 168,
    Cost8: 169,
    Cost9: 170,
    Date1: 171,
    Date10: 172,
    Date2: 173,
    Date3: 174,
    Date4: 175,
    Date5: 176,
    Date6: 177,
    Date7: 178,
    Date8: 179,
    Date9: 180,
    Deadline: 181,
    Duration1: 182,
    Duration10: 183,
    Duration2: 184,
    Duration3: 185,
    Duration4: 186,
    Duration5: 187,
    Duration6: 188,
    Duration7: 189,
    Duration8: 190,
    Duration9: 191,
    Duration: 192,
    EarnedValueMethod: 193,
    FinishSlack: 194,
    FixedCost: 195,
    FixedCostAccrual: 196,
    Flag10: 197,
    Flag1: 198,
    Flag11: 199,
    Flag12: 200,
    Flag13: 201,
    Flag14: 202,
    Flag15: 203,
    Flag16: 204,
    Flag17: 205,
    Flag18: 206,
    Flag19: 207,
    Flag2: 208,
    Flag20: 209,
    Flag3: 210,
    Flag4: 211,
    Flag5: 212,
    Flag6: 213,
    Flag7: 214,
    Flag8: 215,
    Flag9: 216,
    FreeSlack: 217,
    HasRollupSubTasks: 218,
    ID: 219,
    Name: 220,
    Notes: 221,
    Number1: 222,
    Number10: 223,
    Number11: 224,
    Number12: 225,
    Number13: 226,
    Number14: 227,
    Number15: 228,
    Number16: 229,
    Number17: 230,
    Number18: 231,
    Number19: 232,
    Number2: 233,
    Number20: 234,
    Number3: 235,
    Number4: 236,
    Number5: 237,
    Number6: 238,
    Number7: 239,
    Number8: 240,
    Number9: 241,
    ScheduledDuration: 242,
    ScheduledFinish: 243,
    ScheduledStart: 244,
    OutlineLevel: 245,
    OvertimeCost: 246,
    OvertimeWork: 247,
    PercentComplete: 248,
    PercentWorkComplete: 249,
    Predecessors: 250,
    PreleveledFinish: 251,
    PreleveledStart: 252,
    Priority: 253,
    Active: 254,
    Critical: 255,
    Milestone: 256,
    Overallocated: 257,
    IsRollup: 258,
    Summary: 259,
    RegularWork: 260,
    RemainingCost: 261,
    RemainingDuration: 262,
    RemainingOvertimeCost: 263,
    RemainingWork: 264,
    ResourceNames: 265,
    ResourceNames: 266,
    Cost: 267,
    Finish: 268,
    Start: 269,
    Work: 270,
    StartSlack: 271,
    Status: 272,
    Successors: 273,
    StatusManager: 274,
    TotalSlack: 275,
    TaskGUID: 276,
    Type: 277,
    WBS: 278,
    WBSPREDECESSORS: 279,
    WBSSUCCESSORS: 280,
    WSSID: 281
}

For an explanation of the task fields, see the properties of the Task object in VBA Help. The following table describes a few of the constants in the ProjectTaskFields enumeration.

Member

Description

BaselineCost

The baseline cost for a task.

Duration

The task duration, for example 2d means two days.

Finish

The task finish date.

ID

The index of the selected task. After the project summary task, the index of the first task in a project is 1.

Milestone

Indicates whether the task is a milestone.

Name

The name of the task.

Notes

The text value of the task notes.

Priority

The priority of the task, with values from 0 (low) to 1000 (high). The default priority value is 500.

Start

The task start date.

Summary

Indicates whether the task is a summary task.

TaskGUID

The GUID of the task, for a project that is stored in Project Server.

Text1

The value of the local Text1 custom field for the task.

Type

Specifies the way the task is calculated; that is, which one of units, duration, or work are fixed.

WSSID

The identification number of the task in a SharePoint list, for a project that is synchronized with a SharePoint tasks list.

A ProjectTaskFields constant can be used as a parameter of the getTaskFieldAsync method.

Supported clients

Project Standard 2013, Project Professional 2013, and Project 2013 SP1

Library

Project-15.js

Namespace

Office

For more information about working with fields in Project, see the Available fields reference. In Project Help, search for Available fields.

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.