Open dashboard from button click

I have created a button, and I am trying to create an event to open one of my dashboards. Tried to find an example with no luck. Can I get some help with this.

This is what I tried and its not working

There’s nothing wrong with your View call-out.

Did you publish your dashboard?

Did you assign it to a menu in menu maintenance?

Yes, I am calling it from MES if that has anything to do with it. This is the error I am getting when I click my button:

ERROR TypeError: You provided ‘null’ where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.

Try using the MENU ID of the deployed dashboard as shown below. (Sorry for the rough drawing! lol)

1 Like

Yes, I have. Get this same error every time.

The dashboard is in the main menu. Douse it have to be in processes in order for this to work?