# Vertical menu tree in perspective

**URL:** <https://forum.inductiveautomation.com/t/vertical-menu-tree-in-perspective/75685>\
**Category:** Ignition\
**Tags:** ignition81, perspective\
**Created:** [June 29, 2023, 6:55am UTC](https://forum.inductiveautomation.com/t/vertical-menu-tree-in-perspective/75685 "2023-06-29T06:55:28Z")\
**Posts on this page:** 1\
**Showing post:** 13

<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, 2024, 2:45pm UTC](https://forum.inductiveautomation.com/t/vertical-menu-tree-in-perspective/75685/13 "2024-07-24T14:45:29Z")

</div>

`self.page.props.pageId` is not an int.  
I suspect you created `self.session.custom.pages` as an array, when it should really be a dict/object.

also, take a look at this:

> [@Wiki - how to post code on this forum](https://forum.inductiveautomation.com/t/wiki-how-to-post-code-on-this-forum/77831):
>
> This thread is intended as a short help file for all those struggling to post formatted code on the forum. Code block formatting Posting formatted code on the forum (and most others) is as simple as selecting the code and pressing the \</\> button. It works the same as applying Bold or Italic styles to your document. It preserves indentation and applies syntax highlighting. [How to post code] Note that all the \</\> button does is add three backticks ``` on the line before the code block and anot…

---

_[View the full topic](https://forum.inductiveautomation.com/t/vertical-menu-tree-in-perspective/75685)._
