We have a custom view for contacts which we have set up with a controller and templates to show a read-only "report" for the contact.
We added an action button to the record view to load the custom view. This is working OK.
Now we would like to add a dashlet to the Contacts Focus Dashboard which shows this custom "report" view.
We already have a standard "record view" dashlet on the dashboard.
We have tried making a very simple custom dashlet, specifying the 'Dashlet' plugin for the controller.
The custom dashlet appears in the list of dashlets when we try to ADD DASHLET to the focus dashboard.
However, when we CLICK the dashlet name to add it, the debugger pauses at EXCEPTION at
onAttach: function () { this.on("init", function () { this.dashletConfig = app.metadata.getView(this.module, this.name); this.dashModel = this.layout.context.get('model'); ... } ... }