Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Table plus
applyColStyleToCelltrue
heading0
columnTypess,s,s,s
multiplefalse
columnAttributesstyle="background:#e5e7ea;font-weight:bold,,style="background:#e5e7ea;font-weight:bold,
enableSortingfalse

Syntax

admUpdateProjectComponent(componentStructure)

Package

adm

Alias

Pkg Usage

updateComponent(componentStructure)

Description

Excerpt
hiddentrue

Updates a project component.

Updates a project component.

...

Table plus
applyColStyleToCelltrue
columnTypess,s,s,s
heading0
multiplefalse
enableSortingfalse

Parameter name

Type

Required

Description

componentStructure

JComponent

Yes

Structure containing the component data to be updated.

Component id

The component ID is mandatory. The componentStructure parameter should

have

include the JComponent type

described here

.

Return Type

None

Return The returned value has no meaning.

Example

Code Block
JComponent comp = admGetProjectComponent("AP", "compName");
comp.name = "compName - updated";
comp.description = "compDesc";
comp.lead = "johnDoe";
comp.defaultAssignee = 2;
admUpdateProjectComponent(comp);

See also

Filter by label (Content by label)
showLabelsfalse
max25
showSpacefalse
cqllabel = "component_admin_routine" and space = currentSpace ( )
labelsarray_routines