Skip to content
Branch: master
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
README.md chore(release): adjust examples for 7.11 release May 28, 2019
cats.js chore(license): add license header to JS files Jun 3, 2019
screenshot.png

README.md

Javascript Only Plugin for Camunda Cockpit

This example shows how to develop a Cockpit plugin without the need to register it with the Camunda BPM server. It makes use of the customScript property of the webapp configurations.

Built and tested against Camunda BPM version 7.11.0.

Screenshot

Integrate into Camunda Webapp

Copy the cats.js file into the app/cockpit/scripts/ folder in your Camunda webapp distribution. For the Tomcat distribution, this would be server/apache-tomcat-X.X.XX/webapps/camunda/app/cockpit/scripts/.

Add the following content to the customScripts object in the app/cockpit/scripts/config.js file:

  // …
  customScripts: {
    ngDeps: ['cockpit.cats'],

    deps: ['cats'],

    // RequreJS path definitions
    paths: {
      'cats': 'scripts/cats'
    }
  }
  // …

License

Use under terms of the Apache License, Version 2.0

You can’t perform that action at this time.