Skip to content

getUrl

This function will return you the URL for the current report.

Syntax

getUrl (includeQueryString)

Arguments

includeQueryString

Appends the currently selected members to the query string

Default value: false

Return

The result of this function is 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);