Table of Contents

GetActivePage function


GetActivePage() : {Name : string, Id : string}

GetActivePage returns an object describing the currently active page.

Example

The following statement gets information about the currently active page, and checks whether or not the name equals "MyPage".

GetActivePage().Name == "MyPage";