Hi Rakesh
The props what you are using is old dojo one's. In new pluggable widget you need to use datasource instead entities
ex:
<property key="files" type="datasource" isList="true" required="true">
<caption>File association</caption>
<description>Reference set from context to FileDocument</description>
</property>
I hope this helps
Hi,
The error you are encountering is expected behavior when developing Pluggable Widgets (pluginWidget="true").
The key issue is this:
Pluggable widgets do not support EntityConstraint, PathType, or certain legacy XML property configurations that were previously available in custom Dojo-based widgets.
You are receiving errors such as:
Entity/EntityConstraint properties are not supported by pluggable widgetsIsPath/PathType attributes are not supported by pluggable widgetsThis happens because:
Pluggable widgets use the new React-based widget architecture, which has a strictly defined property schema. The older XML constructs used in Dojo widgets are no longer supported.
Specifically:
EntityConstraint is not supportedPathType is not supportedIsPath="true" is not supportedThese properties belong to the old custom widget model and are incompatible with the pluggable widget framework.
widget.xml schemaattributeassociationdatasourceexpressionobjectIf you need:
Use:
<property key="fileEntity" type="entity" required="true" />
Use:
<property key="fileAttribute" type="attribute">
<attributeTypes>
<attributeType name="String" />
</attributeTypes>
</property>
Use:
<property key="association" type="association" />
Do not include:
EntityConstraintIsPathPathTypeFiltering must be handled in the datasource or in the page configuration — not in widget XML.
Since EntityConstraint is not supported:
Use one of these approaches:
type="datasource").Pluggable widgets are intentionally designed to be UI components, not data-filtering engines.
For pluggable widgets:
The errors occur because EntityConstraint, PathType, and related attributes are not supported in Pluggable Widgets (pluginWidget="true").
You must redesign the widget XML using supported property types (entity, attribute, association, datasource) and move any filtering logic outside the widget definition.
This behavior is expected and aligns with the Pluggable Widgets architecture introduced in Mendix 8+ and enforced in Mendix 9.