irismaessen
03-20-2024Data Pipeline
JasmineC I've edited my earlier comment to update the link to the new documentation.
What I can't find on that page, and what I can't remember if it was there earlier, is that you can use
JSON.stringify(prism.activeDashboard.filters.$$items)
in the browser console to get the filters on the current dashboard. This will include a lot of information that is not strictly necessary but it will, of course, also include everything that is. I've usually been fine using the stringified filters directly, but in some cases (eg you have free text filters) it may be necessary to url-encode them.
I might also add that depending on the exact Sisense version, this does not interact nicely with PDF exports and/or Accordion dashboards so if you rely on those, test accordingly.