Get control in JS from a container nested Dashboard

Hi, to keep our main Dashboard maintainable, it contains different containers that can be replaced by other containers. The navigation is in fact a bit more complicated, the hierarchy is that deep that i can´t manipulate controls like a WebBrowser´s URL directly via JS.

I tried different things to set up a new URL to a WebBrowser thats inside a Dashboard, which itself is nested in a container.

Examples that didn´t work:

var wb= viewService.getChild(“7f5c6890-f921-59be-580d-11bc0e43c55e”);

var wb = subCanvasViewContainer4.findComponentById(“7f5c6890-f921-59be-580d-11bc0e43c55e”);

var wb = document.getElementById(“7f5c6890-f921-59be-580d-11bc0e43c55e”);

The developer-mode from the Chrome-Browser didn´t help either, the generated Html-page is not providing enoug information.

Any ideas?

There’s another property that might be helpful for locating a certain visualization: getContainedAdapters().

https://www.dundas.com/support/api-docs/js/#API%20Reference/dundas/view/controls/SubCanvasViewContainer/Methods/getContainedAdapters.html

You could perhaps iterate through that till you get an ID match. If you don’t have that many adapters in the embedded dashboard, this one might be the most straightforward way to go.