If you're having trouble creating a new plugin on your own, then don't worry, It's actually quite simple!
In order to create a basic plugin, which extends the functionality of a dashboard/widget, use the following basic plugin example
Basically, a plugin is based on two main files:
- plugin.json - this file contains some basic information on your plugin. Pay attention that the "folderName" and "lastUpdate" parameters are updated automatically:
- js file - this file contains the actual code your plugin is executing. Generally, you will use our built-in events in order to trigger your functionalities. For more information on these, check out our developers website
*Make sure to locate all of your plugins at C:\Program Files\Sisense\PrismWeb\plugins
The attached plugin will print to the developers console that the plugin is active. If you're trying to add a new dashboard functionality, all you need to to is replace this section in the code with your functionality.
For more information on our plugins framework and on creating and establishing new plugins, check out this forum post
Please sign in to leave a comment.