What’s odd, is the formatDate works fine, but when I try to titlecase or capitalize the title.name or company.name - the code exists but when I try to render the data in the browser - the line with the titlecase or capitalize formula dissappears.
Assuming I’m just doing something wrong - so any guidance appreciated.
I tested this and it seems to be working fine. Tested on a content page on a NodeJS project, as i know that’s what you are using. Can you please check for errors or warnings in the console once again?
Hi @patrick - thank you, unfortunately this didn’t solve it. The dates show up - but the title and company name are not visible.
On the rows beneath with the same string but [1] and [2] etc. without the titlecase formatter they render fine, just lowercase.
@Teodor checked again, no errors in the console, or network tab. Some sourcemap warnings etc. but nothing relating to this.
Could you type dmx.parse('_source.experience.name[0].title') inside the console and see what it returns. Then try dmx.parse('"mytitle".titlecase()') and see what that outputs.