jive-sdk
Version:
Node.js SDK for Jive Software to assist with the development of add-ons
21 lines (13 loc) • 473 B
HTML
<html>
<body>
<div id="j-content"></div>
<script>
gadgets.util.registerOnLoadHandler(function() {
osapi.jive.core.container.getLaunchContext(function(ctx){
console.log('Context: ',ctx);
$("#j-content").html('The associated place for this action is '+ctx.jive.content.type + ' / ' + ctx.jive.content.id);
});
});
</script>
</body>
</html>