I'm trying to get birthDate (and other date fields) of portal user(contact) in liquid in a content snippet, it give me the error "Liquid error: Object of type 'System.DateTime' cannot be converted to type 'System.String'."
firstname and lastname works fine.
Any help?
Hi Siddique,
It's so strange.
Maybe you can try to edit page in portal directly, not in the portal management.
Log in portal with administrator, and go to the page you want to click 'Edit'.
Open page copy dialog to add code:
Save it.
thank you Leah, for the quick response.
I still get the same error, tried the same as you showed it's not working on my side.
Code:
Output:
Hi Siddique,
I can use {{ user.createdon}} to get create date of contact in liquid directly.
Adis
136
Super User 2025 Season 1
Sohail Ahmed
81
Jonas "Jones" Melgaard
77
Super User 2025 Season 1