# A button appears to be passing the wrong parameter

**URL:** <https://forum.inductiveautomation.com/t/a-button-appears-to-be-passing-the-wrong-parameter/108895>\
**Category:** Ignition\
**Created:** [July 24, 2025, 2:04pm UTC](https://forum.inductiveautomation.com/t/a-button-appears-to-be-passing-the-wrong-parameter/108895 "2025-07-24T14:04:01Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Daniel\_Whitlock](https://avatars.discourse-cdn.com/v4/letter/d/8edcca/32.png) [@Daniel\_Whitlock](https://forum.inductiveautomation.com/u/Daniel_Whitlock)\
**Post date:** [July 24, 2025, 2:04pm UTC](https://forum.inductiveautomation.com/t/a-button-appears-to-be-passing-the-wrong-parameter/108895/1 "2025-07-24T14:04:02Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![pascal.fragnoud](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pascal.fragnoud/32/24728_2.png) [@pascal.fragnoud](https://forum.inductiveautomation.com/u/pascal.fragnoud)\
**Post date:** [July 24, 2025, 2:10pm UTC](https://forum.inductiveautomation.com/t/a-button-appears-to-be-passing-the-wrong-parameter/108895/2 "2025-07-24T14:10:45Z")

</div>

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 ?

---

<div class="post-metadata">

**Author:** ![victordcq](https://avatars.discourse-cdn.com/v4/letter/v/f6c823/32.png) [@victordcq](https://forum.inductiveautomation.com/u/victordcq)\
**Post date:** [July 24, 2025, 2:12pm UTC](https://forum.inductiveautomation.com/t/a-button-appears-to-be-passing-the-wrong-parameter/108895/3 "2025-07-24T14:12:13Z")

</div>

also is it number 1 or string "1"

---

<div class="post-metadata">

**Author:** ![pascal.fragnoud](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pascal.fragnoud/32/24728_2.png) [@pascal.fragnoud](https://forum.inductiveautomation.com/u/pascal.fragnoud)\
**Post date:** [July 24, 2025, 2:13pm UTC](https://forum.inductiveautomation.com/t/a-button-appears-to-be-passing-the-wrong-parameter/108895/4 "2025-07-24T14:13:38Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![Daniel\_Whitlock](https://avatars.discourse-cdn.com/v4/letter/d/8edcca/32.png) [@Daniel\_Whitlock](https://forum.inductiveautomation.com/u/Daniel_Whitlock)\
**Post date:** [July 24, 2025, 3:31pm UTC](https://forum.inductiveautomation.com/t/a-button-appears-to-be-passing-the-wrong-parameter/108895/5 "2025-07-24T15:31:38Z")

</div>

Thanks for your help, this worked!
