Specialist II
2020-03-24
12:22 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Qlik Sense - Mashup - API- Qlik Tabbed Container Feature - Don't use object ID as element ID
Hi everyone,
This is a warning rather than a question. Today I found an interesting feature of the Qlik Tabbed Container extension. If you use the object ID to as the element ID, the extension will be hidden. Here is an example:
This is ok:
...
app.getObject('qv1','12d8901e-a7f5-4494-a01c-d6b97a8fb0c6');
...
<div id='qv1' class='qlik-tabbed-container qvobject vislocked'>
This is not ok:
...
app.getObject('12d8901e-a7f5-4494-a01c-d6b97a8fb0c6','12d8901e-a7f5-4494-a01c-d6b97a8fb0c6');
...
<div id='12d8901e-a7f5-4494-a01c-d6b97a8fb0c6' class='qlik-tabbed-container qvobject vislocked'>
Just thought I'd let you know as it might save someone an hour or so of banging their head against the wall