Custom Menu Provider / Replace Menu

Hi everyone, I tried following the approach laid out in this forum post. Unfortunately, it does not seem to work. Just for testing I changed the label for Intermediate Throw Event to Intermediate Throw Event Test Edit, but when I open the replace-Menu on start, this change is not reflected.

Can anyone see where I went wrong?


Foud the solution: Instead of importing the provider directly, I added an index.js. Important: The __depends__ line is necessary.

import ReplaceMenuProvider from "./ReplaceMenuProvider";

export default {
  __depends__: ["popupMenu", "bpmnReplace"],
  __init__: ["replaceMenuProvider"],
  replaceMenuProvider: ["type", ReplaceMenuProvider]

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.