service portal widgets: use pre to display data.events as a JSON object

enter anywhere in the HTML template of the widget

 <pre>{{c.data.events}}</pre>


(server script populates the data.events)


Comments

Popular posts from this blog

Running transform maps asynchronously

GlideRecord setValue

Post a command to the ECC queue for the mid server to initiate a powershell file copy