Skip to main content
Version: 8.1

system.perspective.getProjectInfo

New in 8.1.4

This function is used in Python Scripting.

Description​

Returns a dictionary of meta data from a Perspective Project. Exact fields are as follows:

KeyValue
nameThe name of the project.
titleThe project title.
descriptionThe project description.
lastModifiedDate the project was last modified.
lastModifiedByUsername that last modified the project.
viewsAn array with path key for each view in the project.
pageConfigsAn array of objects describing the project's configured pages. Each page configuration object will have two properties: url, and primaryView.

For additional information, refer to Project Settings.

Syntax​

system.perspective.getProjectInfo()

Parameters​

None

Returns​

Dictionary [String, Any] - A dictionary of project meta data. See the table in the description for a listing of keys.

Scope​

Perspective Session

Code Examples​

Code Snippet
# This example will print out attributes of a project in the browser console.
system.perspective.print(system.perspective.getProjectInfo())