A button appears to be passing the wrong parameter

When I click on this button:

That should be passing these parameters (Note the hard coded BMS 1):

It populates this table with banks 3&4:

If I go to the designer and input BMS 1 it populates the correct banks:

To me, that says there is a breakdown between the button and the view it is navigating to. I cannot for the life of me figure out what it is. Can someone tell me what I'm missing?

Edit: Deleted images due to potential concerns

So you have a view with a parameter PLC, and you're passing this as the values for the embedded view's parameters PLC and MB_PLC ?
Check that this original PLC parameter is what you think it is.

edit: Wait, I missed the part about the hardcoded parameter.
What happens if you remove the values from the MB_PLC and PLC parameters in the designer ?

also is it number 1 or string "1"

3 Likes

Yes, as Victor notes, I believe hardcoded parameters passed through the navigation event are strings, but the one you put in the designer is an int. This is likely the issue.

2 Likes

Thanks for your help, this worked!