This repository contains Active Workspace kits that provide the MendixEmbedded component for embedding a Mendix application inside Teamcenter.
Three kits are available:
mx-in-tc- Default kitmx-in-tc-context- Passes the selected item's UID to the Mendix applicationmx-in-tc-no-auth- Skips authentication; for development use only
Choose the kit that best matches your use case and use only one variant at a time. Each kit is intended as a starting point and can be customized for your integration.
- Clone or download this repository.
- Copy the desired kit into the Active Workspace repository of Teamcenter.
- Rebuild Active Workspace.
For full setup instructions, see the Mendix Inside Teamcenter documentation.
Add the embedded Mendix application to a Teamcenter object by adding the following to the XRT using the XRT editor:
<htmlPanel
declarativeKey="MendixEmbedded"
context="https://mx-in-tc-endpoint.com/"
></htmlPanel>Set context to the endpoint of the Mendix application.
Add the component to PLM Home by adding it to the cards in layoutsViewModel on the home screen:
"Mendix": {
"title": "Mendix",
"view": "MendixEmbedded",
"anchor": "",
"props": {
"subPanelContext": {
"declarativeKeyContext": "https://mx-in-tc-endpoint.com/"
}
}
}Set declarativeKeyContext to the endpoint of the Mendix application.
Once added, the card can be placed in the layout handler grid.