Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Use the OPEN_SHEET function to open planning sheet when a user runs a script. For example, add a button that lets users navigate from one planning sheet to another.
Syntax
The following syntax opens a planning sheet.
OPEN_SHEET(sheets.sheetLabel1)
Replace sheetLabel1 with the reference to the sheet you want to open.
Example
The following example opens the planning sheet named Planning 2.
OPEN_SHEET(sheets."Planning 2@3")
Configure a button to open a planning sheet
Open the planning item and create or edit an action parameter.
Set Type to Action.
Enter a name, such as Open Planning Sheet.
In Description, explain what the action does. For example, enter: Opens Planning Sheet 2 when the user selects the button.
Under Interface Options, set Interface Type to Button.
Select Enable Script.
Under Button Configuration, set Label to Open Planning Sheet 2.
Add an action, select the root scope, and enter the following formula script:
OPEN_SHEET(sheets."Planning 2@3")Save the button configuration, and then select Update.
When a user selects Open Planning Sheet 2, the planning item opens the specified planning sheet.