Create Empty Custom Widget - Mendix Forum

Create Empty Custom Widget


I want to create a custom widget which will have a button and html canvas container.

I tried using AppStoreWidgetBoilerplate but it get default color and message strings. Please suggest something else.

2 answers

Remove the background color and the message string from the interface.xml file


Delete this part


        <property key="backgroundColor" type="attribute">
            <caption>Color attribute</caption>
            <description>The background color of the widget.</description>
                <attributeType name="String" />



Dear Omkar,

If you are interested in building widgets, please also have a look at the new Mendix 8 Pluggable framework. Though the API is a is not fully completed,  and does not offer the same capabilities as the dojo widget client API, but you can take leverage of modern TypeScript and React.

Cheers, Andries