I am trying to add an expression into a HTML file - for eample:
Hello {{ $('Set Names').item.json.fname }}
It works if I just paste the text into a generateHTMLtemplate node - but I want to pull the HTML template from an external source like (in this case Cockpit):
If I add the ‘content’ field to a HTML node I get this:
The expression is displayed as text.
But, if I add the expression after the content it will show the name - like this:
Note it only shows the first instance - and shows the expression at the end - adding a second instance will do this:
How do I get the HTML node to pull in the expression data correctly??
Thanks!




