def pure sliceUrl(slice: ordinal): text
def pure sliceUrl(slice: ordinal, tab: text): text
Returns a URL pointing to a specific slice (and optional tab) of the dashboard
produced by the current run.
slice: slice identifier from the Slices table.
tab: tab name to open when the URL is visited.
Example
table T[t] = with
[| as Product, as Color |]
[| "Pant", "Blue" |]
[| "Cap", "Red" |]
[| "T-shirt", "White" |]
table Slices[slice] = slice by t title: T.Product
show table "One slice at a time" slices: slice with
T.Product
T.Color
show table "Slice links" with
T.Product { href: #[sliceUrl(T.slice)] }
"\{T.Product} (color)" { href: #[sliceUrl(T.slice, "Color")] }
Remarks
This function cannot be called on try.lokad.com.
To link to slices in another dashboard, use
sliceSearchUrl.