SAP Knowledge Base Article - Public

2138969 - Error in SuccessFactors Learning: HTML Text entered did not pass AntiSamy validation


While adding hyperlinks to item descriptions you may receive a popup of the error:

  • HTML Text entered did not pass AntiSamy validation


SAP SuccessFactors Learning

Reproducing the Issue

  1. Edit the description of an item
  2. Click on the add hyperlink button
  3. Enter a website
  4. Change the Target tab to be New Window
  5. Click Save and Close or Save to see the error


  • AntiSamy is used to enforce more restrictive limits on data used in HTML
  • This is meant to prevent potentially malicious data from entering the system


  • You can choose to not change the target for the url, leaving the target as the default <not set>
  • You may also choose to disable AntiSamy
  • The system has other measures to protect against malicious attacks so if necessary there is the option to turn AntiSamy off
  • To turn this feature on or off you may change the following configuration
    • System Admin > Configuration > System Configuration > Web_Security > enableAntiSamyForHTMLContent


HTML Text entered did not pass AntiSamy validation connector lms validation exception sf item , KBA , LOD-SF-LMS-CON , Connectors , LOD-SF-LMS-ITE , Items , Problem


SAP SuccessFactors Learning all versions