JMap.Project.getByName
Returns the project for the given project name.
The JMap project name
error if the project doesn't exists or if projectName is not a string.
// Get project "My Project"const project = JMap.Project.getByName("My Project")console.log("Project id '" + project.id + "' is loaded") Copy
// Get project "My Project"const project = JMap.Project.getByName("My Project")console.log("Project id '" + project.id + "' is loaded")
JMap.Project.getByName
Returns the project for the given project name.