# \[BUG\]system.perspective.getProjectInfo

**URL:** <https://forum.inductiveautomation.com/t/bug-system-perspective-getprojectinfo/52117>\
**Category:** Ignition\
**Created:** [October 19, 2021, 3:40pm UTC](https://forum.inductiveautomation.com/t/bug-system-perspective-getprojectinfo/52117 "2021-10-19T15:40:40Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![dustin.cooper](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/dustin.cooper/32/29963_2.png) [@dustin.cooper](https://forum.inductiveautomation.com/u/dustin.cooper)\
**Post date:** [October 19, 2021, 3:40pm UTC](https://forum.inductiveautomation.com/t/bug-system-perspective-getprojectinfo/52117/1 "2021-10-19T15:40:40Z")

</div>

Ignition 8.1.10

[Documentation page](https://docs.inductiveautomation.com/display/DOC81/system.perspective.getProjectInfo) for system.perspective.getProjectInfo() shows that the function accepts a keyword arg for `projectName`:  
 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/7/b/7b071ebfec851d2b73dc086ab293e4e77172822a.png)

But when called in the designer, the auto-complete shows it takes zero args, and throws a `TypeError` if called with project name in a GUI script.

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/b/f/bfc0d9c10422d4f8c8f6cc76e5ef5fac00613bb5.png)

![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/0/c/0ced984bf9e280d8329abfa52ac30664d8b0fd0a.png)

Ideally, I would like this function to work as described in the manual to be able to get a list of project names and then loop through the list and get the data for each from this function from a gateway script.

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [October 19, 2021, 3:43pm UTC](https://forum.inductiveautomation.com/t/bug-system-perspective-getprojectinfo/52117/2 "2021-10-19T15:43:40Z")

</div>

Sorry, seems this is a documentation error, not an implementation error.

---

<div class="post-metadata">

**Author:** ![dustin.cooper](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/dustin.cooper/32/29963_2.png) [@dustin.cooper](https://forum.inductiveautomation.com/u/dustin.cooper)\
**Post date:** [October 19, 2021, 4:41pm UTC](https://forum.inductiveautomation.com/t/bug-system-perspective-getprojectinfo/52117/3 "2021-10-19T16:41:54Z")

</div>

Thanks Kevin. I see the doc has been updated already! I may submit a feature request to see if this can be extended to work for `projectName` and not just the current project.

EDIT: Added feature request:

> **[Add projectName keyword to system.perspective.getProjectInfo | Voters |...](https://inductiveautomation.canny.io/ignition-features-and-ideas/p/add-projectname-keyword-to-systemperspectivegetprojectinfo)**
