Access Parent Application Object

The Parent (TPO) application exposes an object which holds context data. This object can be retrieved by invoking elli.script.getObject() method.

var tpoAppObject = null;
elli.script.getObject("tpoApplication").then(function(tpoApplicationObject) {
	tpoAppObject = tpoApplicationObject;
})