PipelineInspMetricConfig defines the settings of Pipeline Inspection forecast category metrics, including their customized labels and cumulative status. The component identity, selected metric, and label are separate: fullName identifies the metadata component, metric selects the metric it describes, and masterLabel supplies the customized label.
Key Elements
| Element | What the Element Controls |
|---|---|
fullName |
Identifies the metadata component. This field is inherited from Metadata; it is distinct from the metric selection and customized label. |
metric |
Required. Selects the Pipeline Inspection metric. Allowed values are BestCase, ClosedLost, ClosedWon, Commit, MostLikely, OpenPipeline, and TotalPipeline. |
masterLabel |
Required. Supplies the customized metric label, with a maximum length of 50 characters. |
isCumulative |
Required and read only. Reports whether the metric is cumulative: true means cumulative and false means not cumulative. The default is true. |
isProtected |
Indicates whether the component is protected. The default is false. This flag is separate from user access permissions. |
Behavior and Constraints
Access to this metadata type requires either the Customize Application permission or the Modify All Data permission. The value of isProtected does not replace that access requirement.
A label change and a metric change have different meanings. Editing masterLabel customizes the label; changing metric selects which Pipeline Inspection metric the configuration describes. Do not treat a label edit as a change to the selected metric or the component's fullName.
Although isCumulative is required, it is read only. Treat it as reported configuration state, not as a writable switch for changing how the metric accumulates values.
Deployment and Retrieval
For file-based deployment and retrieval, components reside in the pipelineInspMetricConfigs folder and use the .pipelineInspMetricConfig suffix. In package.xml, use PipelineInspMetricConfig as the metadata type name. The manifest supports * in members to select all components of this type.
Keep the required fields in mind when inspecting component XML: metric selects the metric, masterLabel must stay within 50 characters, and isCumulative is required but read only. Its presence in a component definition does not make cumulative behavior editable.
Associated translation metadata is relevant when assessing label changes. The translation relationship does not by itself establish a required deployment sequence.
Relationships
PipelineInspMetricConfig extends the base Metadata type and inherits fullName. Separately, translation components can reference a metric configuration, connecting customized metric labels with translation metadata.
Referenced By
-
Translations:name.
Common Questions
How do I rename a Pipeline Inspection metric label?
Use masterLabel for the customized label, up to 50 characters. Keep this separate from metric, which selects the metric, and fullName, which identifies the metadata component. Assess associated translation metadata when changing labels.
Can I change cumulative behavior with isCumulative?
No. isCumulative is required but read only. It reports cumulative status and defaults to true; it is not a writable configuration switch.
How do I retrieve all PipelineInspMetricConfig components?
Use PipelineInspMetricConfig as the type name and * as the member in package.xml. Component files use the .pipelineInspMetricConfig suffix in the pipelineInspMetricConfigs folder.
Which permission is required to access PipelineInspMetricConfig?
A user needs either Customize Application or Modify All Data. The component's isProtected flag is separate from this permission requirement.