system.perspective.getProjectInfo
This function is used in Python Scripting.
Descriptionβ
Returns a dictionary of meta data from a Perspective Project. Exact fields are as follows:
| Key | Value |
|---|---|
| name | The name of the project. |
| title | The project title. |
| description | The project description. |
| lastModified | Date the project was last modified. |
| lastModifiedBy | Username that last modified the project. |
| views | An array with path key for each view in the project. |
| pageConfigs | An 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())