# Adding custom groups and fields in dmn-js properties panel

**URL:** <https://forum.bpmn.io/t/adding-custom-groups-and-fields-in-dmn-js-properties-panel/14990>\
**Category:** Developers\
**Created:** [August 13, 2025, 11:13am UTC](https://forum.bpmn.io/t/adding-custom-groups-and-fields-in-dmn-js-properties-panel/14990 "2025-08-13T11:13:06Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![julia-yh-kim](https://forum.bpmn.io/user_avatar/forum.bpmn.io/julia-yh-kim/32/6856_2.png) [@julia-yh-kim](https://forum.bpmn.io/u/julia-yh-kim)\
**Post date:** [August 13, 2025, 11:13am UTC](https://forum.bpmn.io/t/adding-custom-groups-and-fields-in-dmn-js-properties-panel/14990/1 "2025-08-13T11:13:06Z")

</div>

Continuing the discussion on [Customizing dmn js properties panel](https://forum.bpmn.io/t/customizing-dmn-js-properties-panel/13556)

I’ve tried to set this up myself on my dmn modeler using the [examples included in the bpmn-js-examples](https://github.com/bpmn-io/bpmn-js-examples/tree/main/properties-panel-extension) for creating a custom group in the properties panel.  
My setup for this extension is almost identical to that of the bpmn-js-example except for repointing the imports and methods being called to be from dmn-js and the element types for this change to be applied to to be “dmn:Inputdata”.

The code compiles and doesn’t throw any errors but the new custom group doesn’t get created in the properties panel and I can see that the custom provider I’ve created isn’t being called when i open or create new inputs in the model.

Can someone please clarify if the properties panel for dmn-js should be customizable like the one for bpmn-js? Are there any other changes that would likely need to be made in order to get this example working?

Thanks

---

<div class="post-metadata">

**Author:** ![jarekdanielak](https://forum.bpmn.io/user_avatar/forum.bpmn.io/jarekdanielak/32/5522_2.png) [@jarekdanielak](https://forum.bpmn.io/u/jarekdanielak)\
**Post date:** [August 27, 2025, 8:38am UTC](https://forum.bpmn.io/t/adding-custom-groups-and-fields-in-dmn-js-properties-panel/14990/2 "2025-08-27T08:38:24Z")

</div>

Could you share a [CodeSandbox](https://codesandbox.io/) with the minimal code to reproduce what you’re trying to do?

---

<div class="post-metadata">

**Author:** ![chenhaoyu1122](https://forum.bpmn.io/user_avatar/forum.bpmn.io/chenhaoyu1122/32/6892_2.png) [@chenhaoyu1122](https://forum.bpmn.io/u/chenhaoyu1122)\
**Post date:** [September 16, 2025, 12:01pm UTC](https://forum.bpmn.io/t/adding-custom-groups-and-fields-in-dmn-js-properties-panel/14990/3 "2025-09-16T12:01:53Z")

</div>

![image](https://forum.bpmn.io/uploads/default/original/2X/1/12948db2f6cd8f1a2fc04fb5f88d4f4cabff04da.png)

If I want to add other types besides Decision Table and Literal Expression to this change type, is that possible?

---

<div class="post-metadata">

**Author:** ![barmac](https://forum.bpmn.io/user_avatar/forum.bpmn.io/barmac/32/974_2.png) [@barmac](https://forum.bpmn.io/u/barmac)\
**Post date:** [September 16, 2025, 12:02pm UTC](https://forum.bpmn.io/t/adding-custom-groups-and-fields-in-dmn-js-properties-panel/14990/4 "2025-09-16T12:02:48Z")

</div>

@chenhaoyu1122 Please open a new thread instead of replying in an irrelevant one.

---

<div class="post-metadata">

**Author:** ![nikku](https://forum.bpmn.io/user_avatar/forum.bpmn.io/nikku/32/5130_2.png) [@nikku](https://forum.bpmn.io/u/nikku)\
**Post date:** [October 13, 2025, 1:32pm UTC](https://forum.bpmn.io/t/adding-custom-groups-and-fields-in-dmn-js-properties-panel/14990/5 "2025-10-13T13:32:51Z")

</div>

@julia-yh-kim we’ll soon publish an example that shows how a properties panel extension for dmn-js can be created. If you want to take a sneak peek, you find it [here](https://github.com/bpmn-io/dmn-js-examples/pull/34).

Different from bpmn-js you have to ensure that the properties panel extension is registered for the correct DMN editor view, mind the `drd` in the following example:

```javascript
const dmnModeler = new DmnModeler({
  container: '#canvas',
  drd: {
    propertiesPanel: {
      parent: '#properties-panel-parent'
    },
    additionalModules: [
      DmnPropertiesPanelModule,
      DmnPropertiesProviderModule,
      magicPropertiesProviderModule,
      changedLoggerModule
    ]
  },
  moddleExtensions: {
    magic: magicModdleDescriptor
  }
});

```

---

<div class="post-metadata">

**Author:** ![system](https://forum.bpmn.io/uploads/default/original/2X/b/b534893973385c2d302b38572464112e4adae002.png) [@system](https://forum.bpmn.io/u/system)\
**Post date:** [October 20, 2025, 1:33pm UTC](https://forum.bpmn.io/t/adding-custom-groups-and-fields-in-dmn-js-properties-panel/14990/6 "2025-10-20T13:33:02Z")

</div>

Closed on October 20, 2025, 1:33pm UTC

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