SAP Knowledge Base Article - Public

3086440 - Updating the Job Description through OData API is not respecting the line breaks - Recruiting Management

Symptom

When updating the job description of a job requisition through OData API, the query is not respecting the line breaks in the job requisition UI, it shows everything as a simple sentence:

While the query is:

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 Recruiting Management

Cause

It's an expected behavior to be shown as a single line because the API is only reading the information as plain text and the spaces between words. Since there is not HTML tags on it to add the break lines, it will show up as plain text.

Resolution

To add the break lines, you will need to add <br /> as part of your request so that it will add different lines:

This way, in the job description, it will display correctly with the broken lines:

Keywords

api, break, lines, requisition, html, job, requisition, description, profile, header, odata, jobdescription, externaljobdescription, format. , KBA , LOD-SF-RCM-API , Webservices & APIs , Problem

Product

SAP SuccessFactors HCM suite all versions ; SAP SuccessFactors Recruiting all versions