Home > DMT_Project > createProject
DMT_Project.createProject() method
This API is provided as a beta preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
创建工程
Signature
typescript
createProject(projectFriendlyName: string, projectName?: string, teamUuid?: string, folderUuid?: string, description?: string, collaborationMode?: EDMT_ProjectCollaborationMode): Promise<string | undefined>;
1
Parameters
Parameter | Type | Description |
---|---|---|
projectFriendlyName | string | 工程友好名称 |
projectName | string | (Optional) 工程名称,仅支持字母 |
teamUuid | string | (Optional) 团队 UUID,如若不指定,则默认为个人;在不存在个人工程的环境下必须指定团队 UUID |
folderUuid | string | (Optional) 文件夹 UUID,如若不指定,则为根文件夹 |
description | string | (Optional) 工程描述 |
collaborationMode | (Optional) 工程协作模式,如若团队权限无需工程设置协作模式,则该参数将被忽略 |
Returns
Promise<string | undefined>
工程 UUID,如若为 undefined
则创建失败