SAP Knowledge Base Article - Public

2958226 - HTML Codes displaying in JPB Content - Employee Profile

Symptom

HTML codes being displayed in JPB exported content:

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 Employee Profile

Reproducing the Issue

When exporting some JPB content via "Manage Job Profile Content Import/Export", the file is bringing some HTML codes:




Please note that other tags can be displayed, as well. Such as:
<div>
<table align="left" hspace="0" style="border: rgb(0, 0, 0); border-image: none;" vspace="0">
<tbody>
<tr>
<td align="left" style="padding: 0in 9pt; border: rgb(0, 0, 0); border-image: none;" valign="top">
<p style="margin: 0in 0in 8pt; text-align: justify;"><font face="Candara"><span style="line-height: 107%;"><font color="#000000"><font size="2"> </font></font></span><font size="2"><font color="#000000"></font></font></font></p>

<p style="margin: 0in 0in 0pt; text-align: justify;"><span style="line-height: normal;"><b><span style="font-size: 10pt;"><span style="color: rgb(50, 62, 79);"><font face="Candara">&nbsp;</font></span></span></b></span></p>
</td>
</tr>
</tbody>
</table>
</div>


Cause

This happens when the text was copied directly from MS Word (with its formatting), and pasted in JPB.

Resolution

In order to fix the exported file's formatting, you can remove all tags, leaving only the text, and re-import it to the system via "Manage Job Profile Content Import/Export".

Another option would be to copy the text from the NotePad, instead of MS Word, as NotePad will not bring any formattings, and paste it to JPB.

Keywords

HTML, tag, code, JPB, job, profile, builder, long, short, decription, manage job profile content import/export, export, file, XML, MS Word, format, formatting, text,  , KBA , LOD-SF-TIH-JPB , Job Profile Builder , Problem

Product

SAP SuccessFactors HXM Suite 2105

Attachments

Pasted image.png