Custom Dashboard URL in an Email Report
When sending a dashboard as an email report, by default the email will link to the dashboard on Sisense web. In some cases, customers want to have the link point to a different location. For instance, customers using SSO would want the link to point to their own portal rather than Sisense web.
Follow the steps below to link your dashboard to a desired location:
- On your server, go to:
C:\Program Files\Sisense\PrismWeb\vnext\src\features\emails\templates\dashboard_report - Locate the html.ejs file
- Backup your original html.js file
- Open the file and replace the href value with the desired URL. Here are 2 different examples:
- Link the dashboard to a known page:
<a name='dashboard' href='www.yahoo.com' target='_blank'> <img src='cid:<%= images[i] %>' id="<%= images[i] %>" name="<%= images[i] %>" /> </a>
- If you don’t want the dashboard link to any page, leave the href value blank:
<a name='dashboard' href='' target='_blank'> <img src='cid:<%= images[i] %>' id="<%= images[i] %>" name="<%= images[i] %>" /> </a>
- Link the dashboard to a known page:
Updated 03-02-2023
intapiuser
Admin
Joined December 15, 2022