cancel
Showing results for 
Search instead for 
Did you mean: 
intapiuser
Community Team Member
Community Team Member
Introduction
When a user logs into Sisense Web, they get taken to a standard home page.  This plugin allows admins to define default dashboards for each user group.  So instead of landing on a home page, each user will automatically get redirected to their default dashboard.
Steps

STEP 1 - ADD THE PLUGIN

Download the attachment and unzip the contents into your C:\Program Files\Sisense\PrismWeb\plugins\ folder. If you are using version 7.2 and higher unzip the contents into your C:\Program Files\Sisense\app\plugins\ folder. If the plugins folder doesn't exist, just create it. After those files have been unzipped there, you may also have to restart the web server. 

STEP 2 - CONFIGURE DEFAULT DASHBOARDS

In the set of attached files, open up homepages.js.  This file contains a mapping of user groups (by name) and what dashboards (by ID) to open instead of the standard home page.  Add to this list as needed for each group that requires a default dashboard.  This list also contains an option for "default", which will be used if the logged in user does not belong to any groups.


// Add an object to hold the default homepages for each group
prism.customHomepage = {
"settings": {
"multipleGroups" : "default" // Can be "first","last", or "default"
},
"homepages": {
"default":"57d164b48517b9b01b000022", // Default Dashboard
"57d31bc0105e6e9c36000003": "57b76a3e4591399c1b000001", // Dept A Group
"57d341a1105e6e9c3600006f": "57d164ae8517b9b01b00000d" // Dept B Group
}
}


STEP 3 - ENABLE THROUGH THE REBRANDING API

Open the REST API reference page, and run the /api/branding POST command with the following payload. This will enable the plugin to run and replace the homepage based on user group.
{
"homePage":"/plugins/customHomepage/defaultHomepage.html"
}
References/Notes
  • Use of this plugin requires a license for Rebranding
  • The multipleGroups property decides what to do when a user belongs to multiple groups.  The value here can be first (first match in config file), last (last match from the config file), or default (use the default dashboard)
Version history
Last update:
‎03-02-2023 09:10 AM
Updated by:
Contributors
Community Toolbox

Recommended quick links to assist you in optimizing your community experience:

Developers Group:

Product Feedback Forum:

Need additional support?:

Submit a Support Request

The Legal Stuff

Have a question about the Sisense Community?

Email [email protected]

Share this page: