Open pritam251 opened 6 years ago
For November 2017 and versions above, prefix is not being identified properly
The current logic to determine the prefix is based on keyword '/sense' in the url. This should change to '/extensions'
Current: var prefix = window.location.pathname.substr(0, window.location.pathname.toLowerCase().lastIndexOf('/sense') + 1);
Should change to: var prefix = window.location.pathname.substr(0, window.location.pathname.toLowerCase().lastIndexOf('/extensions') + 1);
The prefix should be identified properly as expected
Chrome
All OS
[ ] Windows [ ] OSX [ ] Linux
All
[ ] Desktop [ ] Enterprise
[ ] Chrome [ ] Firefox [ ] Internet Explorer [ ] Edge [ ] Others: XXX
I forgot to mention that this happens only in mashups.
Description
For November 2017 and versions above, prefix is not being identified properly
Steps to Reproduce
The current logic to determine the prefix is based on keyword '/sense' in the url. This should change to '/extensions'
Current: var prefix = window.location.pathname.substr(0, window.location.pathname.toLowerCase().lastIndexOf('/sense') + 1);
Should change to: var prefix = window.location.pathname.substr(0, window.location.pathname.toLowerCase().lastIndexOf('/extensions') + 1);
Expected behavior
The prefix should be identified properly as expected
Environment
Chrome
Operating system
All OS
Qlik Sense
All
Browser
All