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:
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())