SAP Knowledge Base Article - Public

3048344 - HTML tag is cleared on tiles

Symptom

When saving Raw HTML code to a custom tile in Manage Home Page, the HTML tag is removed by the system when saving

Environment

SAP SuccessFactors HXM Suite

Reproducing the Issue

  1. Go to Company System and Logo Settings 
  2. Enable option "Sanitise all rich text inputs" and Save
  3. Go to Manage Home Page
  4. Create a custom tile (Type =  Static, Target = Popover, RAW HTML)
  5. Add you code and save
  6. Open the tile setup again and notice the <script> tags were removed when saved

Cause

Expected behavior when the option Company System and Logo Settings  > "Sanitise all rich text inputs"  is enabled

Resolution

  • Disable Company System and Logo Settings  > "Sanitise all rich text inputs"
  • Save
  • Add your HMTL to the custom tile setup and save your tile
  • If the option is required to be on - you can then go back and enable the option again, but keep that in mind if you need to edit the tile or add other html code to another tile in the future.

Keywords

Raw HTML HTML Tags HTML Custom Tile , KBA , LOD-SF-PLT-TIL , Custome Tile Issues , Problem

Product

SAP SuccessFactors HXM Core 2105