Skip to end of banner
Go to start of banner

admProjectProperties

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 6 Next »

Availability

This routine is available starting with SIL Engine™ 2.5.8.

Syntax

admProjectProperties(pkey)

Description

Returns the project properties.

Parameters

Parameter name

Type

Required

Description

 pkeystringyesProject key.

Return type

Project

The properties of the project.

The returned properties keys are:

KeyDescription
keyProject key (for completitude, it's the same as the one given as parameter).
nameName of the project.
descriptionDescription of the project.
projecttypeProject type key.
leadLead.
urlURL of the project.
unassignedByDefault'True'/'false', depending of the assignment option.
avatarIdAvatar id, zero if no avatar.
categoryProject category name.

Example

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"];

See also

  • No labels