BPMExt-Core.zip is the ZIP managed asset that carries the Coach Framework extension JavaScript of the BPM UI Toolkit (Spark): BPMExt-Core.js plus its dependencies. There is no "plus button" for zip assets - the web file editor of Process Designer only lets you replace a zip as a whole (the "+" / upload icon appears for the toolkit's files list, not inside the zip). To add or change BPMExt-Core.js:
- Do not edit the IBM toolkit: it is read-only (system toolkit) and every fix pack replaces it.
- Put your own file into your toolkit: Toolkit > Files > Web files > upload BPMExt-Core-custom.js (or a zip with several files); reference it from a coach view (Included scripts) that every coach includes - scripts inside a zip are referenced as zipname.zip/path/file.js in the include list.
- If you must override a function of the framework, do it after the framework loaded: include your file in a view that is placed after the toolkit's views, and patch the function on bpmext.ui / window.bpmext at load.
// custom-overrides.js in your toolkit (included by a "Framework Overrides" coach view on every coach)
(function () {
if (!window.bpmext || !bpmext.ui) return;
var original = bpmext.ui.formatNumber; // example: wrap a framework function
bpmext.ui.formatNumber = function (n, opts) { return original.call(this, n, opts).replace(/ /g, " "); };
})();Note the toolkit version: on 8.5.7 the UI Toolkit came from Salient as "Spark UI Toolkit" (BPMExt-Core.zip inside it); IBM's later "BPM UI Toolkit" (SYSBPMUI) restructured the files (bpmui.js). Copying a newer BPMExt-Core.js into an old toolkit does not work - upgrade the toolkit dependency instead.
References