Symptom
This article explains how to set the color of the progress bar that shows the completion percentage of a goal.
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.
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:
If no color is defined in XML, the progress bar will show as deep grey.
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
Keywords
process, complete, %, done, field, goal, card, color, colour , KBA , LOD-SF-GM-TMP , Template Management , How To
Product
Attachments
Pasted image.png |
Pasted image.png |