Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

MDL by Example

This part presents complete, self-contained MDL examples that show how the language comes together for real use cases. Each example is ready to run against a Mendix project.

Where Part III covers MDL syntax one statement at a time, these examples show full features built end to end – domain model, business logic, pages, and security working together.

Examples

ExampleWhat It Shows
CRM ModuleFull CRUD feature: entities with documented attributes, associations, validation microflow, overview and edit pages, security
REST IntegrationCall external APIs from microflows: GET/POST, headers, authentication, error handling, JSON responses
Data Import PipelineConnect to an external database, explore schema, import data with association linking, generate connectors
Master-Detail PageGallery with selection binding, detail form, save/cancel actions
Modifying Existing PagesALTER PAGE to add fields, change buttons, replace sections, drop widgets
Validation PatternTwo-microflow validation with field-level feedback
Role-Based SecurityModule roles, user roles, entity access with XPath row-level constraints, demo users
View EntitiesOQL-backed aggregation with JOIN, filtered retrieval in microflows