• JMap.Application.Project.activateById

    Activate the project for a given project id.

    If you use JMap Cloud NG, use this function instaed of JMap.Project.activateById.

    This function does the same as JMap.Project.activateById but also manages things for the application UI.

    Parameters

    • projectId: JId

      the JMap project id

    Returns JProject

    the project

    Throws

    if project id invalid or project not found

    Example

    // activate project id=33
    JMap.Application.Project.activateById(33)