ndashUrl

ndashUrl, function

def const pure ndashUrl(project: number): text

Returns a URL that opens the latest dashboard of the script identified by project in the new dashboard viewer.

Examples

const destination = ndashUrl(10000)
show button "Open replenishment dashboard" { href: #(destination) }

The button opens the latest dashboard of script 10000 in the new viewer. Replace 10000 with the identifier of the target script in the account.

Remarks

This function supports const expressions. The link targets the latest dashboard when opened, rather than a fixed run. Opening it requires access to the target script in a Lokad account.

See also