Skip to content

Document embedded client public Beta#11204

Open
WimJongeneel wants to merge 20 commits into
mendix:developmentfrom
WimJongeneel:docs/embedding-the-client
Open

Document embedded client public Beta#11204
WimJongeneel wants to merge 20 commits into
mendix:developmentfrom
WimJongeneel:docs/embedding-the-client

Conversation

@WimJongeneel

@WimJongeneel WimJongeneel commented May 18, 2026

Copy link
Copy Markdown
Contributor
  • New public Beta feature for 11.12
  • Needs R&D review

Comment thread content/en/docs/refguide/runtime/mendix-client/embedding-the-client.md Outdated
@WimJongeneel WimJongeneel force-pushed the docs/embedding-the-client branch from e8fc6fc to 5e4dc15 Compare June 12, 2026 09:22
Comment thread content/en/docs/refguide/runtime/mendix-client/embedding-the-client.md Outdated
@WimJongeneel WimJongeneel changed the title Draft: Document embedded client public Beta Document embedded client public Beta Jun 17, 2026
@WimJongeneel

Copy link
Copy Markdown
Contributor Author

@MarkvanMents this one is ready to be reviewed.

@MarkvanMents

Copy link
Copy Markdown
Collaborator

@MarkvanMents this one is ready to be reviewed.

Thanks - I'll pick it up tomorrow.

@jdiehl jdiehl left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great job on the docs, very thorough and understandable. I added some minor comments


The Embedded profile lets you use a Mendix web app as a component inside another web application. The host application loads the embedded client and owns browser-level navigation, while the Mendix app renders and navigates inside its mounted region.

The Embedded profile defines a default home page and can also define an fallbacl page. When the configured home page expects page parameters, the host application can pass them through the `parameters` object in `render(...)`. For more information, see [Embedding the Client](/refguide/mendix-client/embedding-the-client/).

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Typo: fallbacl -> fallback

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.


## Introduction

The embedded client lets you use a Mendix web app as a component inside another web application, without using the standard Mendix shell page. This makes it easier to add Mendix capabilities to broader digital experiences, support micro-frontend architectures, and integrate Mendix seamlessly with existing portals, products, or custom frontends. In this setup, the host application owns the surrounding page and browser-level experience, while the Mendix app owns the region where it is mounted.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove "without using the standard Mendix shell page"

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

* Passes page parameters to the embedded home page
* Calls `render(...)` with the container element
* Returns the unmount function from the embedded client

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you make your examples repository public and add a link here?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, I've put it on the Mendix GitHub and added a new section linking to it: https://github.com/mendix/embedded-mendix-demo-apps

An embedded app does not react to changes in the browser address bar or to the browser's back and forward buttons. This is because the embedded app runs as a component inside the host app, and the host app should control browser navigation.

The embedded Mendix app can still navigate internally. For example, it can open other pages by using [Show Page](/refguide/show-page/) actions or buttons that open a page.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Explain what happens when the browser is refreshed - I am assuming the homepage is shown?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, that is correct


### Optional Parameters
Omitting a parameter that is marked as optional from the `parameters` object will result in the fallback page being shown instead of the default value being passed.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you add that cross-site cookies must be enabled by the browser (if this is indeed the case)?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, that depends on the setup, I've added a new section documenting it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants