getPageUrl()

Gets the full URL for a dashboard page.

Method Declaration

Copy

Parameters

NameTypeDescription
destinationDestinationURL destination details.

Destination Object

Copy
NameTypeDescription
pageIdstringID of the page to link to. Use the Page IDs table to find the appropriate ID.
relativeUrlstringOptional. URL segment to append to the base URL of the selected page. Can include path segments, a query string, and a fragment identifier.

Returns

Copy

The URL of a dashboard page with the provided relativeUrl value appended.

Examples

Note: To call this method in self-hosted apps, you need to create a client. See the setup guide for more details.

Get the URL of the dashboard's home page with a query string

Copy
Did this help?