I have a content snippet accessing the contact record via the user variable.
let currentMembershipLabel = '{{ user.abc_membershiptype.label}}';
let currentMembership = '{{ user.abc_membershiptype.value}}';
The currentMembershipLabel has the correct text for the option set value selected, however the .value gets a type conversion error:
'Liquid error: Object of type 'System.Int32' cannot be converted to type 'System.String'.';
I have tried:
- let currentMembership = '{{ user.abc_membershiptype.value | string }}';
- let currentMembership = {{ user.abc_membershiptype.value}};
however i get the same error.
Thanks in advance for your assistance.