The following feature is new in Ignition version 8.1.4
Click here to check out the other new features
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.
title

The 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

Gateway, Perspective Session

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

system perspective getProjectInfo, perspective.getProjectInfo