# Perspective Display different in Chrome than in designer

**URL:** <https://forum.inductiveautomation.com/t/perspective-display-different-in-chrome-than-in-designer/56769>\
**Category:** Ignition\
**Tags:** perspective\
**Created:** [March 3, 2022, 9:24am UTC](https://forum.inductiveautomation.com/t/perspective-display-different-in-chrome-than-in-designer/56769 "2022-03-03T09:24:48Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![lrose](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/lrose/32/62724_2.png) [@lrose](https://forum.inductiveautomation.com/u/lrose)\
**Post date:** [March 3, 2022, 2:14pm UTC](https://forum.inductiveautomation.com/t/perspective-display-different-in-chrome-than-in-designer/56769/6 "2022-03-03T14:14:44Z")

</div>

> [@pawel.kondol1](#):
>
> So in my opinion, 3 is an int

This may be your opinion, but it doesn't change the _fact_ that anything passed through the URL can only be a _string_.

> [@Perspective URL Dictionary Parameter](https://forum.inductiveautomation.com/t/perspective-url-dictionary-parameter/38019/9):
>
> Anything passed through the URL can ONLY be a string. If you absolutely MUST pass something like a dictionary, you’re better off using a Session Property and binding the relevant View values to that.

Your expression works in the designer because when you just type in the _number_ 3 the designer converts it to an integer. In chrome the parameter is a _string_ and so your expression returns through the false path. In this case -1.

In the designer change the value of id\_Line to `'3'` and change the expression to this:

```auto
if({view.params.id_Line} = '0', 57,
if({view.params.id_Line} = '3',41,-1))

```

Then it will work in both places.

---

_[View the full topic](https://forum.inductiveautomation.com/t/perspective-display-different-in-chrome-than-in-designer/56769)._
