We're producing a proof of concept to integrate our web app using sisense.js and have come across an issue with the sisense.js script.
It's reproducible using the Simple Sisense JS Example here: https://support.sisense.com/hc/en-us/community/posts/360016758694-Simple-Sisense-JS-Example-Assemble-a-Dashboard-from-a-list-of-Widgets
I've modified dash_builder.html so the dashID is a fixed ID like so
var dashID = "whateverTheIDIs";// urlParams.substring(urlParams.indexOf('=') + 1);
I can then get the dashboard to load correctly in a browser using a URL like this:
Everything is good so far.
I can add the optional query components to the URL like so:
This still works fine.
If however I attempt to add optional fragment values to the URL, e.g.
sisense.js modifies the browser URL so it becomes
i.e. it's inserting a "/" character after the "#" character. This isn't a problem when using the simple dash_builder example but it does cause an issue when including the sisense.js script in our web app.
Is there a reason why sisense.js is inserting this "/" character or is it a bug?
We're using Sisense version 126.96.36.19934 I believe.
Please sign in to leave a comment.