ngDefine(..., [...], function (module, ...) {
...
var ViewController = function ($scope, ...) {
var processDefinition = $scope.processDefinition;
// get the process definition id
var processDefinitionId = processDefinition.id;
// perform your logic
...
};
ViewController.$inject = ['$scope'];
module.config(function(ViewsProvider) {
ViewsProvider.registerDefaultView('cockpit.some-view', {
id: 'some-view-special-plugin',
label: 'Very Special Plugin',
url: 'plugin://myPlugin/static/app/view.html',
controller: ViewController
});
});
});
Hi Rob.
Back from vacation I wanted to ask if you drove this further? Is it maybe possible even to share some code? If it is still project specific you could send it privately to me and I could maybe take care to make it generic and add an example?
Background: We have our yearly “ShipItDay” where we build cool stuff in 48 hours (literally – sleeping is optional ;-)). We have a small team of 4 guys who wants to deliver something cool around cockpit plugins (stay tuned! Don’t want to leak too much information beforehand) – and it would be really nice to have this as an additional example.
Thanks a lot and looking forward to meet you in Semptember!
Cheers
Bernd
Consultant & Evangelist (www.camunda.org/community/team.html)
We are hiring: http://www.camunda.org/community/jobs.html
--
You received this message because you are subscribed to the Google Groups "camunda BPM users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to camunda-bpm-us...@googlegroups.com.
To post to this group, send email to camunda-...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/camunda-bpm-users/f002936f-ea6e-48a0-a437-f262d013c847%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.