modules/dashboard-ui/dashboard-ui-core/src/main/webapp/js-api/dashbuilder-1.0.0.js
/*
 * Returns the URL to embed a given KPI (by code), for a given locale
 * kpi: Unique identifier of KPI
 * language: Language selector (i.e. 'en', 'es', 'ja')
 */
Returns the URL to embed a given KPI (by code), for a given locale
kpi: Unique identifier of KPI
language: Language selector
Returns the URL to embed a given KPI ( by code ) for a given locale kpi : Unique identifier of KPI language : Language selector
function dashbuilder_get_kpi_url(serverUrl, kpi, language) {
    url = serverUrl + '/kpi/show?kpi=' + kpi;
    if( language ){
        url += '&locale='+language;
    }
    return url;
}
function dashbuilder_get_kpi_url ( serverUrl , kpi , language ) { url = serverUrl + '/kpi/show?kpi=' + kpi ; if ( language ) { url += '&locale=' + language ; } return url ; }
Returns the URL to embed a given KPI (by code), for a given locale
 kpi: Unique identifier of KPI
 language: Language selector (i.e.
Returns the URL to embed a given KPI ( by code ) for a given locale kpi : Unique identifier of KPI language : Language selector ( i . e .