You're currently browsing the Ignition 8.0 docs. Click here to view the latest docs.

The following feature is new in Ignition version 8.0.4
Click here to check out the other new features
This function is used in Python Scripting.


Closes the page with the given page id or the current page if no page id is provided. If a message is provided, it is displayed on the page when the page closes. Otherwise the default message (set in the Project Properties) is displayed.


system.perspective.closePage([message], [sessionId], [pageID])

  • Parameters

String message - The message to display when the page closes. If omitted, the default message (set in the Project Properties) is shown. [optional]

String sessionId-  Identifier of the Session to target. If omitted, the current Session will be used automatically. When targeting a different session, then the pageId parameter must be included in the call. [optional]]

String pageId - Identifier of the page to be closed. If omitted, the current pageId is used. [optional]

  • Returns


  • Scope

Perspective Session

Code Examples
Code Snippet
# Closes the page with the given pageId.
system.perspective.closePage('Your page has been closed.')

system perspective closePage, perspective.closePage

  • No labels