Teamcenter Connector module for Mendix helps in integrating and consuming services offered by Teamcenter from Mendix Applications. All the services supported by Teamcenter SOA specification can be performed using the Connector. Let’s explore how we can import the Connector module and configure it and execute service on Teamcenter side from our Mendix Application.
Mendix Teamcenter Integration – Part 1
In order to configure the Teamcenter connector to run properly in the Mendix app, there are already inbuilt microflows and pages created as part of the Teamcenter Connector module. We need to perform the following steps so the microflows are executed in order and relevant pages are shown.
Open the Navigation Settings under the Project menu and update the Default Home Page and Home Menu item in the Navbar to execute the AdminLogin Microflow from the Tc Connector module.
Run the project locally and we should the below Page which is shown as part of the AdminLogin Microflow.
Click the Teamcenter Configurations Tile in the above screen and Click New to create a new configuration with endpoint details.
- Enter a name for the configuration.
- Enter the Teamcenter Host Endpoint Address
http://<teamcenter Instance IP>:<PORT>/tc
- Enter the FMS URL as below
http://<teamcenter Instance IP>:<PORT>
In order to enable SSO authentication, we first need to add SSO_RegisterRequestHandlers to our Mendix Runtime startup microflow as in the below screen.
- We need to provide SSO Login Server URL in the below format.
- We need to provide SSO Identity Server URL in below format
- Teamcenter Application ID
- Mendix Application ID
We have configured all the necessary steps to connect to Teamcenter and if we click login tile on the homepage. It should now take us to Teamcenter Login Page where we need to enter the Username and Password which will establish a connection to the Teamcenter Instance and also save the Username and Password in the session so it can be used to communicate while performing or invoking any service from the Mendix Application.