Skip to content

Overview

Concepts and Principles

Development

Overview

IDEs

API Explorer

Releases

Release Notes

TORO Integrate

Coder Studio

Coder Cloud

Bug Reports

Search

Widget Page Methods

Widget Page Methods are one-liners for parsing widgets and pages. To view the javadocs go here

These are the different ways of using the Widget Page methods:

Using Gloovy Step widget page method using gloovy step

Using Invoke Code Step widget page method using invoke step

Using Gloovy widget page method using gloovy step on coder

Using Invoke Code Step widget page method using invoke step on coder

1
2
3
4
5
// parse the page into string /report is prepended since pages are created under reports
def pageString = "/report/pathOfPage".page()

// retrieves the widget base on the widget name and parses it into string
def widgetString = "name-of-widget".widget()