optimajet / WorkflowEngine.NET

WorkflowEngine.NET - component that adds workflow in your application. It can be fully integrated into your application, or be in the form of a specific service (such as a web service).
https://workflowengine.io
870 stars 246 forks source link

Customize Menu (Activities and Templates) of WorkflowEngine #212

Open naourez-zouaoui opened 3 months ago

naourez-zouaoui commented 3 months ago

Hello, I was wondering how to remove some Activities and Template for the existing one the default menu as you can see in below picture. image

image

optimajet commented 3 months ago

@naourez-zouaoui There are simple steps to do this:

  1. Copy existing Designer templates from https://github.com/optimajet/WorkflowEngine.NET/tree/master/Designer/templates to your folder.
  2. Set the Designer templatefolder property - it should point to the folder with your templates from step 1 (see example in this guide - https://workflowengine.io/documentation/react-integration-from-scratch#adding-designer-component).
  3. Fix the elements.html template (https://github.com/optimajet/WorkflowEngine.NET/blob/master/Designer/templates/elements.html#L7, https://github.com/optimajet/WorkflowEngine.NET/blob/master/Designer/templates/elements.html#L24).

By changing the designer templates you can almost completely change the appearance of the product.