PS.ProjectContext constructor (ps.js)

Office 2013

Initializes a new instance of the client context for the specified Project Web App site.

Last modified: February 12, 2013

Applies to: Project Professional 2013 | Project Server 2013

var object = new PS.ProjectContext(url)

url

Type: String
The server-relative URL or absolute URL to the Project Web App instance (for example: /siteName/pwa/ or http://serverName/pwa/).

Type: PS.ProjectContext
The client context for the specified Project Web App site.

To get the context for the current site, you can use the current property instead of the constructor.

Show:
© 2015 Microsoft