23 Aug How do I set my account to login to a custom screen?
Sage CRM allows users to customise which screen should be displayed by default, when they login.
But what if you want to login to a custom screen (e.g. an ASP file)? In that case, you need to:
- Open the following file for editing
\CRM\WWWRoot\InteractiveDashboard\InteractiveDashboard.asp
- Put in a Javascript redirect for the page you would like to redirect to e.g.:
<script type="text/javascript"> var strURL = window.location.href; strURL = strURL.replace(/\/InteractiveDashboard\/InteractiveDashboard\.asp/, '/CustomPages/CA/Dashboard/index.asp'); strURL = strURL.replace(/\?.*(SID=\d+).*/, '?' + "$1"); window.location = strURL; </script>
- Because the Dashboard is hardcoded to display a set of tabs at the top of the iframe, you will also need to remove those – you could do this by hiding the tabs. For example, in ‘Dashboard/index.asp’, include the following:
<script> // Hide the InteractiveDashboards tabs, that are included in the parent frameset. $("#landingpage_top_frame", parent.document).hide(); </script>
- Now, any user with “Dashboard” set as their “Log Me In To” option should be redirected to your custom page.