HI i try to get the statedisplayname from the table CMS_State in k# in a email notification. i have the stateID but cant figure out how to get the name. I was able to get the countryname with:
{% GlobalObjects.Countries.Where("CountryID = '" + countryid + "'")[0]["CountryDisplayName"]|(handlesqlinjection)false #%}
Thank you
i found, but i dont want te country canada static .Canada.
{%GlobalObjects.Countries.Canada.States.Where("StateID = '" + stateid + "'")[0]["StateDisplayName"] |(handlesqlinjection)false#%}
Please, sign in to be able to submit a new answer.