APIs & Integrations

fwcovisum
Member

How to Display Enum Label in Timeline Event

SOLVE

I have an event with the following header template:

{{contactemail}} successfully registered for a free trial of {{product}}

“product” is an enum. Currently it use using the value of that enum instead of the label. e.g:

Bob@123.com successfully registered for a free trial of 3

I would like it to output this:

Bob@123.com successfully registered for a free trial of Tax Clarity

Is there anyway I can accomplish that? I tried using {{product}}.Label and {{product.label}}, but neither worked.

0 Upvotes
1 Accepted solution
Derek_Gervais
Solution
HubSpot Alumni
HubSpot Alumni

How to Display Enum Label in Timeline Event

SOLVE

Hi @fwcovisum,

Thanks for your patience on this. This has been resolved; the property label will now display in the timeline event, rather than the property value.

View solution in original post

0 Upvotes
3 Replies 3
fwcovisum
Member

How to Display Enum Label in Timeline Event

SOLVE

Great! Thanks for the update. That helps us out a lot.

Derek_Gervais
Solution
HubSpot Alumni
HubSpot Alumni

How to Display Enum Label in Timeline Event

SOLVE

Hi @fwcovisum,

Thanks for your patience on this. This has been resolved; the property label will now display in the timeline event, rather than the property value.

0 Upvotes
Derek_Gervais
HubSpot Alumni
HubSpot Alumni

How to Display Enum Label in Timeline Event

SOLVE

Hi @fwcovisum,

Right now, it appears you can only print the value of an enumeration field. I'll touch base with product to see if this is intentional or not. I'll update this thread when I have more information.

0 Upvotes