Info | ||
---|---|---|
| ||
This routine is available starting with katl-commons SIL Engine™ 2.5.8. |
Syntax
admProjectProperties(pkey)
...
Excerpt |
---|
Returns the project properties. |
Parameters
Parameter name | Type | Required | Description |
---|---|---|---|
pkey | string | yes | Project key. |
Return type
Project
The properties of the project.
The returned properties keys are:
Key | Description |
---|---|
key | Project key (for completitude, it's the same as the one given as parameter). |
name | Name of the project. |
description | Description of the project. |
projecttype | Project type key. |
lead | Lead. |
url | URL of the project. |
unassignedByDefault | 'True'/'false', depending of the assignment option. |
avatarId | Avatar id, zero if no avatar. |
category | Project category name. |
Example
Code Block |
---|
JProject prj = admProjectProperties("T3"); string msg1 = "Project description is:" + prj["description"] + "; category is:" + prj["category"]; string msg2 = "This project belongs to:" + prj["lead"]; number avatarId = prj["avatarId"]; string projectType = prj["projecttype"]; |
...