SAP Knowledge Base Article - Public

2087474 - How can we hide the link text from email body in some email notifications?

Symptom

  • Email notifications contain long URLs that are not user-friendly.
  • How can the link text be hidden from the email body in email notifications?
  • How can a URL be displayed as a clickable hyperlink with custom text instead of displaying the entire URL as plain text?

Environment

SAP SuccessFactors HCM Suite

Resolution

IMPORTANT: This is considered a customization implemented on the customer side. SAP cannot guarantee or take ownership of how HTML code is rendered across different email servers or email clients.

For example, consider the following URL: 
https://host.successfactors.com/acme?_s.crb=0000000000000#focus

  1. Go to Admin Center > Email Notification Template Settings (or to the Send User Welcome Email tool, depending on the notification being used).
  2. Select the email notification template where the long URL is displayed.
  3. Replace the plain URL with the following HTML code:
    <a href=https://host.successfactors.com/acme?_s.crb=0000000000000#focus>click here</a>
  4. The URL will then be displayed as a clickable hyperlink with the text click here instead of showing the full URL.


Notes

  • It is not possible to change the displayed text of hardcoded system-generated links, such as: [[SET_PASSWORD_URL]].
  • To use HTML code for hyperlinks in email notifications, the instance must first be configured to use HTML email notifications. Refer to KBA 2087486 - How to enable HTML email notifications in SuccessFactors?

See Also

KBA 2087486 - How to enable HTML email notifications in SuccessFactors?

Keywords

URL too big, customization, e-mail, email, hyperlink, sf long link, sf email, sf edit, sf admin tools, sf email notifications, sf platform, Send User Welcome Email, Token, Customize, Customizing, Customization, Send System Message Email Notification, URL, deeplink, link  , KBA , LOD-SF-PLT-NOT , Email Notifications , How To

Product

SAP SuccessFactors HCM Suite all versions