Clone external Json?

I forgot to mention it’s already possible to achieve what you describe using a custom module:

var widgetData = loadJSON('widget-data.json')

app.on('sessionOpened', function(data, client) {

    receive('/EDIT', 'widget_id', JSON.stringify(widgetData), {clientId: client.id})

})

Resources:

1 Like