ProjectViewTypes enumeration (JavaScript API for Office v1.1)

Specifies the types of views that the getSelectedViewAsync method can recognize.

Last modified: May 01, 2014

ProjectViewTypes={
    Gantt           : 1, 
    NetworkDiagram  : 2, 
    TaskDiagram     : 3, 
    TaskForm        : 4, 
    TaskSheet       : 5, 
    ResourceForm    : 6, 
    ResourceSheet   : 7, 
    ResourceGraph   : 8, 
    TeamPlanner     : 9, 
    TaskDetails     : 10, 
    TaskNameForm    : 11, 
    ResourceNames   : 12, 
    Calendar        : 13, 
    TaskUsage       : 14, 
    ResourceUsage   : 15, 
    Timeline        : 16
}

Member

Description

Gantt

The Gantt chart view.

NetworkDiagram

The Network Diagram view.

TaskDiagram

The Task Diagram view.

TaskForm

The Task form view.

TaskSheet

The Task Sheet view.

ResourceForm

The Resource Form view.

ResourceSheet

The Resource Sheet view.

ResourceForm

The Resource Form view.

ResourceGraph

The Resource Graph view.

TeamPlanner

The Team Planner view.

TaskDetails

The Task Details view.

TaskNameForm

The Task Name Form view.

ResourceNames

The Resource Names view.

Calendar

The Calendar view.

TaskUsage

The Task Usage view.

ResourceUsage

The Resource Usage view.

Timeline

The Timeline view.

The getSelectedViewAsync method returns the ProjectViewTypes constant value and name that corresponds to the active view.

Supported clients

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

Library

Project-15.js

Namespace

Office

Show:
© 2015 Microsoft