# How do you list active perspective sessions in a perspective view table?

**URL:** <https://forum.inductiveautomation.com/t/how-do-you-list-active-perspective-sessions-in-a-perspective-view-table/68288>\
**Category:** Ignition\
**Tags:** ignition81, perspective\
**Created:** [January 5, 2023, 10:43pm UTC](https://forum.inductiveautomation.com/t/how-do-you-list-active-perspective-sessions-in-a-perspective-view-table/68288 "2023-01-05T22:43:01Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![CTrenkamp](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/ctrenkamp/32/38440_2.png) [@CTrenkamp](https://forum.inductiveautomation.com/u/CTrenkamp)\
**Post date:** [January 5, 2023, 10:43pm UTC](https://forum.inductiveautomation.com/t/how-do-you-list-active-perspective-sessions-in-a-perspective-view-table/68288/1 "2023-01-05T22:43:01Z")

</div>

I am trying to list the active perspective sessions for my project in a perspective view table. After looking at the forum I did not see an example.

---

<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:** [January 5, 2023, 10:46pm UTC](https://forum.inductiveautomation.com/t/how-do-you-list-active-perspective-sessions-in-a-perspective-view-table/68288/2 "2023-01-05T22:46:53Z")

</div>

Start with [system.perspective.getSessionInfo()](https://docs.inductiveautomation.com/display/DOC81/system.perspective.getSessionInfo).

Many discussions:

[https://forum.inductiveautomation.com/search?q=system.perspective.getSessionInfo%20order%3Alatest](https://forum.inductiveautomation.com/search?q=system.perspective.getSessionInfo%20order%3Alatest)

---

<div class="post-metadata">

**Author:** ![CTrenkamp](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/ctrenkamp/32/38440_2.png) [@CTrenkamp](https://forum.inductiveautomation.com/u/CTrenkamp)\
**Post date:** [January 5, 2023, 10:48pm UTC](https://forum.inductiveautomation.com/t/how-do-you-list-active-perspective-sessions-in-a-perspective-view-table/68288/3 "2023-01-05T22:48:40Z")

</div>

I did that but it only provided info for the current session and does not show all open sessions on the network.

---

<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:** [January 5, 2023, 10:50pm UTC](https://forum.inductiveautomation.com/t/how-do-you-list-active-perspective-sessions-in-a-perspective-view-table/68288/4 "2023-01-05T22:50:12Z")

</div>

Show your code. With no filters, it is supposed to return all sessions on a gateway.

---

<div class="post-metadata">

**Author:** ![CTrenkamp](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/ctrenkamp/32/38440_2.png) [@CTrenkamp](https://forum.inductiveautomation.com/u/CTrenkamp)\
**Post date:** [January 5, 2023, 10:50pm UTC](https://forum.inductiveautomation.com/t/how-do-you-list-active-perspective-sessions-in-a-perspective-view-table/68288/5 "2023-01-05T22:50:56Z")

</div>

def transform(self, value, quality, timestamp):

```
value = system.perspective.getSessionInfo()
return value

```

---

<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:** [January 5, 2023, 10:52pm UTC](https://forum.inductiveautomation.com/t/how-do-you-list-active-perspective-sessions-in-a-perspective-view-table/68288/6 "2023-01-05T22:52:07Z")

</div>

Where is that transform? (Why is it a transform?)

---

<div class="post-metadata">

**Author:** ![CTrenkamp](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/ctrenkamp/32/38440_2.png) [@CTrenkamp](https://forum.inductiveautomation.com/u/CTrenkamp)\
**Post date:** [January 5, 2023, 10:52pm UTC](https://forum.inductiveautomation.com/t/how-do-you-list-active-perspective-sessions-in-a-perspective-view-table/68288/7 "2023-01-05T22:52:46Z")

</div>

Data binding for a table.

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

---

<div class="post-metadata">

**Author:** ![CTrenkamp](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/ctrenkamp/32/38440_2.png) [@CTrenkamp](https://forum.inductiveautomation.com/u/CTrenkamp)\
**Post date:** [January 5, 2023, 10:54pm UTC](https://forum.inductiveautomation.com/t/how-do-you-list-active-perspective-sessions-in-a-perspective-view-table/68288/8 "2023-01-05T22:54:59Z")

</div>

Sorry I was not using the launched version. I see all the sessions now. I was looking at the results in the designer.
