mendix

How to import a widget package in Mendix?


I want to add Microflow Timer in my application. When I click download button, widget was not placed in my app project structure as it was mentioned in the official documentation here.. Then I paced that in widget folder of my app by following this answer.

This is where I have placed my widget.

enter image description here

still its not listed under add-on widget when click add widget in data-view. Here are screen-shots.

enter image description here

Select widget Screenshot.

enter image description here


Solution

  • You need to press F4 in the Modeler - it will synchronize the widgets folder with your Model. Then, the widget will be available.

    Synchronize Project Directory

    If necessary, this action creates folders inside the project directory (resources, widgets, theme, etc.). It also reads the widget packages that are currently inside the widgets folders. For example, if you add widgets to the widgets folder, you needs to synchronize the project directory for them to appear in the form toolbox.

    (source)