# Label Mapping Transform From Page Parameter

**URL:** <https://forum.inductiveautomation.com/t/label-mapping-transform-from-page-parameter/92892>\
**Category:** Ignition\
**Tags:** ignition81, perspective\
**Created:** [July 8, 2024, 12:38pm UTC](https://forum.inductiveautomation.com/t/label-mapping-transform-from-page-parameter/92892 "2024-07-08T12:38:39Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ryan\_Van\_Lune](https://avatars.discourse-cdn.com/v4/letter/r/57b2e6/32.png) [@Ryan\_Van\_Lune](https://forum.inductiveautomation.com/u/Ryan_Van_Lune)\
**Post date:** [July 8, 2024, 12:38pm UTC](https://forum.inductiveautomation.com/t/label-mapping-transform-from-page-parameter/92892/1 "2024-07-08T12:38:39Z")

</div>

I am using Ignition Platform 8.1.40, and am having an issue with mapping transform from a page parameter. In the View, I have the parameter labeled "Slot". This is working fine for indirect addressing of tags. This also works fine if it is directly used in the text of a label. If I try to do a mapping transform, everything looks fine in Designer, but not in the browser. In the browser it is going to the fallback transform, and not the one that matches the parameter "Slot". The "Slot" parameter value is being set to "3", so I believe it should be displaying correctly. Is there something that I am missing?

The Edit Binding window is from designer, and below where it says "Fallback" is in the browser.

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/9/5/959c210132a94343a161b420f3534f513d092a47.png)

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [July 8, 2024, 12:40pm UTC](https://forum.inductiveautomation.com/t/label-mapping-transform-from-page-parameter/92892/2 "2024-07-08T12:40:42Z")

</div>

Are you sure you are getting an integer "3" in the client instead of a **string**"3" ?

---

<div class="post-metadata">

**Author:** ![Ryan\_Van\_Lune](https://avatars.discourse-cdn.com/v4/letter/r/57b2e6/32.png) [@Ryan\_Van\_Lune](https://forum.inductiveautomation.com/u/Ryan_Van_Lune)\
**Post date:** [July 8, 2024, 12:44pm UTC](https://forum.inductiveautomation.com/t/label-mapping-transform-from-page-parameter/92892/3 "2024-07-08T12:44:02Z")

</div>

I am sending the parameter via the URL (page\_link/3). If it is coming into the page as a string, is there a way to change this over to an integer so the mapping will work?

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [July 8, 2024, 12:49pm UTC](https://forum.inductiveautomation.com/t/label-mapping-transform-from-page-parameter/92892/4 "2024-07-08T12:49:26Z")

</div>

Use a view custom parameter with an expression binding to convert to integer. Or, perhaps, skip the map transform and combine the parsing with a `case` expression. (Single expressions are typically faster than binding+transform.)

---

<div class="post-metadata">

**Author:** ![Ryan\_Van\_Lune](https://avatars.discourse-cdn.com/v4/letter/r/57b2e6/32.png) [@Ryan\_Van\_Lune](https://forum.inductiveautomation.com/u/Ryan_Van_Lune)\
**Post date:** [July 8, 2024, 12:58pm UTC](https://forum.inductiveautomation.com/t/label-mapping-transform-from-page-parameter/92892/5 "2024-07-08T12:58:58Z")

</div>

Converting the parameter value to an integer using the toInt() function and then parsing it with the case() functinon worked great. Thanks a lot.
