How can I use single objects in widgets properties?
I’m having a widget with a property like this: And as you see in the xml file, I have to get an object as a List because I couldn’t find a way to directly use a single object. I do that by making use of a microflow. What can I do to get the property of the widget but as a single object?
As per the pluggable widgets documentation by Mendix, the datasource type has to be of type list:
Also, if you change the type of object, it would require a change in the logic already built within the widget to ensure that it works as expected. Though, looking at the doc it does not seem possible for pluggable widgets.