IgnitionGateway().getProjectManager().getProjectNames() not exist in 8.3?

@paul-griffith
I try to list project with a parent in 8.3:

8.1 code:

		result = []
		gw = IgnitionGateway.get()
		project_manager = gw.getProjectManager()
		project_names = [name for name in project_manager.getProjectNames()]
		dicProjects = {}
		
		#dataDir = shared.commun.util.getDataDir()
		
		for name in project_names:
			dicProjects[name] = project_manager.getProject(name).get()	
	
		for name,project in dicProjects.items():
			manifest = project.getManifest()
			parent = manifest.getParent()
			while parent not in [None,""]:	
				if parent == parentProject:				
					result.append(name)
					break
				else:
					parent = dicProjects[parent].getManifest().getParent()	

IgnitionGateway().getProjectManager().getProjectNames() not exist in 8.3
Is there a way to replace it ?

project.getManifest().getParent()
Same question to retrieve the parent projet ?

It's probably just getNames() inherited from ResourceCollectionManager.

ResourceCollectionManifest has getParent(). ResourceCollectionManager has getManifests().

3 Likes