You can store HTML-formatted text in Business Central using the extended text functionality. This lets you add bold, italic, underline, and different text sizes to descriptions instead of plain text only.
You access this feature through the extended text on master data such as customers and items. Each extended text line holds up to 1,000 characters, and you can add as many lines as you need.
Use the HTML editor view to paste and format your text. When you save, Business Central converts it to HTML text and automatically splits the content into separate lines based on the length.
This is useful when you work with webshops or catalogs where the text needs to look good and be stored directly in Business Central.
Storing HTML text in Business Central extended text
Business Central lets you store HTML text as part of the extended text on your records. The extended text is available as long description and extended text, including language-specific extended text. This means you are not limited to plain text when you describe customers, items, or other master data.
To find it, go to the master data information on a record. On a customer, for example, you open the extended text where you can already have text stored. The standard extended text is shown as a list of lines. Each line can hold up to 1,000 characters, and you can add as many lines as you want.
Switching to the HTML editor view
In addition to the normal text view, you can view the extended text as HTML. When you open the HTML editor, you can paste normal extended text directly and format it. You can apply bold, italic, underline, and different text sizes.
When you press OK, the content is returned as HTML text. If you then look at it in the normal extended text view, you see it stored as HTML.
How the text is saved and split into lines
Here is a simple example. If you type a word such as “claims” and want it bigger, you can paste normal text into the HTML editor and make it bold. After you save it, the normal extended text view shows that it has been turned into HTML text. Business Central automatically cuts the content into separate lines depending on the length of the text.
When this is useful
This is a good fit if you work with webshops or catalogs, or any place where you want the text to look nice and still keep it stored in Business Central. You get formatted descriptions without leaving the system.
Q&A
Can you store formatted text in Business Central extended text?
Yes. You can store HTML text in the extended text, which lets you apply bold, italic, underline, and different text sizes instead of plain text only.
How many characters can each extended text line hold?
Each extended text line can hold up to 1,000 characters, and you can add as many lines as you need.
How do you add HTML formatting to extended text?
You open the HTML editor view of the extended text, paste your text, and apply formatting such as bold, italic, underline, and size. When you press OK, Business Central saves it as HTML text.
What happens to the text when you save it as HTML?
Business Central converts the content to HTML text and automatically splits it into separate lines based on the length of the text.
When should you use HTML text in extended text?
Use it when you work with webshops or catalogs, or anywhere you want the text to look good while keeping it stored directly in Business Central.
