[BUG]system.perspective.getProjectInfo

Ignition 8.1.10

Documentation page for system.perspective.getProjectInfo() shows that the function accepts a keyword arg for projectName:
image

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

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.

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

2 Likes

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:

1 Like