ContributionsMost RecentNewest TopicsMost LikesSolutionsRe: Access url parameter from sisense script The simplest JavaScript method to extract query parameters from the URL is: /* If the URL has the query parameter ?myparam=123 */ const myParam = new URL(location.href).searchParams.get('myparam'); // myParam = '123' You can use this in the dashboard script, however keep in mind that if this is needed across multiple dashboards or all dashboards, it would be better to implement as an Add-on to make maintenance easier (one shared add-on is easier to modify than multiple copies of the same dashboard script) Re: Extracting Data from Widgets Hi mshevelson, you can safely use the JAQL API. There's a small mistake in that community post, the API endpoint you're looking for is: /api/datasources/{datasource}/jaql You can see the correct URL referenced in the code sample included in the community post. Here's an example of what that URL would look like with the "Sample Healthcare" sample data model: https://example.com/api/datasources/Sample%20Healthcare/jaql You can find the API reference for this endpoint here.
GroupsSisense Design Partners This exclusive group is dedicated to bringing together customers and product experts to share feedback, explore new ideas, and shape the future of Sisense.0 Posts
Sisense Design Partners This exclusive group is dedicated to bringing together customers and product experts to share feedback, explore new ideas, and shape the future of Sisense.0 Posts