PartNum parameter not pulling into context menu dashboard

Hi, I have created a simple BAQ and dashboard that lists part numbers and their manufacturing comments, and that takes PartNum as the parameter. I have put this dashboard as a context menu option when right-clicking on a PartNum, however when I do it does not pull through the part number and show the comments for it, I still have to refresh the dashboard and manually enter the part number.

Is there a way to have the dashboard automatically pull in the PartNum when selected on context menu and display the manufacturing comments? Thanks in advance!
Below is a picture of the dashboard:

Yes, however it’s not quite that simple, unless there is something I am unaware of,
which is of course always possible.

The “Open With” functionality works by passing values from the parent to the child or sibling form
via LaunchFormOptions. The data you want will either be passed via an object you can
pub/sub to, or pull in code inside your form.

You’ll have to handle what you do with it from there in code.

Here is some relevant info.

Look for “Subscribe to Custom Open With”
https://www.epiusers.help/t/code-from-meug-presentation-on-5-20-2020-customization-tips-and-tricks/67376

Parameters in dashboards can be tricky, may want to either nix it, and add filters, or just add a grid
to a udform and call the BAQ yourself with the info you get from the open with launchformoptions.

Thanks for the info! Is it possible to add a filter to a dashboard then and get context menu to pull in PartNum that way, or is that equally complicated?

Sorry a newbie so all this is news to me :slight_smile:

You could use @josecgomez method for pub/sub and set the filter and then refresh programatically.
It’s not super complicated, but I can see how it would look that way at first glance.

Now that he’s pinged, he might drop some words of wisdom on us.

Using a filter in the dashboard instead of a parameter has actually worked for what I needed, thank you very much!