I have an issue where users have bookmarked dashboards that are no longer being updated.
For example, months ago a user logs in and goes to their default view. They set a bookmark which has /Dashboard/{DashboardIDGuid}. We now deployed a new version in a separate project. We still have the old project up for reference, but we do not want users to go to any dashboards in the old project. The issue is when they click their bookmark, they go to the old dashboard.
I have a javascript override for document.ready(). I would like to do the following.
- Determine which dashboard they have requested. Don’t know if there is anything in the javascript library to get this or I have to parse the url. I’m cool either way.
- Find out the project id or name that the requested dashboard is in.
- If the project is the old project, then redirect them to their default view.
OR
Override the logon submit event to redirect them to their default view regardless of the ReturnUrl parameter in the url.
Thanks
Matt