Developer tool extension for Qlik Sense
You might want to take a look at Add Sense from Chrome, a Chrome Extension that covers most of what the Qlik Sense extension does and also works in mashups, iframe's and without needing to modify the Qlik Sense app. You find it here: https://chrome.google.com/webstore/detail/add-sense/bbiljflfafkaejgdebbnmcohpidgkejj
This extension adds a floating action button to your Qlik Sense app. When you press the button it will add labels with id, type and handle to all visualizations on the sheet. The labels also contains buttons to display properties for the visualizations. And from version 3 they also containg some data on calculations and calculation times.
This can be useful if you for example are creating a mashup and need the object ids or for troubleshooting your extension.
A new context menu provides functions to export/import script and export variables.
Properties are now shown in a modal window, no longer with javascript alert. Timing show latest calc time, not max
Calculation data: The extension now also shows some data on calculations:
calc: number of calculations performed ms: total number of milliseconds waiting for calculations max: longest time for a calculation
- Floating action button The button is now a FAB button, which will remain on screen until you refresh the page, even if you change sheet. This means you can use it on a published sheet:
- create a new sheet
- add the devtool extension to the new sheet, the button will appear
- change to the (possibly published) sheet where you need it
- click the FAB
- Button to show properties The labels now also contain a button to show properties for the visualization.
In the future I intend to add more functions to this tool. If you have any ideas, please post them, or clone the repository, add it and make a pull request.
Note: this function uses css class names to find the visualizations, angular scope() function to find the corresponding scope and some scope navigation to find the data. This works right now, but might break any time.