admUpdateProjectComponent
Syntax | admUpdateProjectComponent(componentStructure) | Package | adm |
Alias |
| Pkg Usage | updateComponent(componentStructure) |
Description
Updates a project component.
Parameters
Parameter name | Type | Required | Description |
|---|---|---|---|
componentStructure | Yes | Structure containing the component data to be updated. The component ID is mandatory. The componentStructure parameter should include the JComponent type. |
Return Type
None
The returned value has no meaning.
Example
JComponent comp = admGetProjectComponent("AP", "compName");
comp.name = "compName - updated";
comp.description = "compDesc";
comp.lead = "johnDoe";
comp.defaultAssignee = 2;
admUpdateProjectComponent(comp);