Source: https://vaultcrmhelp.veeva.com/doc/Content/CRM_topics/Events/AE/EventSpeakerEventSessionToken.htm

## Event Session and Speaker Tokens

To better communicate the agenda of large-scale events, content creators can add tokens to Approved Emails sent from Events Management that render as tables listing the event’s sessions and speakers. This provides a better overview of what the event is about, enabling attendees to better plan for the event.

**Who can use this feature?**

* Content Creators - Browser, iPad
* [Adding the Event Sessions Table to Approved Email Content](#Adding)
* [Adding the Event Speakers Table to Approved Email Content](#Adding2)
* Users require Approved Email and Events Management Licenses

### Configuring Event Sessions and Event Speaker Tokens for

[![Closed](../../../../Skins/Default/Stylesheets/Images/transparent.gif)All Users](#)

To configure this feature, ensure [Using Approved Email for Events Management](ApprovedEmailforEM.htm) is complete.

### Adding the Event Sessions Table to Approved Email Content as

[![Closed](../../../../Skins/Default/Stylesheets/Images/transparent.gif)Content Creators](#)

To add the Event Sessions table for Approved Email content, add the {{EventSession}} token to the appropriate Approved Email Templates used as invitations for Events. If you are using Vault to create the email template, this token can be added via the [BEE Editor](https://commercial.veevavault.help/en/gr/33820/).

The Sessions Table token contains the following parameters, all of which can be used together to create specific and relevant tables:

* [tableHeader](#The) – Defines the table’s header
* [fields](#The2) – Defines the columns of the table. At least one field must be referenced for the table to render.
* [sort](#The3) – Defines the field to sort em\_event\_session\_\_v records by, as well as if records should sort in ascending or descending order

Line breaks and spaces are not supported in this token.

#### The tableHeader Parameter

Content creators can specify the table’s title using the tableHeader= parameter.

For example, {{EventSession[fields=session\_title\_\_v;tableHeader=Sessions]}} would render the table with a header of Sessions.

The tableHeader parameter is not translated.

#### The fields Parameter

Use the token’s [fields=Field1APIName, Field2APIName] parameter to define a comma-separated list of em\_event\_session\_\_v fields to display as columns of the table.

At least one field must be added to the token in order for the table to render.

For example, {{EventSession[fields=session\_title\_\_v, description\_\_c]}} renders the table with two columns representing the session\_title\_\_v and description\_\_c fields.

Content creators can specify the [format of Date, Time, or DateTime fields](../../Multichannel/ApprovedEmail/CreatingContent/FormattingDateTime.htm).

#### The sort Parameter

By default, em\_event\_session\_\_v records sort in the table based on their start\_time\_\_v field values.

Content creators can use the sort= parameter to specify a different field and sort order for the table.

For example, {{EventSession[fields=session\_title\_\_v, description\_\_c;sort=session\_title\_\_v, asc]}} sorts the list in ascending order based on the session\_title\_\_v field values.

#### Customizing Styles for the Event Sessions Table

Content creators can customize the styling of the Event Session table by adding the following CSS class selectors to the <style> tag of the Email Template:

* .eventsession – Controls the style of the overall table
* .eventsession th – Controls the style of the table header row
* .eventsession tr – Controls the style of table rows
* .eventsession td – Controls the style of table cell content

![](../../../Resources/Images/Events/AE/SessionSpeakerTokens.png)

### Adding the Event Speakers Table to Approved Email Content as

[![Closed](../../../../Skins/Default/Stylesheets/Images/transparent.gif)Content Creators](#)

To add the Event Speakers table to Approved Email content, add the {{EventSpeaker}} token to the appropriate Approved Email Templates used as invitations for Events. If you are using Vault to create the email template, this token can be added via the [BEE Editor](https://commercial.veevavault.help/en/gr/33820/).

If [Sending Approved Emails to Out of Territory Accounts](ApprovedEmailforEM.htm#Sending2) is enabled, an internet connection is required when sending Approved Emails containing this token if the list of event speakers includes out-of-territory accounts.

The Speaker Table token has the following parameters, all of which can be used together to create specific and relevant tables:

* [tableHeader](#The7) – Defines the table’s header
* [fields](#The6) – Defines the columns of the table. At least one field must be referenced for the table to render.
* [status](#The5) – Filters the list of Event Speakers based on their status\_\_v fields
* [sort](#The4) – Defines the field to sort em\_event\_speaker\_\_v records by, as well as if records should sort in ascending or descending order

Line breaks and spaces are not supported in this token.

#### The tableHeader Parameter

Content creators can also specify the table’s title using the tableHeader= parameter.

For example, {{EventSpeaker[fields=speaker\_formatted\_name\_\_v;tableHeader=Speakers]}} would render the table with a header of Speakers.

The tableHeader parameter is not translated.

#### The fields Parameter

Use the token’s [fields=Field1APIName, Field2APIName] parameter to define a comma-separated list of em\_event\_speaker\_\_v fields to display as columns of the table.

At least one field must be added to the token in order for the table to render.

For example, {{EventSpeaker[fields=speaker\_formatted\_name\_\_v, speaker\_\_vr.biography\_\_c]}} renders the table with columns representing the speaker\_formatted\_name\_\_v field, as well as the custom biography\_\_c field referenced from the speaker\_\_v field.

Up to five levels of relationship references are supported. For example, speaker\_\_vr.account\_\_vr.primary\_parent\_\_vr.primary\_owner\_\_vr.email\_\_sys

Content creators can specify the [format of Date, Time, or DateTime fields](../../Multichannel/ApprovedEmail/CreatingContent/FormattingDateTime.htm).

#### The status Parameter

Content creators can filter the list of Event Speakers based on their status\_\_v fields using the status= parameter.

For example, {{EventSpeaker[fields=speaker\_formatted\_name\_\_v, biography\_\_c;status=approved\_\_v, invited\_\_v]}} filters the list of Event Speakers to only display speakers with a em\_event\_speaker\_status\_\_v field of approved\_\_v or invited\_\_v.

#### The sort Parameter

By default, em\_event\_speaker\_\_v records sort in the table based on their first\_name\_\_v fields. Content creators can use the sort= parameter to specify a different field and sort order to use instead.

For example, {{EventSpeaker[fields=speaker\_formatted\_name\_\_v, speaker\_\_vr.biography\_\_c;sort=speaker\_formatted\_name\_\_v, asc]}} sorts the list in ascending order based on the speaker\_formatted\_name\_\_v field.

#### Customizing Styles for the Event Speakers Table

Content creators can customize the styling of the Event Speakers table by adding the following CSS class selectors to the <style> tag of the Email Template:

* .eventspeaker – Controls the style of the overall table
* .eventspeaker th – Controls the style of the table header row
* .eventspeaker tr – Controls the style of table rows
* .eventspeaker td – Controls the style of table cell content

### Related Topics

[Using Approved Email for Events Management](ApprovedEmailforEM.htm)

[Formatting Tokens to Display Date and Time](../../Multichannel/ApprovedEmail/CreatingContent/FormattingDateTime.htm)

[Adding Event Speakers to an Event](../Speakers/AddEventSpeakers.htm)

[Using the BEE Email Template Editor](https://commercial.veevavault.help/en/gr/33820/)
