Atoti UI reads aDocumentation Index
Fetch the complete documentation index at: https://docs.activeviam.com/llms.txt
Use this file to discover all available pages before exploring further.
filters parameter from the dashboard URL’s hash.
When present, the URL filters are merged into the loaded dashboard’s pinned filters and the dashboard opens marked as unsaved.
This is useful for sharing a dashboard with specific filter values applied, instead of saving a filtered copy.
What happens when the link is opened
- Filters in the URL replace any existing pinned filter on the same
(dimensionName, hierarchyName). If the URL contains multiple filters for the same hierarchy, all are applied. The cube combines them at query time. - The dashboard opens marked as unsaved. The recipient can save their own copy using File > Save as.
- If the
filtersparameter is missing or empty, the saved dashboard loads unchanged. - If the
filtersparameter is malformed, the dashboard loads without URL filters. A red banner notifies the recipient: “The filters from this link could not be applied. The dashboard is shown without them.” Diagnostic detail is written toconsole.warn.
URL format
Afilters URL parameter is added to the URL of a dashboard as follows:
Filter<"deserialized">[] through the following pipeline:
- Map
serializeFilterover the array to get aFilter<"serialized">[]. - Call
JSON.stringifyon the resulting array. - UTF-8 encode the JSON string with
TextEncoder. - gzip-compress the bytes using
CompressionStream("gzip")(orfflate’sgzipSyncin environments without native stream support). - Base64-encode the compressed bytes using
btoa, then convert to URL-safe form: replace+with-,/with_, and strip trailing=padding.
How to construct the URL
The following TypeScript function,encodeURLFilters, implements the encoding pipeline.
It accepts deserialized filters and returns the encoded string ready to append to a dashboard URL.
The snippet uses the browser’s native
CompressionStream
(Chrome 80+, Firefox 113+, Safari 16.4+). In Node.js or older browsers, swap
the compression block for fflate’s
gzipSync.