Adham Yusupov

Results 5 comments of Adham Yusupov

> Use custom action > > ``` > widgetContext.stateController.openState('your_state_id') > // or > widgetContext.stateController.openState('your_state_id', stateParamsObj) > ``` This is the change state in the current DASHBOARD, right? How can I...

> Right. Here is how navigation to another dashboard is implemented inside TB UI https://github.com/thingsboard/thingsboard/blob/master/ui-ngx/src/app/modules/home/components/widget/widget.component.ts#L1070 Fine. Thank you. I'll try this.

I'm navigating to another dashboard with this function: ```js function openDashboardState(dashboardId, stateId) { var params = { entityId: entityId, entityName: entityName, currentStateId: widgetContext.stateController .getStateId() }; var stateObject = { id:...

This problem is solved by changing the url: > ```js > stateObject.params = params; > var state = objToBase64URI([stateObject]); > let url = "/dashboard/" + dashboardId + > "?state=" +...