getComponent

getComponent

 

Syntax

getComponent(projectKey, componentName)

Package

adm

Alias

admGetProjectComponent(projectKey, componentName) //deprecated

Pkg Usage

getComponent(projectKey, componentName)

Syntax

getComponent(componentId)

Package

adm

Alias

 

Pkg Usage

getComponent(componentId)

Description

Returns a JComponent for either a component id or a specified project and component name.

Parameters

Parameter name

Type

Required

Description

Parameter name

Type

Required

Description

projectKey

String

No

Project key.

componentName

String

No

Name of the component.

componentId

Integer

No

Component id.

Return Type

JComponent

Example 1

getComponent("TEST", "sil");

Returns a JComponent structure for the "sil" component in the "TEST" project.

Example 2

getComponent(10000);

Returns a JComponent structure for the 10000 component ID.

See also

Need support? Create a request with our support team.

Copyright © 2005 - 2026 Appfire | All rights reserved.