Symptom
It is needed to embed an image in document generation template to generate document. The image needs to float over the words.
Environment
SAP SuccessFactors Employee central
- Document Generation
Resolution
- Click the three dots in Template content to edit the style in "Show Source Code" in Document Generation Template
- Using below script
-
<div style="position: relative;">
<p style="margin: 0; padding: 20px;">
This is background words。
</p>
<img src="your-image.png" style=" position: absolute; top: 50%; left: 50%; opacity: 1; " />
</div>
-
- Change parameters to fit your requirement
See Also
- SAP Help Portal - SAP SuccessFactors Product Release & Road Map Information
- SAP Help Portal - SAP SuccessFactors Patches Knowledge Base
- KBA 2171560 - How to be notified of new or updated SAP Notes or KBAs
Keywords
Product
SAP SuccessFactors Employee Central all versions ; SAP SuccessFactors HCM Core all versions ; SAP SuccessFactors HCM Suite all versions
SAP Knowledge Base Article - Public