Symptom
- What are the supported BB codes when using Rich Text Formats (RTF) in MDF Objects?
- Where RTF is supported in MDF Objects?
- How to use RTF in MDF Objects?
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 HCM Suite
- Metadata Framework (MDF)
Resolution
Below are some examples on how to use the BB codes:
- In Configure Object Definitions, select the object you want to add the BB codes in a Help Text
- Click on Take Action > Make Correction
- Select the field you want to add the Help Text > Details
- In the Help Text field enter the text you want to display
- For Bold texts, you should use the cold as [b] Sample of text [/b]
- The same applies for italics and underline ([i] [/i] and [u] [/u])
- You can also centralize your text using [center] TEXT [/center]
- For breaking a line, simply add the code [br]
- This is how you see it in People Profile, when clicking on the field Help Text button:
You can also use BB codes in a Warning, Error or Information message.
In order to create a Business Rule to raise a message, please review Creation of a Rule That Raises a Message.
NOTE: Currently, BB codes in Warning, Error and Information messages only work in Manage Data. It doesn't work in People Profile messages.
This is planned to be fixed on B2511 release.
The following BB codes are supported for errors, warnings and information messages as well as in fields help texts:
BB Codes | Description |
---|---|
[b], [i] and [u] | Applies text format such as - bold, italics and underline, respectively. |
[color], [size] and [font] | Applies preferred fonts, color and size formattig for your help text. |
[left], [right] and [center] | Indents your text towards left, right or center. |
[email] and [url] | Includes email addresses and links in your help text. xURLs are also supported. xURLs opens the link in a new tab in your browser. |
[list] | Formats your help texts into a list. |
[image] | Inserts images in your help text. |
[code] | Inserts example code to your help text. |
[quotes] | Inserts quotes in your help texts. |
[noparse] | Retains BB codes in your help text by using this code. |
[sub] and [sup] | Applies subscript and superscript text to your help texts. |
[br] | Inserts line breaks in your help text. |
See Also
Keywords
Rich Text, BB code, b2311 release, MDF-83062, RTF, Rich Text Formatting, Message Definition, Help Text, Custom MDF, MDF Object, Warning, Error, Information, WEF-164985 , KBA , LOD-SF-MDF-OBJ , Object Definition & Field Related Issues , How To
Product
Attachments
Help Text.png |