MetricSet.findElement Method

Given the original structure ID and unique name, finds the matching element on the metric set. This is required because addElement does not return which item was added, and the unique name might not exactly match.
 

Parameters

originalStructureId

Type: String
The original structure ID.
originalUniqueName

Type: String
(optional) The original unique name. This might be null if a Hierarchy / Time Dimension file was provided instead.
Optional: True

Return Value


Type: AnalysisElementUsage - May be null
The element, or null if we couldn't find it.