Pluggable Widgets and Entities...

1
According to the latest documentation (https://docs.mendix.com/apidocs-mxsdk/apidocs/property-types-pluggable-widgets), it appears you can’t specify an entity as a property of a pluggable widget. In this case, how can you do something like the following? private async getSomeData() { mx.data.create({ "entity": "dataSearch", // <--- HOW DO YOU create this entity if you can't pass it as a widget property?? "callback": async (searchEntity: any) => { searchEntity.set("startDate", new Date()); searchEntity.set("endDate", new Date()); await mx.data.action({ "params": { "applyto": "selection", "guids": [searchEntity.getGuid()], "actionname": "mySearchMicroflow" }, "callback": (results: any) => { // process the results here... } }); } }); } If it’s not supported now, how soon will it be? Thanks,
asked
0 answers