Build Map in custom enricher

1 view
Skip to first unread message

Ajay Babu

unread,
Dec 26, 2025, 5:54:28 AM (4 days ago) Dec 26
to Arkadiusz Burdach, Nussknacker
Hi Arkadiusz,

Good day!

I have created a custom enricher,

class OnlineTriggerEnricher extends EagerService
    with TimeMeasuringService
    with SingleInputDynamicComponent[ServiceInvoker]
    with LazyLogging {}

where I want to create a Parameter as a map in UI similar to Fields in variable-record.

image.png

with help of + and - I can add/remove the entries in map. If possible please assist.

Thanks & Regards
Ajay Babu Maguluri.

Virus-free.www.avg.com

Ajay Babu

unread,
Dec 28, 2025, 2:29:23 PM (2 days ago) Dec 28
to Arkadiusz Burdach, Nussknacker
Hi Arkadiusz,

Kindly update.

Thanks & Regards
Ajay Babu Maguluri.


Virus-free.www.avg.com

Arkadiusz Burdach

unread,
Dec 29, 2025, 7:59:14 AM (21 hours ago) Dec 29
to Ajay Babu, Nussknacker
Hi Ajay.

The abstraction that is responsible for providing values by a user for parameters is called "editors". You can find all possible editors by checking all implementations of ParameterEditor trait.
Unfortunately, the variable-record component is a one of built-in components with hard-coded editor for fields parameter. You can't use this editor in a custom component, it is reserved for this case.
In next Nussknacker version, will be added some more editors: MultiSelectEditor, JsonParameterEditor, JsonTemplateParameterEditor and one editor (BoolParameterEditor) will have a new graphical representation as a switch.
In near future we have no plan to make this kind of editor available for custom components.

Best regards,
Arek
--
You received this message because you are subscribed to the Google Groups "Nussknacker" group.
To unsubscribe from this group and stop receiving emails from it, send an email to nussknacker...@googlegroups.com.
To view this discussion, visit https://groups.google.com/d/msgid/nussknacker/CABRSuP9NU952gSC5RiSXgwkLNbGDk3mn2Rt4uA5sb0MO99N8%3DA%40mail.gmail.com.

Reply all
Reply to author
Forward
0 new messages