Register and Connect
SYMPHONY.application.register()
register : function(id, servicesWanted, servicesSent)// Register the "hello" application with the Symphony client
// Subscribe our application to Symphony's services
// Register the "hello" app's controller service (this service must be registered using SYMPHONY.services.register())
SYMPHONY.application.register(
"hello",
["modules", "applications-nav", "ui", "share", "commerce"],
["hello:controller"]
).then(function(response) {
var userId = response.userReferenceId;
}));SYMPHONY.application.connect()
Last updated
Was this helpful?