Skip to content

getUrl

The getUrl method returns the URL of the current report.

Syntax

getUrl (includeQueryString)

Arguments

includeQueryString : boolean

Specify if the currently selected members are to be appended to the query string.

Default value: false

Return

This function returns the URL as a string.

Examples

//
// Example 1 - Retrieve the URL for the report
//
var url = report.api.getUrl(); 


//
// Example 1 - Retrieve the URL for the report with the query string
//
var url = report.api.getUrl(true);
Back to top