-
Notifications
You must be signed in to change notification settings - Fork 4.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Custom Action - Dashboard redirection #10780
Comments
In general, you need
|
Hello @devaskim, thanks for your quick response! I will be using this code in the next days and test if it works, I will be writing here otherwise, see you! |
@devaskim it's working correctly and redirecting fastly to the new dashboard. The question I have remained is, how can I update the state from this new dashboard state, I want to redirect to the details section and I need the currentDevice data, I want to do this
|
Good afternoon @devaskim, I apologize for any confusion in my previous message. I need the solution using the code you provided, specifically for a Custom Action. I need the state update in the new dashboard opened. Best regards,
|
Hi @nicovon24, |
Hello, I'm encountering an issue where I need to conditionally redirect to a new dashboard state, but I can't use the "navigate to another dashboard" action and must resort to using CUSTOM ACTIONS. I've tried using window.location.href, but it's significantly slower compared to the "Navigate to other dashboard" action and doesn't allow me to select the State. I'm unsure if this is the only solution available.
For instance, I typically have different dashboards for each device profile. In my current scenario, the hierarchy map comprises various devices from different device profiles. I aim to redirect each device to its respective dashboard, located on different dashboards within my platform, based on the predefined use case.
This is the current code I have which is not complett
In addition to that, as you can see I have for example used openState, updateState, openDashboardStateInSeparateDialog and openDashboardStateInPopover which are in the same dashboard.
But to do this in other dashboards, there is a similar function or method to do it?
Could you help me with this?
Thanks!
The text was updated successfully, but these errors were encountered: