Pass complex objects to Pluggable Widgets - Mendix Forum

Pass complex objects to Pluggable Widgets

2

I would like to pass complex objects to a pluggable widget. These could be:

- Entities

- Lists (of entities, attributes or primitives)

 

Currently my only choice for passing entities is to either:

- Pass each entity attribute individually

- Pass the entity GUID and use the mx client within componentDidMount/componentDidUpdate (or useEffect hook)

 

Similarly for lists, I can only really use the mx client to fetch the data explicitly within the widget.

 

 

asked
0 answers