CMS Development

SKiran7
Member

HUBL filters inside Email Templates

I am trying to use the HUBL filters inside transaction emails and they are not working

0 Upvotes
3 Replies 3
Jaycee_Lewis
Community Manager
Community Manager

HUBL filters inside Email Templates

Hey, @SKiran7 👋 It's challenging for the community to help troubleshoot without more information. 

 

Here's what I'd include:

  • The specific HubL filters you are trying to use
  • A snippet of your code showing your implementation
  • What you expect to happen vs. what is actually happening

Thanks! — Jaycee


Join us on March 27th at 12 PM for the Digital Essentials Lab, an interactive session designed to redefine your digital strategy!
Engage with expert Jourdan Guyton to gain actionable insights, participate in live Q&A, and learn strategies to boost your business success.
Don't miss this opportunity to connect and grow—reserve your spot today!


Did you know that the Community is available in other languages?
Join regional conversations by changing your language settings !
0 Upvotes
SKiran7
Member

HUBL filters inside Email Templates

@Jaycee_Lewis I am trying to send a transaction email once the based on some status after ticket gets created using workflow

  1. I have filed on the ticket object Order Data(type: MultiLineText,id:order_data). I am saving the JSON data on the field 

 

{"orderNumber":"123456","orderTotal":"$123.24"}​

 

on the email template i am trying to access the above value using HUBL and using the filter `fromjson`

{% set orderObject=ticket.order_data|fromjson } and using the orderObject inside the template to display the values 

 

<p>{{orderObject.orderNumber}}<p>
<p>{{orderObject.orderTotal}}</p>

 

but i only see the empty values.

0 Upvotes
SKiran7
Member

HUBL filters inside Email Templates

@Jaycee_Lewis any update on this issue?

0 Upvotes