How to create and build a Mendix extension from scratch?

0
Hi everyone,I am currently working on creating an extension in Mendix, but I am facing some confusion regarding the overall process.I have experience in building custom widgets, so I am familiar with widget development. However, I am not clear on how to properly create and structure a Mendix extension.I would like to understand:How to create a Mendix extension from scratchWhat is the recommended project structure for an extensionThe steps involved in building and packaging the extensionHow to integrate and use the extension within a Mendix applicationIf anyone has experience with this or can share guidance, documentation, or examples, it would be very helpful.Thank you in advance.
asked
1 answers
0

In Mendix, an extension is more like a Studio Pro plugin than a widget. You typically build it using either the C# Extensibility API or the Web Extensibility API, depending on whether you want deeper IDE integration or a web-based UI.


The basic flow is simple: create a separate extension project, implement an extension point (like a menu or panel), build it, and copy the output into your app’s /extensions folder. After reopening Studio Pro, the extension becomes available (for example, in the menu or as a panel).


Project structure is not strict, but usually:

  • Separate extension project (C# or web)
  • Build output → copied into /extensions/your-extension-name
  • App loads it automatically on startup


Unlike widgets, you don’t package it as .mpk. It runs directly inside Studio Pro.



Useful documentation


Short summary: Create project → implement extension → build → copy to /extensions → reopen Studio Pro.


If this resolves your issue, you can mark it as accepted.


answered