Search

User Manual

GETTING STARTED


MODULES AND PLATFORM


APPENDIX


TUTORIALS & HELPFUL TRICKS


GLOSSARY


STRATEGIC PARTNER LINKS

Sepasoft - MES Modules
Cirrus Link - MQTT Modules

RESOURCES

Inductive University
Ignition Demo Project
Knowledge Base Articles
Forum
IA Support
SDK Documentation
SDK Examples

ALL MANUAL VERSIONS

Ignition 8
Ignition 7.9
Ignition 7.8

Deprecated Pages

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


New_in
Version8.0.4



Scripting_function



Panel
titleDescription

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.



Panel
titleSyntax

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

None

  • Scope

Perspective Session



Panel
titleCode Examples


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




Panel
titleKeywords

system perspective closePage, perspective.closePage