Is there a way via scripting to get the Parent Project's name? I know system.project.getProjectName() will get the current project's name, and getProjecNames() will get a list of all Projects on the Gateway, but is there a way to get the name of the Parent Project to the current one?
If you get the current project object from the gateway context's project manager, you can use .getParent()
to retrieve an Optional<String>
for that.
1 Like
I'm not familiar with the Gateway Context. Is this something I can do in a script somewhere? Are there any good resources to look up? I tried searching the forum for "Gateway Context" and I didn't really understand much of it.
EDIT:
I found this post: How to get the names of inherited projects of the actively running project on a client? - #3 by nminchin
Following that got me what I needed. Thanks!
1 Like