Rich Text and HTML in Events

Introduction

You can style the text in your event's description, adding links and formatting using DayBack's expanded editor.

You can even include tables:

Note that there are a few other ways to customize the display of your events as well:

  • You can add CSS styles and icons to the event's display (what shows up in the calendar before you click on an event): Event Styles & Icons
  • And you can change the color of an event based on a field (usually "status"): Event Colors & Status

How it works 

You'll turn on HTML support with a switch under the description field in the Field Mapping section for each calendar in DayBack's admin settings:

With that switch set to on (green), DayBack will render any HTML in the description field instead of just showing it as code. 

You'll also get access to an HTML editor for entering and formatting text in your description field. Click on the pencil icon to enter the text editor.

Read-only events, and events in public shares, will see an "expand" icon instead of a pencil so they can still expand the description field into a larger window to make it more readable. This means that you can add even rich, interactive displays in your event's description. Here's an example from our timeline on the history of the polio vaccine:

Limitations

Rich text is available in every calendar source DayBack supports--not just Salesforce. Though not every source knows how to display HTML in their own calendars or native app. So HTML you add to events in DayBack will look great in DayBack but may show HTML tags when viewed in FileMaker table view, for example.

Currently, you can only add HTML to the description field. Eventually, we'd like to bring this to custom fields as well. If that's an urgent need for you, please let us know

DayBack also supports HTML that makes its way into the title field via the description; you can also style the title field using CSS


Rich Text in Salesforce

While Salesforce has a specific field type for rich text, you can turn DayBack's HTML support on for any field you've mapped to DayBack's description field. The advantage of the rich-text-specific field in Salesforce is that it will render your HTML instead of just showing it as code. (If you put HTML in a regular text field, it will look like code in Salesforce even though it looks like properly rendered HTML in DayBack.)

Note that the rich text field type is not available in the native Event object in Salesforce (you may want to upvote that feature request).