# Perspective Multistate Button Not Functioning

**URL:** <https://forum.inductiveautomation.com/t/perspective-multistate-button-not-functioning/64052>\
**Category:** Ignition\
**Tags:** ignition81, perspective\
**Created:** [September 14, 2022, 2:28pm UTC](https://forum.inductiveautomation.com/t/perspective-multistate-button-not-functioning/64052 "2022-09-14T14:28:21Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![Fawhn\_Hanlon](https://avatars.discourse-cdn.com/v4/letter/f/8491ac/32.png) [@Fawhn\_Hanlon](https://forum.inductiveautomation.com/u/Fawhn_Hanlon)\
**Post date:** [September 14, 2022, 2:28pm UTC](https://forum.inductiveautomation.com/t/perspective-multistate-button-not-functioning/64052/1 "2022-09-14T14:28:21Z")

</div>

Hello,

I have been having an issue with a multistate button in my perspective session. I have bound the controlValue and indicatorValue to the Mode property of my UDT params (and enabled bidirectionality).

I dropped 4 instances of UDTs into a carousel on another view (using one view as a template for another).

When I test functionality in my Perspective Workstation, I can click the button and it will change momentarily before reverting back to the default value (0). This happens for all 4 views that I have.

I have tried everything I can think of regarding property bindings, but haven’t had any luck.

Can anyone offer any insight?

Cheers!

---

<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:** [September 14, 2022, 2:32pm UTC](https://forum.inductiveautomation.com/t/perspective-multistate-button-not-functioning/64052/2 "2022-09-14T14:32:41Z")

</div>

> [@Fawhn\_Hanlon](#):
>
> (and enabled bidirectionality)

On which one ? `controlValue` or `indicatorValue` ?

What kind of tags are they, and what's their data type ? What data type are you trying to write into them ?

---

<div class="post-metadata">

**Author:** ![Fawhn\_Hanlon](https://avatars.discourse-cdn.com/v4/letter/f/8491ac/32.png) [@Fawhn\_Hanlon](https://forum.inductiveautomation.com/u/Fawhn_Hanlon)\
**Post date:** [September 14, 2022, 2:38pm UTC](https://forum.inductiveautomation.com/t/perspective-multistate-button-not-functioning/64052/3 "2022-09-14T14:38:39Z")

</div>

Presently, bidirectionality is enabled on both. They are all values in Perspective?  
 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/1/3/1382d5766a0f68360004503854950f50cd4a2b87.png)  
 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/7/d/7defa6fa44ca8f8e4dd7313b39ae9c47f45542f4.png)

Neither an array nor an object.

---

<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:** [September 14, 2022, 2:39pm UTC](https://forum.inductiveautomation.com/t/perspective-multistate-button-not-functioning/64052/4 "2022-09-14T14:39:54Z")

</div>

Don’t make `indicatorValue` bidirectional.

Are they both bound to the same tag ?

---

<div class="post-metadata">

**Author:** ![Fawhn\_Hanlon](https://avatars.discourse-cdn.com/v4/letter/f/8491ac/32.png) [@Fawhn\_Hanlon](https://forum.inductiveautomation.com/u/Fawhn_Hanlon)\
**Post date:** [September 14, 2022, 2:41pm UTC](https://forum.inductiveautomation.com/t/perspective-multistate-button-not-functioning/64052/5 "2022-09-14T14:41:48Z")

</div>

Unfortunately, I tried that and my issue still persists.  
Yes, they are bound to the same property of my UDT.

---

<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:** [September 14, 2022, 2:55pm UTC](https://forum.inductiveautomation.com/t/perspective-multistate-button-not-functioning/64052/6 "2022-09-14T14:55:37Z")

</div>

I just tried, in 8.1.18, and it works fine.

Can you show us in more details how you’re trying to do it ?

---

<div class="post-metadata">

**Author:** ![grietveld](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/grietveld/32/6984_2.png) [@grietveld](https://forum.inductiveautomation.com/u/grietveld)\
**Post date:** [September 14, 2022, 2:59pm UTC](https://forum.inductiveautomation.com/t/perspective-multistate-button-not-functioning/64052/7 "2022-09-14T14:59:21Z")

</div>

Don’t think this is going to solve the issue, but if I’m not actually using a separate control and indicator value and only have one tag, I usually bind indicator value to control value and only have one connection back to the tag.

But yeah, at this point I think there is something odd in either the tag configuration(make sure you can write a value to that tag) or in your bindings that are throwing it off. Some additional info there may help in debugging.

---

<div class="post-metadata">

**Author:** ![Fawhn\_Hanlon](https://avatars.discourse-cdn.com/v4/letter/f/8491ac/32.png) [@Fawhn\_Hanlon](https://forum.inductiveautomation.com/u/Fawhn_Hanlon)\
**Post date:** [September 14, 2022, 3:08pm UTC](https://forum.inductiveautomation.com/t/perspective-multistate-button-not-functioning/64052/8 "2022-09-14T15:08:09Z")

</div>

I am able to write a value to the tag and it updates in my Perspective session just fine.

Here are some screen captures.

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/5/8/58bbd565e82494a15a7d7e55f8e2a1b5ff2dd010.png)

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/1/d/1dd04ab9828acf939a2769cb1077391a79311630.png)

---

<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:** [September 14, 2022, 3:11pm UTC](https://forum.inductiveautomation.com/t/perspective-multistate-button-not-functioning/64052/9 "2022-09-14T15:11:17Z")

</div>

Well, you’re not binding to a tag, but to a view parameter…

---

<div class="post-metadata">

**Author:** ![Fawhn\_Hanlon](https://avatars.discourse-cdn.com/v4/letter/f/8491ac/32.png) [@Fawhn\_Hanlon](https://forum.inductiveautomation.com/u/Fawhn_Hanlon)\
**Post date:** [September 14, 2022, 3:18pm UTC](https://forum.inductiveautomation.com/t/perspective-multistate-button-not-functioning/64052/10 "2022-09-14T15:18:39Z")

</div>

Yes. This view acts a template for my other view in Perspective, so that I was able to drop Sensor instances directly into the Carousel. Those 4 views in the Carousel are all directly bound to their respective Sensors.

Is this incorrect? It was the only solution I found searching through the forum as there isn’t a designated Template option in Perspective as there is in Vision.

---

<div class="post-metadata">

**Author:** ![grietveld](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/grietveld/32/6984_2.png) [@grietveld](https://forum.inductiveautomation.com/u/grietveld)\
**Post date:** [September 14, 2022, 3:21pm UTC](https://forum.inductiveautomation.com/t/perspective-multistate-button-not-functioning/64052/11 "2022-09-14T15:21:29Z")

</div>

Check your view parameter type. Make sure that the parameter is set to bi directional and any bindings at the carousel are bi directional as well.

---

<div class="post-metadata">

**Author:** ![Fawhn\_Hanlon](https://avatars.discourse-cdn.com/v4/letter/f/8491ac/32.png) [@Fawhn\_Hanlon](https://forum.inductiveautomation.com/u/Fawhn_Hanlon)\
**Post date:** [September 14, 2022, 3:32pm UTC](https://forum.inductiveautomation.com/t/perspective-multistate-button-not-functioning/64052/12 "2022-09-14T15:32:06Z")

</div>

I believe that did it after a couple mistakes. 😅

Thank you!

---

<div class="post-metadata">

**Author:** ![grietveld](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/grietveld/32/6984_2.png) [@grietveld](https://forum.inductiveautomation.com/u/grietveld)\
**Post date:** [September 14, 2022, 3:33pm UTC](https://forum.inductiveautomation.com/t/perspective-multistate-button-not-functioning/64052/13 "2022-09-14T15:33:13Z")

</div>

No worries. Perspective sometimes has a few additional layers to unpeel when debugging haha.

---

<div class="post-metadata">

**Author:** ![Fawhn\_Hanlon](https://avatars.discourse-cdn.com/v4/letter/f/8491ac/32.png) [@Fawhn\_Hanlon](https://forum.inductiveautomation.com/u/Fawhn_Hanlon)\
**Post date:** [September 14, 2022, 3:35pm UTC](https://forum.inductiveautomation.com/t/perspective-multistate-button-not-functioning/64052/14 "2022-09-14T15:35:22Z")

</div>

Haha. You can say that again.  
I didn’t even know there were more options for PARAMS until I right-clicked. 😅
