# Automatically creating Perspective Navigation

**URL:** <https://forum.inductiveautomation.com/t/automatically-creating-perspective-navigation/24338>\
**Category:** Ignition Early Access\
**Tags:** python, ignition80, scripting\
**Created:** [April 23, 2019, 7:48pm UTC](https://forum.inductiveautomation.com/t/automatically-creating-perspective-navigation/24338 "2019-04-23T19:48:03Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![Carl.Gould](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/carl.gould/32/7262_2.png) [@Carl.Gould](https://forum.inductiveautomation.com/u/Carl.Gould)\
**Post date:** [February 18, 2021, 5:17pm UTC](https://forum.inductiveautomation.com/t/automatically-creating-perspective-navigation/24338/7 "2021-02-18T17:17:38Z")

</div>

Ok, here’s my take on how to tackle this. Rather than add a scripting function, instead, I’d like to inject information about the current project into session props. I’m thinking an object at `session.props.project` that would be shaped like this:

```json
{
  name: string,
  title: string,
  description: string,
  lastModified: date,
  lastModifiedBy: string,
  views: array< { path: string} >,
  pageConfigs: array< { url: string, primaryView: string } >
}

```

It’s a bit odd to have “views” be an array of objects with only one attribute in them, but I figure that way it’ll be more flexible in the future if we want to add more information in about each view.

Thoughts?

---

_[View the full topic](https://forum.inductiveautomation.com/t/automatically-creating-perspective-navigation/24338)._
