Hi All,
I am passing velocity variables like $e.name to JS and able to retrieve the same. But, I was also passing $entities to JS and was able to retrieve which all of a sudden is not working anymore. Could you please suggest what could be wrong in the below snippet and any alternatives?
#set($entitylist=$entities)
<script type="text/javascript">
var listofitems= "${entitylist}";
console.log(listofitems);
</script>