GOGETMUSCLE Community Using HubL filters and functions on custom properties

Using HubL filters and functions on custom properties

Hello everyone!

Hoping to be able to pull from someones experiance to help overcome a challenge we are facing.

We have created an HTML&HubL document to use as an email template to create notices to our exitsing customers of coming service changes. This will require several custom contact properties I have created, and some significant manipulation of those properties.

Here is a simple example that should, but does not work:
{% set new_day = contact.new_delivery_day%}

New Day:{{new_day|lower}}

 
The following works as expected:

lower test: {{ “THURSDAY”|lower }}

Our suspision is that HubL is not treating the values of these properies as strings but some other datatype, so we also tried first applying the string filter:
{% set new_day = contact.new_delivery_day|string%}
But this did not change the results.
Any assistance you can offer will be greatly appreciated!

Leave a Reply

Your email address will not be published.

Related Post