SAP Knowledge Base Article - Public

2438016 - LMS Notification Editor issue with Direct Links in Syntax Tags

Symptom

  • Notification email sent shows HTML code for URI Links and other included direct link syntax tags
  • This only occurs if the Notification Template is set to "Use Editor Content When Sending Email Notification"

Environment

  • SAP SuccessFactors
  • Learning Management System (LMS)
  • Notifications

Reproducing the Issue

This example is specific to the Recommendations Newsletter but can occur with any Notification Template that includes Direct / Deep Links or Syntax Tags that contain Direct Links:

  1. Login to Learning Admin
  2. Go to System Admin > Configuration > Notification template
  3. Search for ApmRecommendationsNewsletter
  4. Check Launch editor and apply changes.
  5. From Learning Home, recommend any existing item in learning page to another user account
  6. Go to System Admin >Automatic Process > schedule Recommendation Newsletter to run immediately
  7. Note the received email shows HTML code:
    1. HTMLShowing.png

Additional issues:

  • When reviewing the Message Body in the Notification Editor, the "P2P_RECOMMENDATION_ACCESS_URI" and ADMIN_RECOMMENDATION_ACCESS_URI Syntax Tags appear to have other tags within them
  • The Editor does not allow the (x) to be clicked to remove the Access URI Syntax Tags
  • The Source Code view shows the same thing, that the tags appear to be spliced within each other
    • TagsBroken.png
  • Label errors appear when attempting to remove the bad tags:
    • label.Error
    • Please report the following error to your system administrator error.instruction:
    • The page you requested does not exist: /ui/learning-notification-editor/pages/admin/ <span class= error.instruction.httpError.404

Cause

  • The Notification Editor has a limitation that does not support Direct / Deep Links in Syntax Tags

Resolution

  • Support for Direct Links in the Notification Editor is being added in Release b1705 under LRN-16920

Workarounds:

I. Set the Recommendation Newsletter Notification to use the plain text notification instead of the Notification Editor (this is the easiest workaround and will allow the direct links to be used in the Notification):

  1. Login to Learning Admin
  2. Navigate to System Admin > Configuration > Notification Templates
  3. Search for and open Templated ID = ApmRecommendationsNewsletter
  4. Click the "Messages" tab on the left
  5. Uncheck "Use Editor Content When Sending Email Notification:"
  6. Click "Apply Changes" to save the changes

II. Remove the Syntax Tags that contain Direct Links

This will require the Source Code in the Notification Editor to be modified since the Editor does not allow them to be removed from the rich text editor and therefore knowledge of HTML is needed:

  1. Login to Learning Admin
  2. Navigate to System Admin > Configuration > Notification Templates
  3. Search for and open Templated ID = ApmRecommendationsNewsletter
  4. Click the "Messages" tab on the left
  5. Click the hyperlink for "Launch Editor"
  6. Click the icon for '<>' in the tool bar to launch the source code editor
  7. Modify the source code manually to remove the tags for the direct links

Do note that this workaround will not allow the use of Direct Links in the Notification, therefore the first workaround above is recommended.

Keywords

SF SuccessFactors Learning Management System LMS Notification Template Editor P2P_RECOMMENDATION_ACCESS_URI ADMIN_RECOMMENDATION_ACCESS_URI Direct Deep Link URL syntax tag html code display show appear email mail URI recommend access hyperlink Learning Recommendation Page button launch LRN-13563 LRN-16920 APM Recommendations Newsletter ApmRecommendationsNewsletter label.Error error.instruction , KBA , LOD-SF-LMS-NOT , Notifications , LOD-SF-LMS , SuccessFactors Learning , Bug Filed

Product

SAP SuccessFactors Learning all versions