New:
- Widgets that are loading or have failed to load will now allow the user to access the widget menu items such as the widget Settings, Analyze, Query, Filters, and Remove Widget from dashboard. (3236)
- Two new widget user permissions regarding InstantSights: (3215)
- Edit Widget InstantSights - Allows the user to configure InstantSights on widgets they have access to.
- Read Widget InstantSights - Allows the user to view the InstantSights for the widgets they have access to.
- Alerts now allow the user to use C9 Tokens for alert conditions . Users can also use C9 tokens in the C9QL when sending datasets attachments from the alert. (3225)
- DST timezone has been added for Dataset Update Alert scheduling. (3232)
-
Fixes:
- Fixed issues in derived queries when a parent query contains a field with an & symbol. (3220)
- Fixed the Management API Call /users not returning users with a + symbol in their email address. (3224)
- Embedding: (3200)
- Ability to program buttons to open up a widget and dashboard listing dropdown.
- Ability to remove dashboard settings.
- Ability to remove Dashboard NLP.
- Example:
<!DOCTYPE html>
<html lang="en">
<HEAD>
<style>
#knowi-div {
width: 1500px;
height: 800px;
}
.button {
display: inline-block;
padding: 10px 20px;
background-color: #007bff;
color: #fff;
border: none;
border-radius: 5px;
cursor: pointer;
font-size: 16px;
text-align: center;
text-decoration: none;
transition: background-color 0.3s ease;
}
.button:hover {
background-color: #0056b3;
}
</style>
<script src="https://knowi.com/minify/knowi-api.min.js"></script>
<!-- *********** Edit here *********** -->
<title>Knowi Embed: JS API</title>
<script>
function load() {
Knowi.render(null, {
container: document.querySelector('#knowi-div'),
type: "single",
token: "SESSION_TOKEN_HERE",
url: 'https://knowi.com/',
view: {
header: true,
menu: false, // hides the menu bar as needed
menuOptions: {
dashSettings: false, // hides the dash settings button if needed
nlpPrompt: false, // no NLP prompt on dashboard and analyze
}
}
});
document.getElementById('knowi-dashboards').addEventListener('click', () => {
document.querySelector('#knowi-div').firstChild.contentWindow.postMessage('dashboards', '*');
});
document.getElementById('knowi-widgets').addEventListener('click', () => {
document.querySelector('#knowi-div').firstChild.contentWindow.postMessage('widgets', '*');
});
}
</script>
</HEAD>
<BODY onload="load()">