SAP Knowledge Base Article - Public

3496569 - How to control the color of the progress bar that shows the completion percentage of a goal - Latest Goal Management

Symptom

This article explains how to set the color of the progress bar that shows the completion percentage of a goal.

Pasted image.png

Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental.

Environment

SAP SuccessFactors Goal Management

Reproducing the Issue



Resolution

Based on the current design, if goal completion percentage is 0, the bar is in light grey.

Pasted image.png

The color of the progress bar that shows completion percentage is determined by the color in the style attribute of the field “state” in goal plan XML.

Following is an XML example:

<field-definition id="state" type="enum" required="false" detail="false" viewdefault="on" showlabel="false" field-show-coaching-advisor="false" cascade-update="regular">
    <field-label>Status</field-label>
    <field-description>Status</field-description>
    <enum-value value="No Longer Valid" style="background:white;color:#693EC6">
      <enum-label>No Longer Valid</enum-label>
    </enum-value>
    <enum-value value="On Track" style="background:white;color:#4877BE">
      <enum-label>On Track</enum-label>
    </enum-value>
    <enum-value value="Behind" style="background:white;color:#C41515">
      <enum-label>Behind</enum-label>
    </enum-value>

On the UI, it will show as the following if you switch among the statuses:

Pasted image.png

If no color is defined in XML, the progress bar will show as deep grey.

Pasted image.png

Note: In order to make changes in the XML, please contact your Implementation Partner. If you don't have a Partner, you can find for SAP Certified Partners via the SAP Partner Finder or, alternatively, speak with your Account Executive or Customer Engagement Executive about Professional Services options. 

See Also

User Assistance Document

Changes to Goal Plan Templates>Changes to Fields

Keywords

process, complete, %, done, field, goal, card, color, colour , KBA , LOD-SF-GM-TMP , Template Management , How To

Product

SAP SuccessFactors Performance & Goals all versions

Attachments

Pasted image.png
Pasted image.png