PS.DraftProject object (ps.js)

Represents the draft version of a project, which is a published project that is checked out.

Applies to: Project Professional 2013 | Project Server 2013

In this article
Remarks
Members
REST resource endpoint

PS.DraftProject

Remarks

To check out a published project for editing, use the PublishedProject.CheckOut method.

Members

See the PS.Project object (ps.js) for inherited members that are not described in the following tables.

Methods

The DraftProject object has the following methods.

Method

Description

checkIn

initNonPropertiesFromJson

This member is reserved for internal use and is not intended to be used directly from your code.

initPropertiesFromJson

This member is reserved for internal use and is not intended to be used directly from your code.

loadExpandoFields

This member is reserved for internal use and is not intended to be used directly from your code.

publish

refreshLoad

This member is reserved for internal use and is not intended to be used directly from your code.

update

validate

Properties

The DraftProject object has the following properties.

Property

Description

assignments

calculateActualCosts

calculatesActualCosts

calendar

criticalSlackLimit

currencyCode

currencyDigits

currencyPosition

currencySymbol

currentDate

daysPerMonth

defaultEffortDriven

defaultEstimatedDuration

defaultFinishTime

defaultFixedCostAccrual

defaultOvertimeRate

defaultStandardRate

defaultStartTime

defaultTaskType

defaultWorkFormat

description

fieldValues

finishDate

fiscalYearStartMonth

honorConstraints

includeCustomFields

item

minutesPerDay

minutesPerWeek

moveActualIfLater

moveActualToStatus

moveRemainingIfEarlier

moveRemainingToStatus

multipleCriticalPaths

name

newTasksAreManual

numberFiscalYearFromStart

owner

projectResources

protectedActualsSynch

scheduledFromStart

showEstimatedDurations

splitInProgress

spreadActualCostsToStatus

spreadPercentCompleteToStatus

startDate

statusDate

taskLinks

tasks

trackingMode

weekStartDay

winprojVersion

REST resource endpoint

Endpoint URI structure

http://<sitecollection>/<site>/_api/ProjectServer/Projects('projectid')/Draft

HTTP requests

This resource supports the following HTTP commands:

MERGE syntax

MERGE http://<sitecollection>/<site>/_api/ProjectServer/Projects('projectid')/Draft

PUT syntax

PUT http://<sitecollection>/<site>/_api/ProjectServer/Projects('projectid')/Draft

See also

Reference

Microsoft.ProjectServer.Client.DraftProject